Skip to content

Uninstantiated data properties and Complex Class Relationships #154

Description

@Nathaniel-Fernandes

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.

  1. 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).

  2. 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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions