owl:DataProperty

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
rdf:ID xs:NCName required

Used By

Element rdf:RDF

Source

<xs:element name="DataProperty">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="rdfs:comment"/>
      <xs:element minOccurs="0" ref="rdfs:domain"/>
      <xs:element ref="rdfs:range"/>
    </xs:sequence>
    <xs:attribute ref="rdf:ID" use="required"/>
  </xs:complexType>
</xs:element>

Sample

< owl:DataProperty xmlns:owl = "http://www.w3.org/2002/07/owl#" xmlns:rdfs = "http://www.w3.org/2000/01/rdf-schema#" rdf:ID = "author" >

< rdfs:comment>

The schema author.

</ rdfs:comment>

< rdfs:domain rdf:resource = "#Header" />

< rdfs:range rdf:resource = "xsd:string" />

</ owl:DataProperty>