A set of SPARQL examples that are used in different TGX resources
List pathways and their species.
PREFIX wp: <http://vocabularies.wikipathways.org/wp#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT DISTINCT (str(?title) as ?pathway) (str(?label) as ?organism)
WHERE {
?pw dc:title ?title ;
wp:organism ?organism ;
wp:organismName ?label .
}
graph TD