SPARQL Query Generation

2015-04-22 Thread Amal Sultan
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 translati

Re: SPARQL Query Generation

2015-04-22 Thread Milorad Tosic
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:

Re: SPARQL Query Generation

2015-04-22 Thread james anderson
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-

Problem with read/write N-Quads/TriG

2015-04-22 Thread Wojciech Ciesielski
Hi On start sorry for my bad english. I must do small example project for my study with read/write RDF graph from file. With Turtle,N-Triples, RDF/XML i dont have any problem i use: FileManager.get().addLocatorClassLoader(Main.class.getClassLoader()); Model model = null; try

Re: Problem with read/write N-Quads/TriG

2015-04-22 Thread Martynas Jusevičius
Model is for triples. You have to use Dataset for quads. https://jena.apache.org/documentation/javadoc/arq/com/hp/hpl/jena/query/Dataset.html On Wed, Apr 22, 2015 at 9:48 PM, Wojciech Ciesielski wrote: > Hi > On start sorry for my bad english. > I must do small example project for my study with

Re: Problem with read/write N-Quads/TriG

2015-04-22 Thread Andy Seaborne
On 22/04/15 20:55, Martynas Jusevičius wrote: Model is for triples. You have to use Dataset for quads. https://jena.apache.org/documentation/javadoc/arq/com/hp/hpl/jena/query/Dataset.html Yes (you get only the default graph if you attempt to read into a model). Also: RDFDataMgr.loadDataset R

Re: Problem with read/write N-Quads/TriG

2015-04-22 Thread Wojciech Ciesielski
Thx a lot W dniu 2015-04-22 o 22:33, Andy Seaborne pisze: On 22/04/15 20:55, Martynas Jusevičius wrote: Model is for triples. You have to use Dataset for quads. https://jena.apache.org/documentation/javadoc/arq/com/hp/hpl/jena/query/Dataset.html Yes (you get only the default graph if you a

Re: Problem with read/write N-Quads/TriG

2015-04-22 Thread Wojciech Ciesielski
Thx a lot W dniu 2015-04-22 o 21:55, Martynas Jusevičius pisze: Model is for triples. You have to use Dataset for quads. https://jena.apache.org/documentation/javadoc/arq/com/hp/hpl/jena/query/Dataset.html On Wed, Apr 22, 2015 at 9:48 PM, Wojciech Ciesielski wrote: Hi On start sorry for my b

Re: SPARQL Query Generation

2015-04-22 Thread Adrian Walker
Hi Amal et al, The links and online system below are about generating SQL, not SPARQL, but may be useful background. HTH, -- Adrian www.reengineeringllc.com/internet_business_logic_in_a_nutshell.pdf www.reengineeringllc.com/A_Wiki_for_Business_Rules_in_Open_Vocabulary_Executable_English.pdf w

Use Fuseki to load YAGO TTL file

2015-04-22 Thread Weizheng Lu
Hi there, I am a newbie to Jena and Fuseki. Currently I am trying to use Fuseki to load YAGO ttl file into database and want to make some SPARQL queries on the data set. Actually I first tried to use the official converter of YAGO to load all the ttl into Jena. The tool is on this page( http://res