rdf - Setting domain and range of a property -
i have 2 classes (i.e., observation , sensor) , object property (i.e., observedby) in ssn ontology.so, required scenario this:
observation class in protege presented as: 
and observedby property presented as: 
now question is, need specify domain , range of observedby property both of these fields empty shown in third picture. but, while looking @ observation class in picture 2, find associated statements "observedby sensor" , "observedby 1 sensor". these statements infer donot need mention domain , range of observedby property. right in case.
you don't have to, depends on how want model knowledge base. cardinality constraint (observedby 1 sensor in figure) looks restriction set on observation class, in:
:observation rdfs:subclassof [ owl:restriction; owl:onproperty :observedby; owl:mincardinality 1; owl:maxcardinality 1 ] setting rdfs domain , range of observedby in essence restrict use of property, may want do, or not.
Comments
Post a Comment