Show Menu
Cheatography

Semantic Web Cheat Sheet (DRAFT) by

RDF + OWL reference

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Predefined RDF classes

Class
Descri­ption
rdfs:R­esource
The class resource, everyt­hing.
rdfs:Class
The class of classes.
rdf:Pr­operty
The class of RDF proper­ties.
rdf:Co­ntainer
Superclass of all container types
rdf:Bag
Unordered container
rdf:Seq
Sequen­tially ordered container
rdf:Alt
Container of altern­atives
rdf:List
List of items
rdfs:C­ont­ain­erM­emb­ers­hip­Pro­perty
The class of container membership proper­ties, rdf:_1, rdf:_2, ...
rdfs:D­atatype
The class of RDF datatypes.
rdf:XM­LLi­teral
The class of XML literals values.
rdfs:L­iteral
The class of literal values, e.g. textual strings and integers.
rdf:St­atement
The class of RDF statem­ents.

rdfs:R­esource properties

Property Name
Type (Range)
Descri­ption
rdf:type
rdfs:Class
The subject is an instance of a class.
rdfs:label
rdfs:L­iteral
A human-­rea­dable name for the subject.
rdfs:c­omment
rdfs:L­iteral
A descri­ption of the subject resource.
rdfs:m­ember
rdfs:R­esource
A member of the subject resource.
rdfs:s­eeAlso
rdfs:R­esource
The definition of the subject resource.
rdfs:i­sDe­finedBy
rdfs:R­esource
Namespace where it is defined
rdf:value
rdfs:R­esource
Idiomatic property used for structured values

rdfs:Class properties

Property Name
Type (Range)
Descri­ption
rdfs:s­ubC­lassOf
rdfs:Class
The subject is a subclass of a class.

owl:Class properties

Property Name
Type (Range)
Descri­ption
owl:di­sjo­intWith *
owl:Class
Disjoint Classes
owl:in­ter­sec­tionOf -
rdf:List
Inters­ection of 2 classes
owl:un­ionOf *
rdf:List
Union of 2 classes
owl:co­mpl­ementOf *
owl:Class
Complement of a class
owl:oneOf *
rdf:List
Enumerated class
owl:eq­uiv­ale­ntClass -
owl:Class
Equivalent Classes
- Denotes a construct available in OWL Lite. * denotes a construct available in OWL DL.

rdf:Pr­operty properties

Property Name
Type (Range)
Descri­ption
rdfs:d­omain
rdfs:Class
A domain of the subject property.
rdfs:range
rdfs:Class
A range of the subject property.
owl:eq­uiv­ale­ntP­roperty
rdf:Pr­operty
rdfs:s­ubP­rop­ertyOf
rdf:Pr­operty
The subject is a subpro­perty of a property.

Inheri­tance Diagram

rdf:List properties

Property Name
Type (Range)
Descri­ption
rdf:first
rdfs:R­esource
The first item in the subject RDF list.
rdf:rest
rdfs:List
The rest of the subject RDF list after the first item.

rdf:St­atement properties

Property Name
Type (Range)
Descri­ption
rdf:su­bject
rdfs:R­esource
The subject of the subject RDF statement.
rdf:pr­edicate
rdfs:R­esource
The predicate of the subject RDF statement.
rdf:object
rdfs:R­esource
The object of the subject RDF statement.
 

URL prefixes

owl:Thing properties

Property Name
Type (Range)
Descri­ption
owl:sameAs
owl:Thing
owl:di­ffe­ren­tFrom
owl:Thing

owl:Al­lDi­fferent properties

Property Name
Type (Range)
Descri­ption
owl:di­sti­nct­Members
rdf:List

owl:Re­str­iction properties

Property Name
Type (Range)
Descri­ption
owl:al­lVa­lue­sFrom
rdfs:Class
owl:so­meV­alu­esFrom
rdfs:Class
owl:ha­sValue *
(none)
owl:ca­rdi­nality -
xsd:no­nNe­gat­ive­Integer
owl:ma­xCa­rdi­nality -
xsd:no­nNe­gat­ive­Integer
owl:mi­nCa­rdi­nality -
xsd:no­nNe­gat­ive­Integer
owl:on­Pro­perty
rdf:Pr­operty
- Denotes a construct available in OWL Lite. * denotes a construct available in OWL DL.

owl:Ob­jec­tPr­operty properties

Property Name
Type (Range)
Descri­ption
owl:in­verseOf
owl:Ob­jec­tPr­operty

owl:On­tology properties

Property Name
Type (Range)
Descri­ption
owl:im­ports
owl:On­tology
owl:in­com­pat­ibl­eWith
owl:On­tology
owl:pr­ior­Version
owl:On­tology
owl:ve­rsi­onInfo
(none)
owl:ba­ckw­ard­Com­pat­ibl­eWith
owl:On­tology
 

xsd Types

Strings
xsd:string
xsd:no­rma­liz­edS­tring
xsd:token
xsd:la­nguage
xsd:NM­TOKEN
xsd:Name
xsd:NCName
 
Boolean
xsd:bo­olean
 
Numerical
xsd:de­cimal
xsd:float
xsd:double
 
Decima­l-d­erived
xsd:in­teger
xsd:no­nNe­gat­ive­Integer
xsd:po­sit­ive­Integer
xsd:no­nPo­sit­ive­Integer
xsd:ne­gat­ive­Integer
xsd:long
xsd:int
xsd:short
xsd:byte
xsd:un­sig­nedLong
xsd:un­sig­nedInt
xsd:un­sig­ned­Short
xsd:un­sig­nedByte
 
Binary
xsd:he­xBinary
xsd:ba­se6­4Binary
 
Date/T­ime­-re­lated
xsd:da­teTime
xsd:time
xsd:date
xsd:gY­ear­Month
xsd:gYear
xsd:gM­onthDay
xsd:gDay
xsd:gMonth
 
Resource
xsd:anyURI

Classes, Parents, Instances of

Class
Subclass of
Instance of
rdfs:R­­es­ource
rdfs:R­­es­ource
rdfs:Class
rdfs:Class
rdfs:R­­es­ource
rdfs:Class
rdfs:L­iteral
rdfs:R­esource
rdfs:Class
rdfs:D­atatype
rdfs:Class
rdfs:Class
rdf:XM­LLi­teral
rdfs:L­iteral
rdfs:D­atatype
rdf:Pr­operty
rdfs:R­esource
rdfs:Class
rdfs:C­ont­ainer
rdfs:R­esource
rdfs:Class
rdf:Alt
rdfs:C­ont­ainer
rdfs:Class
rdf:Bag
rdfs:C­ont­ainer
rdfs:Class
rdf:Seq
rdfs:C­ont­ainer
rdfs:Class
rdfs:C­ont­ain­erM­emb­ers­hip­Pro­perty
rdf:Pr­operty
rdfs:Class
rdf:List
rdfs:R­esource
rdfs:Class
rdf:St­atement
rdfs:R­esource
rdfs:Class