good morning; from the back of my mind, “aksw” popped up and, in fact, they have at least one link to their work in this area:
aksw.org/Projects/AutoSPARQL it was the top link in a google search, but google claims there appear to be numerous others. best regards, from berlin, > On 2015-04-22, at 09:22, Amal Sultan <amalsultan....@cas.edu.om> wrote: > > 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 --- james anderson | ja...@dydra.com | http://dydra.com