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

Character timelines #10

Open nickdrummond opened 2 years ago

nickdrummond commented 2 years ago

Can we easily query/infer a timeline for a given character?

We can easily query for the events using simple DL query, but how do we put them in some order?

If we want to get the events and subevents for a character, we either query this or we have a subchain The subchain is great as it brings the named events in to the inferred props but what is the cost? included o participant -> participant

nickdrummond commented 2 years ago

Very easy to get the events:

for Obi-Wan

But ordering/visualising them is going to need some code

nickdrummond commented 2 years ago

Added a sort=year to dlquery, but attempts to squeeze the multiple layers of timeline into a serial list of results is proving to be more challenging

nickdrummond commented 3 months ago

Creating a timeline branch of the browser

https://github.com/nickdrummond/ontology-browser/tree/timeline

Screenshot 2024-03-03 at 11 09 59

Can specify an event to focus on Can specify highlighting of a given property and object - eg Dooku participation during CLone Wars:

http://localhost:8080/timeline/starwars?event=Clone_Wars&filterProp=participant&filterObject=Dooku

nickdrummond commented 5 days ago

Slightly better with leader-line library

Screenshot 2024-06-25 at 23 04 12