Hi again folks, I realised that the semantic templating idea I discussed in my last post to this list could also be applied to Exhibit's JSON database format, and that this could provide a pretty neat bridge between an Exhibit and an RDF database.
So I wrote a script to do it, and here's how it works: Provide a template exhibit json file as input. The script interprets the json template as a query/several queries and: queries the database, fetching the results injects the data back into the template ouputs the json file full of items. I told Stefano about the idea last night in the simile irc channel, and he pointed out that if a web service were to do this, it would provide an easy way for Exhibit authors to make exhibits of any RDF database with an endpoint. I think there could be some other interesting possibilities for the idea as well: It would be cool to see public endpoints allow Exhibit JSON as an input and output. I've written up some further explanation and thoughts with links to the code and an example exhibit at http://semwebdev.keithalexander.co.uk/blog/posts/Exhibit-JSON.html Again, constructive criticism of both the idea and the implementation are warmly invited. Cheers, Keith _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
