Hi all! I am completely new to creating ontologies and protege and had a couple questions. I am using WebProtege found at this link: https://protege.stanford.edu/products.php#web-protege.
-
Say I am defining a class for chess pieces. Could I add an unfilled/null data property rank and file to the class Piece that each instance of a piece would have? (For example, the instance of a pawn on b5 would have rank 5, file b).
-
How could I create complex relationships between classes other than parent/child relationships. To stick with the chess example, a "backward pawn" would be defined as "A pawn P that has at least one friendly pawn B in the adjacent file but that pawn(s) row is greater than than P's row."
My background is in JS and C++ programming and I know how to write the code to do the above but I am a bit lost in doing it in WebProtege.
Thanks for your help!!
Hi all! I am completely new to creating ontologies and protege and had a couple questions. I am using WebProtege found at this link: https://protege.stanford.edu/products.php#web-protege.
Say I am defining a class for chess pieces. Could I add an unfilled/null data property rank and file to the class Piece that each instance of a piece would have? (For example, the instance of a pawn on b5 would have rank 5, file b).
How could I create complex relationships between classes other than parent/child relationships. To stick with the chess example, a "backward pawn" would be defined as "A pawn P that has at least one friendly pawn B in the adjacent file but that pawn(s) row is greater than than P's row."
My background is in JS and C++ programming and I know how to write the code to do the above but I am a bit lost in doing it in WebProtege.
Thanks for your help!!