Owl:ObjectProperty

From semanticweb.org

Jump to: navigation, search

Defines a new Property.

Example:

<owl:ObjectProperty rdf:ID="hasParent"/>

Contents

[edit] Use

[edit] Derivation

Example:

<owl:ObjectProperty rdf:ID="hasMother">
  <rdfs:subPropertyOf rdf:resource="#hasParent"/>
</owl:ObjectProperty>

[edit] Domain Restriction

Example:

<owl:ObjectProperty rdf:ID="hasBankAccount">
  <rdfs:domain>
    <owl:Class>    
      <owl:unionOf rdf:parseType="Collection">
        <owl:Class rdf:about="#Person"/>
        <owl:Class rdf:about="#Corporation"/>
      </owl:unionOf>
    </owl:Class>    
  </rdfs:domain>
</owl:ObjectProperty>

[edit] See also


Personal tools