Monday, August 17, 2009

Bioclipse and SPARQL end points

Last week, there was a very interesting thread on the DBPedia mailing list, on using Java for doing remote SPARQL queries. This was one of the features still missing in bioclipse.rdf. Richard Cyganiak replied pointing the code in Jena which conveniently does this and which bioclipse.rdf is already using anyway. Next, Fred Durao even gave a full code example relieving me from any further research, resulting in sparqlRemote() now implemented in the rdf manager:
> rdf.sparqlRemote(
"select distinct ?Concept where{[] a ?Concept } LIMIT 10"
[[], [],
[], [],
[], [],
[], [],
I reported earlier two example SPARQL queries for chemistry, which can now be rewritten as Bioclipse scripts:


No comments:

Post a Comment