Ontology about the characters of the BBC TV series 'Sherlock' taken from Bakerstreet Wiki in Turtle syntax.
The generated RDF graph can be found here.
- Start apache fuseki server with docker:
docker-compose up --build --detach
- Go to localhost:3030
- Sign in with credentials admin:admin
- Import
rdfs.ttl
into dataset - Run queries in
sparql.rq
Same ontology as in RDFS but more complicated.
Type | Natural speech | DL query | Result |
---|---|---|---|
Subsumption | Does Actor ⊆ Person apply? |
Actor and Person |
7 instances |
Instance | Does Sherlock_Holmes belong to class Person ? |
Person and rdfs:label value "Sherlock Holmes" |
1 instance |
Property instance | Is John Watson a friend of Eurus Holmes? | rdfs:label value "John Watson" and friend value 'Eurus Holmes' |
❌ |
Property extension | Which siblings are enemies? | sibling some Character and enemy some Character |
3 instances |