-
8 Apr 2008
Repeating the experiment with SWSE
written by Sergio Fernández at 19h54
OK, with Sindice it woks, but my engineer mind didn’t stop to remember me that we could do it better…
And then I remembered SWSE. Their approach is a little bit different: it moves away from the document centered view to an entity centered view. So it’s able to give better answers for concrete queries (like a query over my email). I was talking with Andreas about his (interesting) project, and the conclusions can not be better. They are starting to make weekly updated, something that is really cool.
But from the point of view of a semantic web application, such as SWAML, the biggest goal of the project is that provides (using YARS2) a complete SPARQL end-point where you can make complex queries. Then, using our SPARQL interface, it’s easy to write a python wrapper for SWSE, and use it to get the best URI for a person with a query like:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?person WHERE { ?file foaf:primaryTopic ?person . ?person rdf:type foaf:Person . ?person foaf:mbox_sha1sum "..." }So now in SWAML we support both semantic search engines, Sindice and SWSE, with a simple additional line in its configuration. And then we have real links between SIOC and FOAF data.




