SPARQL/JSON into Timeline
Timeline seems to be the tool of the moment in the SemWeb area. Indeed, this is a really nice JavaScript tool to display temporal data, so we could imagine a lot of usages for it.
Timeline first used its own XML format for data, then JSON was introduced. Yet, the JSON format needed is different from the one defined by JSON serialization of SPARQL results, as Joseki does - among others RDF stores.
I’ve wrote a function based on the original JSON one to load data formatted according to the previous specs: http://apassant.net/home/2006/07/sioc-timeline/sparqljson.js
Just before, Morten Frederiksen also wrote a SPARQL/XML loader for timeline.
So, now, you’ve got the choice: either load XML / JSON data into Timeline (aventually using Danny Ayers’ XSLT), or use SPARQL/XML or SPARQL/JSON loader. You don’t have any excuse anymore for not loading some data into your Timeline
Here’s an example of Timeline loading on-the-fly generated JSON data from a SPARQL endpoint (using SIOC-enabled websites as data sources): http://apassant.net/home/2006/07/sioc-timeline/.
Uldis also wrote a SIOC Timeline, with a nice design and the complete blog posts text.
So … Timeline offers another cool way to see Semantic Web in action !
Comments
Leave a Reply
You must be logged in to post a comment.
