WikiPathways-SPARQL-book

listAllPathwayProperties.rq

Code examples: curl

SPARQL

PREFIX wp:     <http://vocabularies.wikipathways.org/wp#>

SELECT DISTINCT ?predicate
WHERE {
 ?pw a wp:Pathway ;
     ?predicate [] .
}

Execute or Edit

Output

predicate
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://purl.org/dc/terms/description
http://purl.org/dc/elements/1.1/identifier
http://purl.org/dc/elements/1.1/source
http://purl.org/dc/elements/1.1/title
http://purl.org/dc/terms/identifier
http://purl.org/dc/terms/references
wp:cellTypeOntologyTag
wp:diseaseOntologyTag
wp:isAbout
wp:ontologyTag
wp:organism
wp:organismName
wp:pathwayOntologyTag
http://xmlns.com/foaf/0.1/page

Code examples

curl

curl -o listAllPathwayProperties.rq https://raw.githubusercontent.com/wikipathways/WikiPathways-SPARQL-book/master/sparql/listAllPathwayProperties.rq
curl -H "Accept: text/tab-separated-values" -G http://sparql.wikipathways.org/ --data-urlencode [email protected]