Sparql Endpoint
Sparql Endpoint section allows you to query your RDF graph with SPARQL !
This AI Task is only available if you added as a data source an RDF Graph!
To access this AI task click on AI Tasks and SPARQL Endpoint:
You get to the following interface:
This allows you to query your RDF graph with SPARQL 1.1. This SPARQL endpoint is based on qEndpoint. You can set the timeout of the query in the "Timeout" field. With the prefix button you can add default prefixes:
Moreover you can generate SPARQL queries using natural language. For example using the cocktails dataset from the RDF Graph data source you get:
- text2sparql 1
- text2sparql 2
- text2sparql 3
For the cocktails dataset you need to specify "English" as the language of the dataset at creation time!
Task Settings
If you want to customize your Sparql Endpoint Ai Assistant you can click on
You can customize the way your Ai assistant answers you by :Filling the prompt settings : It will define its personality and you can follow the example provided in the default settings
Adjusting the LLM settings : you can choose the LLM that will power the answers, its creativity level, the answer speed.
Adjusting the Retriver : you can choose the LLM reference level, add synonyms.
Adjusting the Visualization setting : you can choose how to display entities like images, table, list.
- Open Tasks Settings
- Prompt setting
- LLM setting
- Retriever setting
- Visualization setting
Synonyms
In the synonyms settings, you can define groups of synonyms that will be used to retrieve more relevant documents.
Click on + Add synonym group to add a new group of synonyms.
Enter a word in the input field and press Enter or click the + button to add it to the list of synonyms.
You can only add a new group if there are no existing groups, or if the last one has at least one synonym and the input field is empty.
You can delete a group by clicking the
button.
- Synonyms
- First group
- Input filled
- List created
- Add Group