This page (revision-64) was last changed on 05-May-2021 20:05 by Albrecht Striffler

This page was created on 24-Jun-2014 12:41 by Joba Baumeister

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
64 05-May-2021 20:05 7 KB Albrecht Striffler to previous
63 05-May-2021 20:04 7 KB Albrecht Striffler to previous | to last
62 09-Dec-2019 14:24 7 KB Albrecht Striffler to previous | to last
61 09-Dec-2019 14:23 7 KB Albrecht Striffler to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 changed one line
The Simpsons is a polpular comic televisions series. A comprehensive overview (in german) is [Simpsonspedia|http://simpsonspedia.net].
The Simpsons is a popular comic televisions series. A comprehensive overview (in german) is [Simpsonspedia|http://simpsonspedia.net].\\
This page shows, how we implement the simpsons ontology in KnowWE.
At line 5 changed one line
[{Image src='simpsons_family.png' width='150px' align='left'}]
Also, please check out our visualization docs, which are based on the ontology defined here: [Doc SparqlVisualization], [Doc ConceptVisualization]
At line 8 added one line
[{Image src='Demo - Simpsons/simpsons_family.png' width='150px' align='left'}]
At line 14 added one line
! Classes
At line 13 removed 2 lines
! Classes
At line 17 added 5 lines
si:SimpsonsConcept a rdfs:Class.
si:LivingBeing rdfs:subClassOf si:SimpsonsConcept;
rdfs:label "Lebewesen"@de, "Living being"@en.
At line 17 changed one line
rdf:type rdfs:Class ;
rdfs:subClassOf si:LivingBeing ;
At line 21 changed one line
rdf:type rdfs:Class ;
rdfs:subClassOf si:LivingBeing ;
At line 25 changed one line
rdf:type rdfs:Class ;
rdfs:subClassOf si:SimpsonsConcept ;
At line 37 changed one line
rdf:type rdfs:Class ;
rdfs:subClassOf si:SimpsonsConcept ;
At line 41 changed one line
rdf:type rdfs:Class ;
rdfs:subClassOf si:SimpsonsConcept ;
At line 45 removed one line
rdf:type rdfs:Class ;
At line 60 removed one line
At line 67 added 3 lines
rdfs:range si:Human;
rdfs:domain si:Human.
At line 68 changed one line
rdf:type owl:ReflexiveProperty .
owl:inverseOf si:relatedWith;
rdf:type owl:ReflexiveProperty.
At line 88 added 4 lines
si:wife
rdfs:subPropertyOf si:spouse ;
owl:inverseOf husband.
At line 113 added one line
rdfs:subPropertyOf si:grandparent;
At line 120 added one line
owl:inverseOf si:sibling;
At line 111 changed one line
rdfs:domain si:GenderType .
rdfs:domain si:LivingBeing;
rdfs:range si:GenderType.
At line 130 added 2 lines
si:worksAt rdf:type rdf:Property .
At line 133 added one line
rdfs:range si:Ownership;
At line 135 added 3 lines
si:Ownership
rdfs:subClassOf si:SimpsonsConcept.
At line 123 removed one line
At line 135 removed one line
At line 170 added one line
si:worksAt si:burns_powerplant;
At line 177 added one line
si:husband si:homer ;
At line 165 changed one line
si:sibling si:lisa ;
si:sibling si:lisa, si:maggie ;
At line 214 added one line
si:livesIn si:retirement_home;
At line 216 added 4 lines
si:retirement_home
rdf:type si:Location;
rdfs:label "Ruhestandspalast"@de.
At line 242 added one line
si:livesIn si:springfield;
At line 217 changed one line
si:owns _:own1, _:own2 .
si:owns
[ si:amount "3" ; si:ownType si:burns_dog ],
si:burns_powerplant.
At line 219 removed 8 lines
_:own1
si:amount "3" ;
si:ownType si:burns_dog .
_:own2
si:amount "1" ;
si:ownType si:burns_powerplant .
At line 229 removed one line
At line 234 removed one line
At line 250 removed one line
At line 277 removed one line
At line 294 removed one line
At line 328 added one line
! Expected Compentency Questions: Intersecting Properties
At line 330 added 36 lines
The family father: A father that is also a husband
%%Sparql
SELECT ?name ?husband
WHERE {
?husband si:father ?kid ;
rdfs:label ?name .
?wife si:husband ?husband .
}
@border: true
@zebramode: true
@showQuery: true
%
! Hierarchical Table
%%Sparql
SELECT (SAMPLE(?sub) as ?sub) (SAMPLE(?par) as ?par) (SAMPLE(?name) as ?name) ?concept
WHERE {
{
# bind si:abraham as root node
BIND (si:abraham as ?sub) .
}
UNION
{
# collect all parent child relations (will be conntected automagically to si:abraham)
?sub si:parent ?par ;
}
# display name and concept as table columns
?sub rdfs:label ?name .
BIND (?sub as ?concept) .
} GROUP BY ?concept
@tree: true
@showQuery: true
%
At line 376 added one line
@ruleset: OWL_HORST_OPTIMIZED_WITH_PROPERTY_CHAINS
At line 325 changed one line
Let's us the namespace {{si}} for the resources.
Let's use the namespace {{si}} for the resources.