@prefix ex: <https://sparql.hamap.expasy.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:3 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Select all hamap rules that deal with Catalytic Activity"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX sh: <http://www.w3.org/ns/shacl#>


SELECT ?rule ?query
WHERE
{
    ?rule sh:construct ?query  .
    FILTER (CONTAINS(?query, 'Catalytic_Activity_Annotation'))
}""" ;
    schema:target <https://hamap.expasy.org/sparql/> .

