Sunday, January 11, 2015

SPARQL Query Tool

SPARQL is an RDF query language, it able you to retrieve results set based on your conditions from an RDF file (such as Tuertle file(s)) or from a SPARQL endpoint (such dbpedia which stores data from Wikipedia web site).
You can imagine what can you retrieve from a rich data web site such as Wikipedia, for example the following SPARQL query will retrieve all triples from Wikipedia web site where "Jordan" is the subject for all these triples:

select ?xlabel ?ylabel
where
{
:Jordan ?x ?y.
?x rdfs:label ?xlabel.
?y rdfs:label ?ylabel.
FILTER(lang(?xlabel) = "en")
FILTER(lang(?ylabel) = "en")
}


you can try this example or other examples on the dbpedia endpoint web query explorer at the following link:
http://dbpedia.org/snorql/

There are several SPARQL query tool to execute SPARQL queries and retrieve the results set such as Twinkle and Jena. Each of these tools has a lot of advantages and some disadvantages, we have developed a new SPARQL query tool that combines the advantages for these tools and avoid the disadvantages.

you can find more about our SPARQL query tool here:
http://programmervision.blogspot.com/p/sparql-query-tool.html


Actually, when you work on semantic web field you already work on the feature of the web.

No comments:

Post a Comment