Contents
13.7Knowledge graphs: a business question about public data
In the Ask Bmator menu, beside chat, conversations, and retrieval insights, Knowledge graphs lets you query public knowledge graphs using natural language. Under it in the menu, query templates provide the ready-made patterns used to answer incoming requests.
You can type a business question about public data in your own words, in French or English (such as "French software companies with more than 500 employees founded since 2000", "filiales de Vinci", or "who runs Michelin?"). Today, the public knowledge graph queried is Wikidata.
Bmator processes your text with a single AI call, billed at a small cost to your workspace. It selects an accessible query template that fits—choosing from standard platform templates, your own, or templates shared with you or your workspace, excluding those configured not to be used for your questions. The AI never writes the underlying query code directly and never invents an identifier; it matches names (such as companies, countries, people, or industries) against Wikidata, verifying that each match corresponds to the correct entity type for each blank.
Once matched, the template runs against free public data, applying coverage notes and caching. Wherever Bmator displays a Wikidata identifier, it places the identifier first followed by its label (for example, Q46: Europe, P17: country). If an entity lacks a label in your selected interface languages, an alternative language label is shown, or the raw identifier appears alone if no label exists.
Asking a question
- Navigate to Knowledge graphs.
- In the Your question field, enter your business query in plain English or French.
- Select Ask.
Your question sentence is never transmitted to Wikidata. To review the external requests made during the lookup, expand What was sent to see the exact searches and identifiers that left Bmator.
Reviewing and adjusting template answers
When a matching query template is found, Bmator presents the resulting table alongside configuration panels:
- How Bmator read it displays the chosen template and entity chips for each filled blank (for example, Q1431486: Orange, employees > 500).
- Selecting Change opens the underlying query template with the blanks prefilled, allowing you to alter values and run it again.
- Other readings reveals up to two alternative query templates that could answer the inquiry. Select Use this reading to execute one of them and set it as the question's active answer.
- Selecting Open the query template beside the row count launches the template page with the filled blanks executed, where you can inspect its full query logic.
- If the selected template did not match your intention, choose Not what you asked? Write a query for this to generate a query with AI instead.
Within the results view, you can search terms or identifiers (such as Q46), sort any column, and filter values directly in the browser without querying Wikidata again. Rows can be saved into existing or new workspace datasets, or shared with specific individuals.
Writing queries with AI
When no existing query template fits your question, Bmator reports what it evaluated. You can refine your words, fill in a query template manually, or trigger automated query drafting.
- Select Write a query for this.
- Bmator's AI accesses Wikidata using internal tools to look up classes, properties, and values, and drafts a single SPARQL query. This takes about a minute and costs at most €0.10 from your workspace, stated prior to execution.
- Track the steps as they appear in real time.
Completed queries are flagged with Written by AI — check it before relying on it. This output includes a summary of what was found or omitted, an inspection view under How it was written, and an option to examine the code. Bmator stores the first 100 rows with the question record.
- Select Show all to rerun the written query across the entire result set without using AI.
- Select Save as query template to convert a successful written query into a private draft template. The specific values, kinds of things, numeric limits, and dates in your question become parameter blanks, your original question becomes its initial test case, and a description is generated by AI at a small cost. If an existing accessible template already covers the logic, Bmator opens that template instead.
If the AI fails to complete a query due to tool limits, budget constraints, or endpoint rejections, it explains the cause, details what was discovered, and reveals the last query attempted.
Managing questions and feedback
At the bottom of the section, Your questions lists every inquiry you have submitted, along with its status, row count, and feedback scores. Selecting an item loads its saved state. Choose Ask again on any past record to submit the exact phrasing anew against current Wikidata records.
You can submit feedback on any answer using 1 to 5 stars under Did Bmator understand your question? and Were these results useful?, with the option to include written comments.
Questions that you do not rate remain private to your user account unless explicitly shared. Submitting ratings shares the question, its returned data, and your commentary with Bmator's team to help improve template selection and query generation.