Hello All !
I am working on a Semantic Web Project where the user enters text query
like "US president " and I have to generate automatic sparql query based on
user's input text to retrieve results from TDB triple store.
I am confused how to select subject, predicate and object.
Though translating natural language into SPARQL queries is not an easy task
.
Are there any helpful tools in Jena to generate sparql query from English
query.
Example:
SQUALL sentence:
How many person-s are an author of PaperX?
SPARQL translation:
SELECT DISTINCT (COUNT(DISTINCT ?x2) AS ?x1) WHERE {
?x2 a :person .
:PaperX :author ?x2 .
}
Thanks in advance.
Regards,
Amal