SynBioDex / SBOLExplorer

MIT License
4 stars 2 forks source link

Using sparql #1

Closed cjmyers closed 6 years ago

cjmyers commented 7 years ago

https://github.com/ICO2S/sparql

cjmyers commented 7 years ago

https://github.com/SynBioHub/synbiohub/tree/master/lib/sparql

cjmyers commented 7 years ago

https://synbiohub.org/sparql

cjmyers commented 7 years ago

PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# PREFIX dcterms: http://purl.org/dc/terms/ PREFIX dc: http://purl.org/dc/elements/1.1/ PREFIX sbh: http://wiki.synbiohub.org/wiki/Terms/synbiohub# PREFIX prov: http://www.w3.org/ns/prov# PREFIX sbol: http://sbols.org/v2# PREFIX xsd: http://www.w3.org/2001/XMLSchema# PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# PREFIX purl: http://purl.obolibrary.org/obo/

select distinct ?pcd ?ie ?ccd WHERE { ?pcd a sbol:ComponentDefinition ; sbol:component ?sc; prov:wasDerivedFrom ?ie .

?sc sbol:definition ?ccd }