Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible future examples #7

Open
12 tasks
lschmelzeisen opened this issue Dec 5, 2020 · 3 comments
Open
12 tasks

Possible future examples #7

lschmelzeisen opened this issue Dec 5, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lschmelzeisen
Copy link
Member

lschmelzeisen commented Dec 5, 2020

The goal of this issue is to serve as an overview of possible future examples or calculations that we could include in this repository or in the appendix of the extended paper.

I created this list while reading through the current draft for the ACM CSUR submission, and it is structured after those sections. For sections that do not appear in this list, I feel that they are already fully covered, or that adding something would likely be out of scope for the paper. But, feel free to comment with more suggestions!

4.1.1 Graph Algorithms

  • Scripts / formulas for...
    • ... calculating node and edge centrality with different metrics (degree, betweenness, closenss, Eigenvector, PageRank, HITS, Katz, etc.)
    • ... detecting communities with different algorithms (minimum-cut algorithm, label propagation, Louvain modularity, etc.)
    • ... perform connectivity analysis with multiple techniques (graph density, k-connectivity, strongly connected components, weakly connected componentsm, spanning tree, minimum cuts, etc.)
    • ... calculate node similarity with different metrics (structural equivalence, random walks, diffusion kernels, etc.)
    • ... calculate graph summaries (e.g., via quotient graphs)

4.1.2 Graph Processing Frameworks

  • Step-by-step calculation of PageRank values according to figure 17
  • Implementation of the PageRank example in at least one of the mentioned graph parallel frameworks (Apache Spark (GraphX), GraphLab, Pregel, Signal-Collect, Shark)

4.2 Knowledge Graph Embeddings

  • Full one hot embedding for one of the example graphs (figure 1, figure 15, or figure 18 (a))

4.2.1 Translational models

  • Code for training a TransE embedding for one of the examples graphs using some framework (e.g., PyKeen or OpenKE)
  • Actual trained embedding of figure 18 (a) together with visualization of projection that looks somewhat similar to figure 18 (b) and (c)

4.2.2 Tensor decomposition models

  • Toy calculation that decomposes a given matrix with Chilean city temperatures per month into 2 (or more) vectors
@lschmelzeisen lschmelzeisen added enhancement New feature or request help wanted Extra attention is needed labels Dec 5, 2020
@aidhog
Copy link
Contributor

aidhog commented Dec 5, 2020

Would indeed be nice to have these examples.

Regarding 4.1.2, note that we link to such examples on the main page https://github.com/knowledge-graphs-tutorial/examples for Giraph, GraphX and Signal/Collect. Not sure it makes sense to import those same examples into this project.

@aidhog
Copy link
Contributor

aidhog commented Dec 5, 2020

Just to add, what would be really fantastic would be Jupyter notebooks for Section 4.

@lschmelzeisen
Copy link
Member Author

Regarding 4.1.2, note that we link to such examples on the main page https://github.com/knowledge-graphs-tutorial/examples for Giraph, GraphX and Signal/Collect. Not sure it makes sense to import those same examples into this project.

Yes, I think we have enough notes to make it possible to figure out how to do PageRank. Still, I feel that for beginners there would be value in providing short implementations for one of the examples graphs over just linking to API references. Of course, something like this comes with the added bloat of specifying dependencies, how to build, etc. Else, I probably would have already done it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants