๐Ÿฆ‰ OWL โ€” Web Ontology Language

Lecture 5 Interactive Learning Companion

๐Ÿฆ‰ OWL Vocabulary Explorer

Explore OWL 2 constructs interactively. Select a category to see the vocabulary, syntax, and examples.

// Select a category above to explore OWL 2 constructs
๐Ÿ“š Remember: OWL 2 builds on RDF/RDFS. Every OWL ontology is a valid RDF document. OWL adds: equality/inequality, property characteristics, boolean class constructors, restrictions, and formal reasoning.

๐Ÿ—๏ธ OWL Class Builder

Build OWL class expressions using Manchester Syntax. Combine classes with union, intersection, complement, and restrictions.

Generated OWL Turtle:

@prefix ex: <http://example.org/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # Add classes above and click Generate!
๐Ÿ’ก Tip: Use owl:equivalentClass for defined classes (automatic classification) and rdfs:subClassOf for primitive classes (necessary conditions only).

๐Ÿ”— Property Characteristics Lab

Experiment with OWL property characteristics. Define properties, set their type, and see what a reasoner would infer.

Inferred Triples:

Define properties and assertions above, then click "Run Reasoner"
โš™๏ธ Property Types: Inverse, Transitive, Symmetric, Asymmetric, Reflexive, Irreflexive, Functional, InverseFunctional. Each enables different inferences.

๐Ÿง  OWL Reasoning Simulator

Watch step-by-step how an OWL reasoner processes an ontology: from axioms to inferred knowledge.

Select a scenario above

๐ŸŒ Open World Assumption: What is not stated is unknown, not false. OWL does not assume unique names either โ€” two URIs may refer to the same thing unless stated otherwise.

๐ŸŽฎ OWL Modelling Game

Test your understanding of OWL 2 concepts, property characteristics, and reasoning!

Score: 0
Question 1 / 10

Press "Start Game" to begin!

๐Ÿ“ Lecture 5 Quiz

Test your understanding of OWL 2: vocabulary, properties, classes, reasoning, and profiles!

1. What does OWL stand for?
Ontology Web Language
Web Ontology Language
Object Web Language
Open World Language
1 / 12

๐Ÿ“‹ OWL 2 Cheat Sheet

Quick reference for OWL 2 vocabulary, property characteristics, class constructors, and profiles.

โš–๏ธ Equality & Inequality

owl:sameAs โ€” Two URIs refer to the same individual
owl:differentFrom โ€” Two URIs are different individuals
owl:AllDifferent โ€” Set of mutually distinct individuals
owl:equivalentClass โ€” Two classes have the same members
owl:equivalentProperty โ€” Two properties relate the same pairs
owl:disjointWith โ€” Two classes share no members
owl:AllDisjointClasses โ€” Set of mutually disjoint classes
owl:disjointUnionOf โ€” Class = union of disjoint subclasses

โš™๏ธ Property Characteristics

owl:inverseOf โ€” teaches / taughtBy owl:TransitiveProperty โ€” locatedIn, ancestorOf owl:SymmetricProperty โ€” friendOf, marriedTo owl:AsymmetricProperty โ€” parentOf, employs owl:ReflexiveProperty โ€” knows (self) owl:IrreflexivePropertyโ€” parentOf (not self) owl:FunctionalProperty โ€” hasMother (max 1) owl:InverseFunctionalProperty โ€” hasSSN

๐Ÿงฉ Class Constructors

owl:intersectionOf โ€” AND: FemaleProfessor = Female โˆฉ Professor
owl:unionOf โ€” OR: Academic = Professor โˆช Lecturer
owl:complementOf โ€” NOT: NonEuropean = ยฌEuropean
owl:oneOf โ€” Enum: Weekday = {Mon, Tue, Wed, Thu, Fri}
owl:someValuesFrom โ€” โˆƒ (existential): hasChild some Female
owl:allValuesFrom โ€” โˆ€ (universal): hasChild only Person
owl:hasValue โ€” nationality value DK
owl:minCardinality / maxCardinality / cardinality

โšก OWL 2 Profiles

OWL 2 Full: Undecidable. Maximum expressiveness.
OWL 2 DL: โ‰ˆ SROIQ(D). 2NExpTime. Full reasoning.
OWL 2 EL: PTime. Large ontologies (SNOMED CT).
OWL 2 QL: NLogSpace. OBDA over databases.
OWL 2 RL: PTime. Rule engines.

๐Ÿง  Reasoning Tasks

Consistency: Is the ontology contradiction-free?
Satisfiability: Can a class have instances?
Subsumption: Is A a subclass of B?
Classification: Which classes does an individual belong to?
Retrieval: Which individuals belong to a class?

โš ๏ธ Key Assumptions & Pitfalls

Open World: Not stated โ‰  false
No Unique Names: Different URIs may = same thing
โŒ allValuesFrom alone is vacuously true
โŒ domain/range causes inference, not constraint
โŒ subClassOf โ‰  equivalentClass (no auto-classify)
โŒ Overusing owl:sameAs merges ALL properties