sebferre / sparklis

Sparklis is a query builder in natural language that allows people to explore and query SPARQL endpoints with all the power of SPARQL and without any knowledge of SPARQL.
Apache License 2.0
41 stars 10 forks source link

SPARQL to Natural Language #11

Closed firmao closed 1 year ago

firmao commented 2 years ago

First of all, congratulations on your fantastic software called SPARKLIS.

Is there a way to convert a SPARQL query to Natural language using SPARKLIS?

Suggestions/alternative solutions are welcome :)

Thanks in advance, Andre Valdestilhas

sebferre commented 1 year ago

You can use the SPARQL query as a guide when navigating in Sparklis, until you get an equivalent SPARQL query in the YASGUI view. In the configuration panel "Language and labels", set blank the properties for the labels of entities, classes... so that the suggestions are displayed according to their URIs, and hence easily matched with the URIs in your SPARQL query. When you're done with building the query, reset the label configuration to the labelling properties of your dataset. You now get a query is (coarse) natural language in the Sparklis query widget.