axiom.class_axiom¶
OWL 2 class declaration and class axiom structural elements.
Classes¶
Element |
|
Element |
|
Element |
Module Contents¶
- class axiom.class_axiom.DeclarationClass(/, **data: Any)¶
Bases:
axiom.structural_element.DeclarationElementElement
Declaration( Class( C ) )of the OWL 2 structural specification.Triples:
C rdf:type owl:Class .
- kind: Literal['DeclarationClass'] = 'DeclarationClass'¶
- property rdf_type: rdflib.IdentifiedNode¶
rdf:typeobject for the declaration triple.
- class axiom.class_axiom.SubClassOf(/, **data: Any)¶
Bases:
axiom.structural_element.StructuralElementElement
SubClassOf( CE1 CE2 )of the OWL 2 structural specification.Both operands are RDF node references. If an operand is itself represented by another structural element, that element belongs to a separate partition.
Triples:
CE1 rdfs:subClassOf CE2 .
- kind: Literal['SubClassOf'] = 'SubClassOf'¶
- sub_class_expression: axiom.common.N3Resource¶
- super_class_expression: axiom.common.N3Resource¶
- property name: rdflib.IdentifiedNode¶
type triple.
- Type:
Canonical identifier for this element; SHOULD be the subject of a rdf
- property as_triples: collections.abc.Sequence[axiom.common.Triple]¶
Triples representing this element as RDF; MUST NOT recurse into other axiom heads.
- class axiom.class_axiom.ClassAssertion(/, **data: Any)¶
Bases:
axiom.structural_element.StructuralElementElement
ClassAssertion( CE a )of the OWL 2 structural specification.Binary RDF form
a rdf:type CE. Graph lifting claims a triple only whenCEis a known class expression (declaration, parsed class expression / restriction, CE operand of an already-parsed axiom, orowl:Thing/owl:Nothing). Unknown type objects remain unconsumed.Triples:
a rdf:type CE .
- kind: Literal['ClassAssertion'] = 'ClassAssertion'¶
- individual: axiom.common.N3Resource¶
- class_expression: axiom.common.N3Resource¶
- property name: rdflib.IdentifiedNode¶
type triple.
- Type:
Canonical identifier for this element; SHOULD be the subject of a rdf
- property as_triples: collections.abc.Sequence[axiom.common.Triple]¶
Triples representing this element as RDF; MUST NOT recurse into other axiom heads.