The Simpsons - An example Ontology for tutorial purposes#
The Simpsons is a popular comic televisions series. A comprehensive overview (in german) is Simpsonspedia.
This page shows, how we implement the simpsons ontology in KnowWE.
General Domain Model#
We first define some classes framing the example domain.
rdfs:range si:Human; rdfs:domain si:Human.
Bart never wants to be a female.
We now insert some characters and things of the Simpsons world.
Ok, we can test/query the ontology by inserting some SPARQL statements.
Show me all instances of Human and also show their labels.
Use property paths in SPARQL.
We also can add optional patterns into the query. Show all humans and their (optional) belongings.
UNION: All names of humans and animals#
Expected Compentency Questions: Intersecting Properties#
The family father: A father that is also a husband
Administrative Definitions of the Simpsons Ontology#
This wiki article belongs to the simpsons package.