@prefix ex: <https://sparql.uniprot.org/.well-known/sparql-examples/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix spex:<https://purl.expasy.org/sparql-examples/ontology#> . 

ex:119_uniref_distinct_ec_in_seed a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Distinct Enzymes in UniRef50 seed entries"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX up:<http://purl.uniprot.org/core/>
SELECT 
  (COUNT(DISTINCT ?enzyme) AS ?distinctEnzymesInUniRef50Seed)
WHERE {
  GRAPH <http://sparql.uniprot.org/uniprot>{
  	?protein ( up:enzyme | up:domain/up:enzyme | up:component/up:enzyme ) ?enzyme .
  }
  GRAPH <http://sparql.uniprot.org/uniref>{
    ?protein up:seedFor ?cluster .
    ?cluster up:identity 0.5 .
  }
}""" ;
    schema:target <https://sparql.uniprot.org/sparql> .
