nickdrummond / star-wars-ontology

An OWL ontology describing events, characters and places in the Star Wars Universe
https://nickdrummond.github.io/star-wars-ontology/
3 stars 1 forks source link

Can included be reflexive? #29

Closed nickdrummond closed 2 years ago

nickdrummond commented 2 years ago

Would all queries of this form be easier to express?

Query A:

Event and (
(participant value Ahsoka_Tano) or
(included some (participant value Ahsoka_Tano)))

as query B:

included some (participant value Ahsoka_Tano)

and is there any impact on classification speed?

nickdrummond commented 2 years ago
included Classification Query A Query B
no reflexive 4s 52 in 22s 30 in 9s
reflexive 2s 52 in 23s 52 in 22s

Seems like a no brainer.

Much simpler querying (and still seems intuitive). We can still ask for the direct events as we can before the reflexive version. Can't think of any reason we would want to query only subevents (as we lose this distinction).

So, the answer is yes. We'll keep this.