sparql-examples

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

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

83_rhea_reactions_not_associated_with_ec_in_uniprotkb

List Rhea reactions that are not associated with an EC (enzyme classification).

Use at

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

SELECT 
  ?rhea 
  ?EC 
WHERE {
  ?CatalyticActivity up:catalyzedReaction ?rhea .
  MINUS {
    ?CatalyticActivity up:enzymeClass ?EC .
  }
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?CatalyticActivity")
  v3("?EC"):::projected 
  v2("?rhea"):::projected 
  v1 --"up:catalyzedReaction"-->  v2
  subgraph minus0["MINUS"]
    style minus0 stroke-width:6px,fill:pink,stroke:red;
    v1 --"up:enzymeClass"-->  v3
  end