Amal,
That is a very interesting research question. We have given it some initial
thoughts but far from any practical solution. Please keep us posted on your
progress and let us know if you have any published work on that topic either
your own or from other authors.
RegardsMilorad
From: Amal Sultan <[email protected]>
To: [email protected]
Sent: Wednesday, April 22, 2015 9:22 AM
Subject: SPARQL Query Generation
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