Rules

2016-10-13 Thread javed khan
I have Student ontology in which students have three subjects and scores they have in exams. I want to assign students to a property "FavioriteSubject" based on their scores. Is this rule Ok to achieve my goal here? ?x rdf:type std:Student + ?x std:Robotics_Score ?Robotics + ?x std:Research_Score

empty Path OntTools method getShortestPath

2016-10-13 Thread Kerstin Rohm
Dear Jena-Team, we are very happy about the experimental OntTools method “getShortestPath”. It works fine, but up from a specific amount of in-between concepts, the returned path is NULL. We are working with the VDOT-Ontology (http://www.ifomis.org/vdot/vdot_core.owl) . We focused out, that th

Re: Rules

2016-10-13 Thread Andy Seaborne
javed, Try it out on your data and see what happens! Questions are best when they are concrete - show the code, show the data, show what happens, say what you wanted. The stackoverflow advice has more on getting better answers to questions: http://stackoverflow.com/help/mcve Andy

Re: Rules

2016-10-13 Thread Lorenz B.
Javed, can't you try it out and see whether the expected result will be generated? Isn't this the fastest way compared to asking for response on mailing list which might be much slower? And nobody here knows your ontology, thus, we cannot say whether there is something wrong. Obviously, your rule c

Re: sum property values

2016-10-13 Thread Paul Tyson
There have been 2 different techniques mentioned that solve different problems. The SUM aggregate function can be used to reduce a result set as illustrated by the following minimal CSV snippets: BEFORE: ?v1,?v2 "A",1 "A",1 "A",2 "B",3 "B",1 AFTER: ?v1,?v3 "A",4 "B",4 The above results could b