nickdrummond / star-wars-ontology

An OWL ontology describing events, characters and places in the Star Wars Universe
https://nickdrummond.github.io/star-wars-ontology/
4 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 8 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 months ago

Slightly better with leader-line library

Screenshot 2024-06-25 at 23 04 12
nickdrummond commented 18 hours ago

Switched to a full js graph implementation - cytoscape

This will give us much more control.

eg, events leading up to the battle of Yavin, in order, by location:

/graph2?indivs=Battle_of_Yavin&props=after,sometimeAfter,at&compound=at,locatedIn

Screenshot 2024-11-25 at 16 38 09
nickdrummond commented 12 hours ago

Events in which R2-D2 participated

/graph?query=participant%20value%20R2-D2&props=after,sometimeAfter,at&compound=at,locatedIn#

Screenshot 2024-11-25 at 22 02 31