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 2 lines
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.
The Simpsons is a polpular comic televisions series. A comprehensive overview (in german) is [Simpsonspedia|http://simpsonspedia.net].
At line 6 changed one line
Also, please check out our visualization docs, which are based on the ontology defined here: [Doc SparqlVisualization], [Doc ConceptVisualization]
[{Image src='simpsons_family.png' width='150px' align='left'}]
At line 8 removed one line
[{Image src='Demo - Simpsons/simpsons_family.png' width='150px' align='left'}]
At line 14 removed one line
! Classes
At line 16 changed 2 lines
%%turtle
si:SimpsonsConcept a rdfs:Class.
! Classes
At line 19 changed 3 lines
si:LivingBeing rdfs:subClassOf si:SimpsonsConcept;
rdfs:label "Lebewesen"@de, "Living being"@en.
%%turtle
At line 23 changed one line
rdfs:subClassOf si:LivingBeing ;
rdf:type rdfs:Class ;
At line 27 changed one line
rdfs:subClassOf si:LivingBeing ;
rdf:type rdfs:Class ;
At line 31 changed one line
rdfs:subClassOf si:SimpsonsConcept ;
rdf:type rdfs:Class ;
At line 43 changed one line
rdfs:subClassOf si:SimpsonsConcept ;
rdf:type rdfs:Class ;
At line 47 changed one line
rdfs:subClassOf si:SimpsonsConcept ;
rdf:type rdfs:Class ;
At line 45 added one line
rdf:type rdfs:Class ;
At line 60 added 3 lines
%%vis
@concept: si:maggie
%
At line 67 removed 3 lines
rdfs:range si:Human;
rdfs:domain si:Human.
At line 75 changed 2 lines
owl:inverseOf si:relatedWith;
rdf:type owl:ReflexiveProperty.
rdf:type owl:ReflexiveProperty .
At line 88 removed 4 lines
si:wife
rdfs:subPropertyOf si:spouse ;
owl:inverseOf husband.
At line 113 removed one line
rdfs:subPropertyOf si:grandparent;
At line 120 removed one line
owl:inverseOf si:sibling;
At line 125 changed 2 lines
rdfs:domain si:LivingBeing;
rdfs:range si:GenderType.
rdfs:domain si:GenderType .
At line 130 removed 2 lines
si:worksAt rdf:type rdf:Property .
At line 133 removed one line
rdfs:range si:Ownership;
At line 135 removed 3 lines
si:Ownership
rdfs:subClassOf si:SimpsonsConcept.
At line 125 added one line
At line 137 added one line
At line 170 removed one line
si:worksAt si:burns_powerplant;
At line 186 changed one line
si:sibling si:lisa, si:maggie ;
si:sibling si:lisa ;
At line 214 removed one line
si:livesIn si:retirement_home;
At line 216 removed 4 lines
si:retirement_home
rdf:type si:Location;
rdfs:label "Ruhestandspalast"@de.
At line 242 removed one line
si:livesIn si:springfield;
At line 244 changed 3 lines
si:owns
[ si:amount "3" ; si:ownType si:burns_dog ],
si:burns_powerplant.
si:owns _:own1, _:own2 .
At line 222 added 8 lines
_:own1
si:amount "3" ;
si:ownType si:burns_dog .
_:own2
si:amount "1" ;
si:ownType si:burns_powerplant .
At line 232 added one line
At line 237 added one line
At line 261 changed one line
?x rdf:type si:Human ;
?x rdf:type si:Animal ;
At line 253 added one line
At line 280 added one line
At line 297 added one line
At line 315 added one line
At line 333 changed one line
SELECT ?name ?husband
SELECT ?name
At line 344 removed one line
! Hierarchical Table
At line 346 removed 20 lines
%%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 removed one line
@ruleset: OWL_HORST_OPTIMIZED_WITH_PROPERTY_CHAINS
At line 379 changed one line
Let's use the namespace {{si}} for the resources.
Let's us the namespace {{si}} for the resources.