README.rst 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. ####################
  2. Graph Exploring Tool
  3. ####################
  4. .. image:: docs/ui.png
  5. :alt: Screenshot of the user interface
  6. Virtual Knowledge Graph exploration tool built for use with a graph based on the FTG+PM concept.
  7. Installation
  8. ------------
  9. If you are on Windows you can download the binary at URL and run it by double-clicking it.
  10. We also provide the option to install the package from a repository. If this is your prefered method please follow along.
  11. ..
  12. .. code-block:: shell
  13. pip install graph-exploring-tool
  14. or
  15. .. code-block:: shell
  16. pip install --index-url https://pip:glpat-m8mNfhxZAUnWvy7rLS1x@git.rys.one/api/v4/projects/264/packages/pypi/simple --no-deps graph-exploring-tool
  17. .. role:: bash(code)
  18. :language: bash
  19. To run the application you can use :bash:`python3 -m graph-exploring-tool`.
  20. For WSL check out: https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
  21. Usage
  22. -----
  23. Interface
  24. ~~~~~~~~~
  25. |query_image| |prefix_image|
  26. |ui_annotated_image|
  27. .. |query_image| image:: docs/query.png
  28. :alt: Screenshot including the query panel of the user interface
  29. :width: 48%
  30. .. |prefix_image| image:: docs/prefix.png
  31. :alt: Screenshot including the prefix panel of the user interface
  32. :width: 48%
  33. .. |ui_annotated_image| image:: docs/ui_annotated.png
  34. :alt: Screenshot including the prefix panel of the user interface
  35. :width: 100%
  36. The Graph Exploring Tool (or GET) is a graphical application which allows you to explore the knowledge graph using SPARQL queries.
  37. We provide templates which allow for quick traversal of compliant knowledge graphs.
  38. The tool separates actions into multiple panels.
  39. 1. The left Query Palette panel **(red)** allows you to load a predefined template. Hovering over the name of the template will provide a tooltip with the description of the action carried out by that template.
  40. 2. The center and main Query Editor panel **(green)** is where the template is shown once it has been chosen. You can change the template itself or use the provided fields **(blue)** to insert references into the template itself.
  41. The reference fields support dragging and dropping.
  42. To perform the query you need to click the Query button.
  43. 3. The small one line panel **(yellow)** show the status. This includes messages whether a query was successful. Any error will also be displayed right here.
  44. 4. The most important panel is the Results panel **(orange)**. Any information returned by the query will be displayed here.
  45. You can drag and drop any of the fields in the result onto the parameters fields in the template.
  46. Workflow
  47. ~~~~~~~~
  48. We propose a simple workflow:
  49. You open up the FTGPM++ (workflow diagram) and look at what is of interest to you.
  50. Let's say you are interested in finding all the individuals (or instances) of a certain type.
  51. You look at the Query Palette panel. You see the first options which is what you need.
  52. Now you click on this (Find Individuals) button. Here you see that you need to specify two parameters.
  53. - We need to know what class the individuals you're looking for belong to and perhaps a relation to another individual.
  54. The example assumes you want to find all Formalisms and their name.
  55. At this point you can execute the query by clicking the Query button.
  56. The list of corresponding individuals will now be visible in the Results panel.
  57. You can now use these results to further query the graph.
  58. Why?
  59. ----
  60. TODO Explain what problem is solved.