@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ex: <https://sparql.rhea-db.org/.well-known/sparql-examples/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

ex:103_Select_all_approved_reactions_linked_to_a_given_EC_number a sh:SPARQLExecutable,
    sh:SPARQLSelectExecutable;
  rdfs:comment "Select all approved reactions linked to a given EC number (EC 1.1.1.353)"@en;
  sh:select """PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rh:<http://rdf.rhea-db.org/>
PREFIX ec:<http://purl.uniprot.org/enzyme/>

SELECT
  ?reaction
  ?reactionEquation
WHERE {
  BIND(ec:1.1.1.353 AS ?ecNumber)
  ?reaction rdfs:subClassOf rh:Reaction .
  ?reaction rh:status rh:Approved .
  ?reaction rh:equation ?reactionEquation .
  ?reaction rh:ec ?ecNumber
}
ORDER BY ?reaction""";
  schema:target <https://sparql.rhea-db.org/sparql> .
