Created
February 5, 2010 11:29
-
-
Save annzi/295724 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> var sparql2 = "\ | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>\ | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\ | |
PREFIX foaf: <http://xmlns.com/foaf/0.1/>\ | |
PREFIX owl: <http://www.w3.org/2002/07/owl#>\ | |
PREFIX chembl: <http://pele.farmbio.uu.se/chembl/?>\ | |
PREFIX dc: <http://purl.org/dc/elements/1.1/> \ | |
PREFIX chem: <http://www.blueobelisk.org/chemistryblogs/> \ | |
\ | |
SELECT DISTINCT ?mol ?smil WHERE { \ | |
?mol a chembl:Compound .\ | |
OPTIONAL {?mol chem:smiles ?smil} .\ | |
} LIMIT 5 \ | |
"; | |
> rdf.sparqlRemote("http://pele.farmbio.uu.se/chembl/snorql", sparql2); | |
com.hp.hpl.jena.sparql.resultset.ResultSetException: skipToHead: Unexpected | |
tag: {http://www.w3.org/1999/xhtml}html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment