SPARQL example query
3: Select all hamap rules that deal with Catalytic Activity
SELECT ?rule ?query WHERE { ?rule sh:construct ?query . FILTER (CONTAINS(?query, 'Catalytic_Activity_Annotation')) }Use4: Select all hamap rules that annotate a Rhea reaction with an EC enzyme class
SELECT ?rule ?enzymeClass WHERE { ?rule a sp:Construct ; sp:templates/rdf:rest*/rdf:first ?annotationsToAdd . ?annotationsToAdd sp:predicate up:enzymeClass ; sp:object ?enzymeClass . }Use