owl:Ontology
Element information
Namespace: http://www.w3.org/2002/07/owl#
Schema document: owl2-xml.xsd
Type: owl:Ontology
Properties: Global, Qualified
Content
- Sequence [1..1]
- owl:Prefix [0..*]
- owl:Import [0..*]
- owl:Annotation [0..*]
- Choice [0..*]
- owl:Declaration
- owl:SubObjectPropertyOf
- owl:EquivalentObjectProperties
- owl:DisjointObjectProperties
- owl:InverseObjectProperties
- owl:ObjectPropertyDomain
- owl:ObjectPropertyRange
- owl:FunctionalObjectProperty
- owl:InverseFunctionalObjectProperty
- owl:ReflexiveObjectProperty
- owl:IrreflexiveObjectProperty
- owl:SymmetricObjectProperty
- owl:AsymmetricObjectProperty
- owl:TransitiveObjectProperty
- owl:DatatypeDefinition
- owl:HasKey
from group owl:ObjectPropertyAxiomfrom group owl:DataPropertyAxiomfrom group owl:Assertion
from group owl:ontologyAnnotationsfrom group owl:Axiom
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
ontologyIRI | [0..1] | xsd:anyURI | ||
versionIRI | [0..1] | xsd:anyURI | ||
xml:base | [0..1] | xsd:anyURI | denotes an attribute whose value provides a URI to be used as the base for interpreting any relative URIs in the scope of the element on which it appears; its value is inherited. This name is reserved by virtue of its definition in the XML Base specification. | from group xml:specialAttrs |
xml:lang | [0..1] | Anonymous | denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. | from group xml:specialAttrs |
xml:space | [0..1] | Anonymous | denotes an attribute whose value is a keyword indicating what whitespace processing discipline is intended for the content of the element; its value is inherited. | from group xml:specialAttrs |
xml:id | [0..1] | xsd:ID | denotes an attribute whose value should be interpreted as if declared to be of type ID. This name is reserved by virtue of its definition in the xml:id specification. | from group xml:specialAttrs |
Identity constraints
Type | Name | Selector | Field(s) |
---|---|---|---|
unique | prefix | owl:Prefix | @name |
Sample instance
<owl:Ontology> <owl:Prefix name="string" IRI="http://www.example.com/"/> <owl:Import>http://www.example.com/</owl:Import> <owl:Annotation> <owl:Annotation> <owl:Annotation>... </owl:Annotation> <owl:AnnotationProperty IRI="http://www.example.com/"/> <owl:IRI>http://www.example.com/</owl:IRI> </owl:Annotation> <owl:AnnotationProperty IRI="http://www.example.com/"/> <owl:IRI>http://www.example.com/</owl:IRI> </owl:Annotation> <owl:Declaration> <owl:Annotation> <owl:Annotation>... </owl:Annotation> <owl:AnnotationProperty IRI="http://www.example.com/"/> <owl:IRI>http://www.example.com/</owl:IRI> </owl:Annotation> <owl:Class IRI="http://www.example.com/"/> </owl:Declaration> </owl:Ontology>