View on GitHub

star-wars-ontology

An OWL ontology describing events, characters and places in the Star Wars Universe

home | docs | benefits | modules | events | modelling principles | test questions | performance | tools

SPARQL

None of these queries is complete using just the basic graph.

We use the jena SPARQL engine as it:

Resources

SPARQL by example

Queries

Death year

Someone who was killed during an event died on the date of that event.

eg Plo Koon died during Order 66 on 19BBY

We cannot simply do this in OWL as there are no property chains for datatype properties.

See deaths.sparql and Run in browser

Events with location

See events.sparql and Run in browser

References