August last year I asked on BioStar about
how to import RDF into the R statistical package and at the time nothing seemed existing. Over the past few weeks I ported code I wrote for
Bioclipse to create the
rrdf package for
R, which is now available from
CRAN. RDF can be loaded from RDF/XML, Notation3, and Turtle files, using
Jena, and read data can be queried using
SPARQL. I have not yet ported the remote SPARQL functionality we used in
our recent paper, but that will make a nice alternative to
using ChEMBL data in Pipeline Pilot or
in Bioclipse :)
It is more than fair to note that while that BioStar question did not show up something, Bioconductor has the Rredland pacakge, which a similar idea, and VJ Carey wrote up the PDF back in 2006:
ReplyDeletehttp://www.bioconductor.org/help/course-materials/2006/BioC2006/labs/vcarey2/semweb.pdf
Very cool library! Any chance of incorporating Sparql Construct queries in rrdf, to help pull models apart and smoosh 'em back together?
ReplyDeleteRyan, please add that as a feature request at:
ReplyDeletehttps://github.com/egonw/rrdf/issues?sort=created&direction=desc&_pjax=true&state=open