Skip to content

Instantly share code, notes, and snippets.

@kozo2
Last active August 29, 2015 14:10
Show Gist options
  • Save kozo2/cedb519f99adf5d9ff94 to your computer and use it in GitHub Desktop.
Save kozo2/cedb519f99adf5d9ff94 to your computer and use it in GitHub Desktop.
property path example
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX sbmlrdf: <http://identifiers.org/biomodels.vocabulary#>
SELECT * WHERE {
<http://identifiers.org/biomodels.db/BMID000000140222>
sbmlrdf:reaction ?reactionid .
?reactionid sbmlrdf:product/sbmlrdf:species/sbmlrdf:name ?product_name.
?reactionid sbmlrdf:reactant/sbmlrdf:species/sbmlrdf:name ?reactant_name.
}
@kozo2
Copy link
Author

kozo2 commented Dec 7, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment