On 3/17/07, Keith Alexander <[EMAIL PROTECTED]> wrote: > 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 have a web scaper+instant-Exhibit Greasemonkey user script whose output is Exhibit JSON, and I'm hoping to be able to extend it to drop its data in Semantic Bank, or other tools that take Exhibit JSON, or any other reasonably easy to generate input format through some RESTful API. I haven't done that research though, but pointers are appreciated. (Being a GM user script, it does not suffer from cross domain xhr issues, so any mostly any RESTful API will do.) It Semantic Bank would then expose a JSONP output endpoint for exposing the data fed into it (by some query, or identity reference for a past data set fed into it), we could make client side exhibits of the data without having to do any server side hackery / configuration / installation at all. That would make Exhibit the kind of child's play data lab indeed. We don't lack much of the tech to get there either. -- / Johan Sundström, http://ecmanaut.blogspot.com/ > 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
