protege - OWL, adding a property to all instances of a class -


i'm looking way add object property instances of given class.

example problem:

let's i'd define 3 classes. religious_person supreme_being christian subclass of religious_person.

now i'd have object property "devotes" has domain of religous_person , range of supreme_being.

i have 3 instances of christian: marck, bob , cathy. have 1 instance of supreme_being: god.

now i'd state marck devotes god, bob devotes god, , cathy devotes god. seems tedious every instance, i'd express each instance of class christian devotes god default. ofcourse might confusing example might seem i'd want each , every religious_person devote 1 supreme_being, not case.

example:

let's jackandjillian religious_person devotes both jack , jill. i'd each instance of jackandjillian devote both jack , jill (whom both instances of supreme_being).

it feels me "devotes" should object property of class christian, not possible due classes not having properties.

i'm using protege myself in building ontology if there'd way can express in protege great.

  1. you can use owl:hasvalue in subclassof axiom (in manchester owl syntax):

    class: christian    subclassof: religious_person , devotes value god 
  2. there no concept of default value in owl. inference in owl monotonic, thus, cannot remove statement adding other statements.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -