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:



On 13/10/16 10:58, javed khan wrote:
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 ?Research + ?x std:AI_Score ?AI +
greaterThan(?Robotics,?Research)^greaterThan(?Robotics, ?AI) -->
?x std:FavioriteSubject std:Robotics.

std:Robotics will be an instance in my ontology.

Reply via email to