proper way of Jena rules use

2016-10-21 Thread tina sani
Hi What is the proper way to use Jena rules in our application(s) ? (1) Inside code (Eclipse, etc) (2) using some text file and then imports it. In second case, what will be then the order of rules execution?

AW: Fuseki/Tomcat does not start (log4j Loader not found)

2016-10-21 Thread Neubert, Joachim
Thanks - the current snapshot works fine! Cheers, Joachim > -Ursprüngliche Nachricht- > Von: Andy Seaborne [mailto:a...@apache.org] > Gesendet: Donnerstag, 20. Oktober 2016 20:14 > An: users@jena.apache.org > Betreff: Re: Fuseki/Tomcat does not start (log4j Loader not found) > > Hi

Re: Property Paths programmatically

2016-10-21 Thread Nikolaos Beredimas
Yes, recursion makes perfect sense. Now why didn't I think of it? Thanks Andy. On Fri, Oct 21, 2016 at 1:26 PM, Andy Seaborne wrote: > Hi Nikolaos, > > It is possible to call the path evaluator directly, see PathLib. You can > buld paths programmatically using PathFactory.

Re: Fetch value from ontology

2016-10-21 Thread Lorenz B.
That's totally confusing and it's not clear what you're doing. SPARQL? Using the Jena datastructures? "fetch name of student" -> obviously the name of the RDF resource that you assigned to "student" will be returned. In SPARQL , given that you use UNION or VALUES, both will be returned. But

Fetch value from ontology

2016-10-21 Thread kumar rohit
I have student Reg.No and name property. Reg.No Name 1 Rohit 2 Kumar Then, if I use as: if (Reg.No==1) OR Reg.No==2 fetch name of student In this case, which name value will be extracted from the ontology? Rohit, kumar, or both?

Re: Property Paths programmatically

2016-10-21 Thread Andy Seaborne
Hi Nikolaos, It is possible to call the path evaluator directly, see PathLib. You can buld paths programmatically using PathFactory. There is a parser for paths written in algebra syntax SSE.parsePath (print out a few SPARQL queries with paths to get the syntax). If you want to search