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