sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

85_taxonomy_host

Find taxon records that are known to have part of their life cycle in other organisms (e.g. parasite, symbiont, infection)

Use at

PREFIX up: <http://purl.uniprot.org/core/>

SELECT 
  ?virus 
  ?host 
WHERE {
    ?virus up:host ?host .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?host"):::projected 
  v1("?virus"):::projected 
  v1 --"up:host"-->  v2