Source code

Download source archive ↓

src/rdflib/namespace/_OWL.py

1from rdflib.namespace import DefinedNamespace, Namespace
2from rdflib.term import URIRef
3
4
5class OWL(DefinedNamespace):
6    """
7    The OWL 2 Schema vocabulary (OWL 2)
8
9    This ontology partially describes the built-in classes and    properties that together form the basis of
10    the RDF/XML syntax of OWL 2.    The content of this ontology is based on Tables 6.1 and 6.2    in Section 6.4
11    of the OWL 2 RDF-Based Semantics specification,    available at http://www.w3.org/TR/owl2-rdf-based-
12    semantics/.    Please note that those tables do not include the different annotations    (labels, comments and
13    rdfs:isDefinedBy links) used in this file.    Also note that the descriptions provided in this ontology do not
14    provide a complete and correct formal description of either the syntax    or the semantics of the introduced
15    terms (please see the OWL 2    recommendations for the complete and normative specifications).    Furthermore,
16    the information provided by this ontology may be    misleading if not used with care. This ontology SHOULD NOT
17    be imported    into OWL ontologies. Importing this file into an OWL 2 DL ontology    will cause it to become
18    an OWL 2 Full ontology and may have other,    unexpected, consequences.
19
20    Generated from: http://www.w3.org/2002/07/owl#
21    Date: 2020-05-26 14:20:03.193795
22
23    """
24
25    _fail = True
26
27    # http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
28    allValuesFrom: URIRef  # The property that determines the class that a universal property restriction refers to.
29    annotatedProperty: URIRef  # The property that determines the predicate of an annotated axiom or annotated annotation.
30    annotatedSource: URIRef  # The property that determines the subject of an annotated axiom or annotated annotation.
31    annotatedTarget: URIRef  # The property that determines the object of an annotated axiom or annotated annotation.
32    assertionProperty: URIRef  # The property that determines the predicate of a negative property assertion.
33    cardinality: URIRef  # The property that determines the cardinality of an exact cardinality restriction.
34    complementOf: URIRef  # The property that determines that a given class is the complement of another class.
35    datatypeComplementOf: URIRef  # The property that determines that a given data range is the complement of another data range with respect to the data domain.
36    differentFrom: (
37        URIRef  # The property that determines that two given individuals are different.
38    )
39    disjointUnionOf: URIRef  # The property that determines that a given class is equivalent to the disjoint union of a collection of other classes.
40    disjointWith: (
41        URIRef  # The property that determines that two given classes are disjoint.
42    )
43    distinctMembers: URIRef  # The property that determines the collection of pairwise different individuals in a owl:AllDifferent axiom.
44    equivalentClass: URIRef  # The property that determines that two given classes are equivalent, and that is used to specify datatype definitions.
45    equivalentProperty: (
46        URIRef  # The property that determines that two given properties are equivalent.
47    )
48    hasKey: URIRef  # The property that determines the collection of properties that jointly build a key.
49    hasSelf: URIRef  # The property that determines the property that a self restriction refers to.
50    hasValue: URIRef  # The property that determines the individual that a has-value restriction refers to.
51    intersectionOf: URIRef  # The property that determines the collection of classes or data ranges that build an intersection.
52    inverseOf: (
53        URIRef  # The property that determines that two given properties are inverse.
54    )
55    maxCardinality: URIRef  # The property that determines the cardinality of a maximum cardinality restriction.
56    maxQualifiedCardinality: URIRef  # The property that determines the cardinality of a maximum qualified cardinality restriction.
57    members: URIRef  # The property that determines the collection of members in either a owl:AllDifferent, owl:AllDisjointClasses or owl:AllDisjointProperties axiom.
58    minCardinality: URIRef  # The property that determines the cardinality of a minimum cardinality restriction.
59    minQualifiedCardinality: URIRef  # The property that determines the cardinality of a minimum qualified cardinality restriction.
60    onClass: URIRef  # The property that determines the class that a qualified object cardinality restriction refers to.
61    onDataRange: URIRef  # The property that determines the data range that a qualified data cardinality restriction refers to.
62    onDatatype: URIRef  # The property that determines the datatype that a datatype restriction refers to.
63    onProperties: URIRef  # The property that determines the n-tuple of properties that a property restriction on an n-ary data range refers to.
64    onProperty: URIRef  # The property that determines the property that a property restriction refers to.
65    oneOf: URIRef  # The property that determines the collection of individuals or data values that build an enumeration.
66    propertyChainAxiom: URIRef  # The property that determines the n-tuple of properties that build a sub property chain of a given property.
67    propertyDisjointWith: (
68        URIRef  # The property that determines that two given properties are disjoint.
69    )
70    qualifiedCardinality: URIRef  # The property that determines the cardinality of an exact qualified cardinality restriction.
71    sameAs: URIRef  # The property that determines that two given individuals are equal.
72    someValuesFrom: URIRef  # The property that determines the class that an existential property restriction refers to.
73    sourceIndividual: URIRef  # The property that determines the subject of a negative property assertion.
74    targetIndividual: URIRef  # The property that determines the object of a negative object property assertion.
75    targetValue: URIRef  # The property that determines the value of a negative data property assertion.
76    unionOf: URIRef  # The property that determines the collection of classes or data ranges that build a union.
77    withRestrictions: URIRef  # The property that determines the collection of facet-value pairs that define a datatype restriction.
78
79    # http://www.w3.org/2000/01/rdf-schema#Class
80    AllDifferent: URIRef  # The class of collections of pairwise different individuals.
81    AllDisjointClasses: URIRef  # The class of collections of pairwise disjoint classes.
82    AllDisjointProperties: (
83        URIRef  # The class of collections of pairwise disjoint properties.
84    )
85    Annotation: URIRef  # The class of annotated annotations for which the RDF serialization consists of an annotated subject, predicate and object.
86    AnnotationProperty: URIRef  # The class of annotation properties.
87    AsymmetricProperty: URIRef  # The class of asymmetric properties.
88    Axiom: URIRef  # The class of annotated axioms for which the RDF serialization consists of an annotated subject, predicate and object.
89    Class: URIRef  # The class of OWL classes.
90    DataRange: URIRef  # The class of OWL data ranges, which are special kinds of datatypes. Note: The use of the IRI owl:DataRange has been deprecated as of OWL 2. The IRI rdfs:Datatype SHOULD be used instead.
91    DatatypeProperty: URIRef  # The class of data properties.
92    DeprecatedClass: URIRef  # The class of deprecated classes.
93    DeprecatedProperty: URIRef  # The class of deprecated properties.
94    FunctionalProperty: URIRef  # The class of functional properties.
95    InverseFunctionalProperty: URIRef  # The class of inverse-functional properties.
96    IrreflexiveProperty: URIRef  # The class of irreflexive properties.
97    NamedIndividual: URIRef  # The class of named individuals.
98    NegativePropertyAssertion: URIRef  # The class of negative property assertions.
99    ObjectProperty: URIRef  # The class of object properties.
100    Ontology: URIRef  # The class of ontologies.
101    OntologyProperty: URIRef  # The class of ontology properties.
102    ReflexiveProperty: URIRef  # The class of reflexive properties.
103    Restriction: URIRef  # The class of property restrictions.
104    SymmetricProperty: URIRef  # The class of symmetric properties.
105    TransitiveProperty: URIRef  # The class of transitive properties.
106
107    # http://www.w3.org/2002/07/owl#AnnotationProperty
108    backwardCompatibleWith: URIRef  # The annotation property that indicates that a given ontology is backward compatible with another ontology.
109    deprecated: URIRef  # The annotation property that indicates that a given entity has been deprecated.
110    incompatibleWith: URIRef  # The annotation property that indicates that a given ontology is incompatible with another ontology.
111    priorVersion: URIRef  # The annotation property that indicates the predecessor ontology of a given ontology.
112    versionInfo: URIRef  # The annotation property that provides version information for an ontology or another OWL construct.
113
114    # http://www.w3.org/2002/07/owl#Class
115    Nothing: URIRef  # This is the empty class.
116    Thing: URIRef  # The class of OWL individuals.
117
118    # http://www.w3.org/2002/07/owl#DatatypeProperty
119    bottomDataProperty: URIRef  # The data property that does not relate any individual to any data value.
120    topDataProperty: (
121        URIRef  # The data property that relates every individual to every data value.
122    )
123
124    # http://www.w3.org/2002/07/owl#ObjectProperty
125    bottomObjectProperty: (
126        URIRef  # The object property that does not relate any two individuals.
127    )
128    topObjectProperty: URIRef  # The object property that relates every two individuals.
129
130    # http://www.w3.org/2002/07/owl#OntologyProperty
131    imports: URIRef  # The property that is used for importing other ontologies into a given ontology.
132    versionIRI: URIRef  # The property that identifies the version IRI of an ontology.
133
134    # http://www.w3.org/2000/01/rdf-schema#Datatype
135    # NOTE: the following two elements don't appear in the OWL RDF documents but are defined in the OWL2 Recommentation
136    # at https://www.w3.org/TR/owl2-syntax/#Datatype_Maps
137    rational: URIRef  # The value space is the set of all rational numbers. The lexical form is numerator '/' denominator, where both are integers.
138    real: URIRef  # The value space is the set of all real numbers. Does not directly provide any lexical forms.
139
140    _NS = Namespace("http://www.w3.org/2002/07/owl#")