SPARQL query

2014-05-15 Thread ameni ameni
Hello, i have a few quetions. First i have this prefix in the query String queryRequest = PREFIX base: +namespace+ + PREFIX rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns# \n + PREFIX rdfs:http://www.w3.org/2000/01/rdf-schema# \n + PREFIX xsd:http://www.w3.org/2001/XMLSchema# \n + and when i

how to put output of sparql query in jtable

2014-05-02 Thread ameni ameni
Hello, I need to know the instructions that allow me to put the result/output of a SPARQL query in a JTable in netbeans. Thanks for help

Re: SPARQL query errosr in executing

2014-04-27 Thread ameni ameni
Good morning, I don't have the line 140 in my java program. 2014-04-27 10:39 GMT+02:00 Andy Seaborne a...@apache.org: On 27/04/14 00:31, ameni ameni wrote: Hello, I created a SPARQL query But when i want to executed , i got this errors. Exception in thread main

Jena API with Jess engine

2014-04-26 Thread ameni ameni
Hello, I'am asking if i can use the Jess engine like a inference engine for executing SWRL rules with the Jena API ans Netbeans? Thanks

SPARQL query errosr in executing

2014-04-26 Thread ameni ameni
Hello, I created a SPARQL query But when i want to executed , i got this errors. Exception in thread main com.hp.hpl.jena.query.QueryParseException: Encountered at line 1, column 140. Was expecting: IRIref ... at com.hp.hpl.jena.sparql.lang.ParserARQ.perform(ParserARQ.java:102) at

Re: SWRL and Jena API

2014-04-23 Thread ameni ameni
Sorry 2014-04-23 9:28 GMT+02:00 Dave Reynolds dave.e.reyno...@gmail.com: On 23/04/14 00:22, ameni ameni wrote: How can i get accesed to the conclusion of SWRL rules from Jena API ? Asking the same question multiple different ways, especially when it has already been answered, is not good

Re: SWRL and Jena API

2014-04-23 Thread ameni ameni
it is possible to use SQWRL from jena api instead of using SPARQL? 2014-04-23 13:40 GMT+02:00 ameni ameni ameni.abdeljao...@gmail.com: Sorry 2014-04-23 9:28 GMT+02:00 Dave Reynolds dave.e.reyno...@gmail.com: On 23/04/14 00:22, ameni ameni wrote: How can i get accesed to the conclusion

SWRL and Jena API

2014-04-22 Thread ameni ameni
How can i get accesed to the conclusion of SWRL rules from Jena API ?

SPARQL and SWRL rules

2014-04-21 Thread ameni ameni
I create an ontology using Protégé 3.4.8 and also i create some SWRL rules. Now i'am using Jena API to manipulate the ontology and i use the reasoner Pellet in order to support this rules. For example, one of my a rule said : person(x) and hasAge (x,y) and Age(y) and greaterThan (y,16) and