SPARQL My Opera!

Kendall Clark
Nov. 30, 2005 07:04 AM
Permalink

URL: http://my.opera.com/community/sparql/...
I've been pushing the convergence line lately: there's no fundamental conflict between Web 2.0 and the Semantic Web. They may not be quite two sides of the same coin, but they're definitely the same currency. Or something like that. Anyway.
The folks who run the Opera community portal have just done a really smart thing -- they've deployed a SPARQL web service for their data. It's the community's data, and what better way to let the people at their stuff?
This is better than a bespoke API because it's not another API-to-API integration problem. Rather, it exposes, essentially, a domain-specific (or "little") language for arbitrary use by arbitrary third parties.
And it does so using a standard, lightweight web service interface, REST HTTP, with the possibility to deploy SOAP pretty easily too.
Want to add some Opera community data to your latest Web 2.0 mashup? It's as easy as writing a few SPARQL queries and some code to handle the XML those queries return. Easy peasy. (And I've been working on a serialization of SPARQL query results in JSON, which will make it even easier to do in AJAX apps.)
There are some areas for improvement here, since the SPARQL query engine being used here isn't the speediest and there's no support for DESCRIBE queries yet. But still, this is a big deal!
I've hinted at this before, but I think I'll put a stake in the ground and say it clearly:
The developer(s) of every Web 2.0 app/service should seriously consider exposing their data with a SPARQL query service.
Kendall Clark
is the Managing Editor of XML.com.
What else ya gonna use?
You must be logged in to the O'Reilly Network to post a comment.
Showing messages 1 through 7 of 7.
-
Thanks!
2005-12-05 08:45:53
kjetilk
[Reply | View]
-
examples
2005-12-01 05:03:06
PhilWilson
[Reply | View]
-
Examples Please...
2005-11-30 17:28:30
EliasT
[Reply | View]
-
Examples Please...
2005-12-01 01:28:47
danja
[Reply | View]
|
Showing messages 1 through 7 of 7.
|
Return to weblogs.oreilly.com.
Weblog authors are solely responsible for the content
and accuracy of their weblogs, including opinions they
express, and O'Reilly Media, Inc., disclaims any and
all liabililty for that content, its accuracy, and
opinions it may contain.
This work is licensed under a
Creative Commons License.
|
I added some examples to the query page myself, to help people get an idea, but I am happy that you did too. I chose to build upon Redland/Rasqal because it fits rather well into the existing architecture, and allowed me to get this out rather fast, as it is indeed something that will allow people to use these data in novel ways and so bring more interested users to Opera and our community.
It is just a start, allowing experimentation and allows us to gain experience in a field where there is little experience to build on. Clearly, as usage soars, much more work will be needed.
I do not anymore allow the retrieval of the full model, as I rewrote the resource limiting code to emphasise memory use rather than a timeout, and now a too big or complex query will result in an error. Unfortunately, it will currently result in a proxy error rather than a internal server error, I will have to fix that later.
Also, I'll try stay active in the Semantic Web community, so it shouldn't be necessary to reverse engineer the model, just ask! :-) I intend to follow the work on service descriptions closely, but time doesn't allow to elaborate on this right now. Briefly, our user data is modelled mostly using FOAF, our galleries using FOAF Image and my own Gallery schema, while blog posts and forum contributions are mostly Dublin Core.
So, we're just getting started, but I hope it will also get the Semantic Web and the Web 2.0 communities started!