- NMRShiftDB enters rdf.openmolecules.net #2: SPARQL end point with Virtuoso
- Bioclipse and SPARQL end points #2: MyExperiment
- Bioclipse and SPARQL end points
com.hp.hpl.jena.query.QueryParseException: Line 1, column 31: Unresolved prefixed name: bif:containsDefining the prefix did not solve the problem either, but Ivan Mikhailov just replied to my post to the virtuoso-user mailing list providing the solution.
The solution is in the fact that bif: is in its own namespace, which makes it possible to replace bif:contains by its full reference <bif:contains>. I directly gave that a try in Bioclipse, and just succesfull ran this Bioclipse script snippet:
rdf.sparqlRemote( "http://bio2rdf.org/sparql", "SELECT * WHERE {?s ?p ?o . ?o <bif:contains> \"aspirin\" .};" );
Thanx, Ivan!
Thanks Egon and Ivan, you helped me get Virtuoso + Jena going and saved me quite some time asking and waiting for answer in the mailing lists for this bif:contains issue!
ReplyDelete