Skip to main content

Querying Knowledge Graphs

Querying is a powerful feature in whyhow that allows you to extract insights and information from your knowledge graphs. With the intuitive query builder and support for various query languages, you can ask complex questions and retrieve relevant data from your graphs.

Simple Query

The system can handle more complex queries too:

Complex Query

To use queries:

  1. Navigate to the "Query" tab.
  2. In the query builder, you'll see a canvas where you can construct your query.
  3. Use the natural language bar to type your query, or
  4. Use the available operators and conditions to define the logic of your query.
  5. Click the "Run Query" button to execute the query and view the results.

Including Chunks in Query Results

If you would like to the associated chunks in your summarised answer, make sure to check the "Include Chunks" button. However, be conscious that this could include extraneous information, and therefore the answer could be inaccurate or at risk of being hallucinated.

Query with chunks

Nodes, Triples and Chunks

Within the graph view, you can also specifically navigate through the individual elements, all the way through to the chunks where the triples were extracted from. This provenance also highlights where in the text the extraction happened.

Detailed View