Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Owl 2 quick reference card a4 size
1. OWL 2 Web Ontology Language individual value ObjectHasValue
(P a)
_:x rdf:type owl:Restriction.
_:x owl:onProperty P.
2.2 Properties
Quick Reference Guide _:x owl:hasValue a.
Object Property Expressions
local reflexivity ObjectHasSelf _:x rdf:type owl:Restriction. named object property PN PN
http://www.w3.org/2007/OWL/refcard (P) _:x owl:onProperty P. universal object property owl:topObjectProperty owl:topObjectProperty
_:x owl:hasSelf "true"^^xsd:boolean. empty object property owl:bottomObjectProperty owl:bottomObjectProperty
1 Names, Prefixes, and Notation exact cardinality ObjectExactCardinality _:x rdf:type owl:Restriction. inverse property ObjectInverseOf(PN) _:x owl:inverseOf PN
(n P) _:x owl:onProperty P.
Names in OWL 2 are IRIs, often written in a shorthand prefix:localname, where prefix: is _:x owl:cardinality n. Data Property Expressions
a prefix name that expands to an IRI, and localname is the remainder of the name. qualified exact ObjectExactCardinality _:x rdf:type owl:Restriction.
The prefix names in OWL 2 are: cardinality (n P C) _:x owl:onProperty P. named data property R R
_:x owl:qualifiedCardinality n. universal data property owl:topDataProperty owl:topDataProperty
Prefix Name Expansion _:x owl:onClass C. empty data property owl:bottomDataProperty owl:bottomDataProperty
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# maximum ObjectMaxCardinality _:x rdf:type owl:Restriction.
rdfs: http://www.w3.org/2000/01/rdf-schema# cardinality (n P) _:x owl:onProperty P. 2.3 Individuals & Literals
owl: http://www.w3.org/2002/07/owl# _:x owl:maxCardinality n.
xsd: http://www.w3.org/2001/XMLSchema# qualified ObjectMaxCardinality _:x rdf:type owl:Restriction. named individual aN aN
maximum (n P C) _:x owl:onProperty P. anonymous individual _:a _:a
cardinality _:x owl:maxQualifiedCardinality n. literal (datatype value) "abc"^^DN "abc"^^DN
We use notation conventions in the following tables*:
Letters Meaning Letters Meaning _:x owl:onClass C.
(a1 … an) RDF list n non-negative integer** minimum ObjectMinCardinality _:x rdf:type owl:Restriction. 2.4 Data Ranges
_:a anonymous individual ON ontology name cardinality (n P) _:x owl:onProperty P.
(a blank node label) _:x owl:minCardinality n. Data Range Expressions
_:x blank node P object property expression qualified ObjectMinCardinality _:x rdf:type owl:Restriction.
minimum (n P C) _:x owl:onProperty P. named datatype DN DN
a individual p prefix name data range DataComplementOf _:x rdf:type rdfs:Datatype.
A annotation property PN object property name cardinality _:x owl:minQualifiedCardinality n.
_:x owl:onClass C. complement (D) _:x owl:datatypeComplementOf D.
aN individual name R data property data range DataIntersectionOf _:x rdf:type rdfs:Datatype.
C class expression s IRI or anonymous individual Data Property Restrictions intersection (D1…Dn) _:x owl:intersectionOf (D1…Dn).
CN class name t IRI, anonymous individual, or data range union DataUnionOf _:x rdf:type rdfs:Datatype.
literal universal DataAllValuesFrom _:x rdf:type owl:Restriction.
(R D) _:x owl:onProperty R. (D1…Dn) _:x owl:unionOf (D1…Dn).
D data range U IRI literal DataOneOf _:x rdf:type rdfs:Datatype.
DN datatype name v literal _:x owl:allValuesFrom D.
existential DataSomeValuesFrom _:x rdf:type owl:Restriction. enumeration (v1 … vn) _:x owl:oneOf ( v1 … vn ).
f facet datatype DatatypeRestriction _:x rdf:type rdfs:Datatype.
* All of the above can have subscripts. (R D) _:x owl:onProperty R.
_:x owl:someValuesFrom D. restriction (DN f1 v1 … fn vn) _:x owl:onDatatype DN.
** As a shorthand for "n"^^xsd:nonNegativeInteger _:x owl:withRestrictions (_:x1 ... _:xn).
literal value DataHasValue _:x rdf:type owl:Restriction.
_:xj fj vj. j=1…n
2 OWL 2 constructs and axioms (R v) _:x owl:onProperty R.
_:x owl:hasValue v.
In the following tables, the three columns are: exact cardinality DataExactCardinality _:x rdf:type owl:Restriction. 2.5 Axioms
Language Feature Functional Syntax RDF Syntax (Turtle) (n R) _:x owl:onProperty R.
_:x owl:cardinality n. Class Expression Axioms
For an OWL 2 DL ontology, there are additional global restrictions on axioms. qualified exact DataExactCardinality _:x rdf:type owl:Restriction.
subclass SubClassOf(C1 C2) C1 rdfs:subClassOf C2.
2.1 Class Expressions cardinality (n R D) _:x owl:onProperty R.
equivalent classes EquivalentClasses Cj owl:equivalentClass Cj+1.
_:x owl:qualifiedCardinality n.
(C1 … Cn) j=1…n-1
Predefined and Named Classes _:x owl:onDataRange D.
disjoint classes DisjointClasses(C1 C2) C1 owl:disjointWith C2.
maximum DataMaxCardinality _:x rdf:type owl:Restriction.
named class CN CN pairwise disjoint DisjointClasses _:x rdf:type owl:AllDisjointClasses.
cardinality (n R) _:x owl:onProperty R.
universal class owl:Thing owl:Thing classes (C1 … Cn) _:x owl:members ( C1 … Cn ).
_:x owl:maxCardinality n.
empty class owl:Nothing owl:Nothing disjoint union DisjointUnionOf CN owl:disjointUnionOf ( C1… Cn ).
qualified DataMaxCardinality _:x rdf:type owl:Restriction.
(CN C1 … Cn)
Boolean Connectives and Enumeration of Individuals maximum (n R D) _:x owl:onProperty R.
cardinality _:x owl:maxQualifiedCardinality n. Object Property Axioms
intersection ObjectIntersectionOf _:x rdf:type owl:Class. _:x owl:onDataRange D.
(C1…Cn) _:x owl:intersectionOf ( C1…Cn ). minimum DataMinCardinality _:x rdf:type owl:Restriction. subproperty SubObjectPropertyOf P1 rdfs:subPropertyOf P2.
union ObjectUnionOf _:x rdf:type owl:Class. cardinality (n R) _:x owl:onProperty R. (P1 P2)
(C1 … Cn) _:x owl:unionOf ( C1 … Cn ). _:x owl:minCardinality n. property chain SubObjectPropertyOf P owl:propertyChainAxiom
complement ObjectComplementOf _:x rdf:type owl:Class. qualified DataMinCardinality _:x rdf:type owl:Restriction. inclusion (ObjectPropertyChain (P1 … Pn).
(C) _:x owl:complementOf C. minimum (n R D) _:x owl:onProperty R. (P1 … Pn) P)
enumeration ObjectOneOf _:x rdf:type owl:Class. cardinality _:x owl:minQualifiedCardinality n. property domain ObjectPropertyDomain P rdfs:domain C.
(a1 … an) _:x owl:oneOf ( a1 … an ). _:x owl:onDataRange D. (P C)
property range ObjectPropertyRange P rdfs:range C.
Object Property Restrictions Restrictions Using n-ary Data Range
(P C)
universal ObjectAllValuesFrom _:x rdf:type owl:Restriction. In the following table 'Dn' is an n-ary data range. equivalent EquivalentObjectProperties Pj owl:equivalentProperty Pj+1.
(P C) _:x owl:onProperty P. n-ary universal DataAllValuesFrom _:x rdf:type owl:Restriction. properties (P1 … Pn) j=1…n-1
_:x owl:allValuesFrom C (R1 … Rn Dn) _:x owl:onProperties ( R1 … Rn ). disjoint properties DisjointObjectProperties P1 owl:propertyDisjointWith P2.
existential ObjectSomeValuesFrom _:x rdf:type owl:Restriction. _:x owl:allValuesFrom Dn. (P1 P2)
(P C) _:x owl:onProperty P. n-ary DataSomeValuesFrom _:x rdf:type owl:Restriction. pairwise disjoint DisjointObjectProperties _:x rdf:type
_:x owl:someValuesFrom C existential (R1 … Rn Dn) _:x owl:onProperties ( R1 … Rn). properties (P1 … Pn) owl:AllDisjointProperties.
_:x owl:someValuesFrom Dn. _:x owl:members ( P1 … Pn ).