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

ex:NXQ_00040 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Proteins that are enzymes and with at least one mutagenesis site that decrease or abolish activity"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX : <http://nextprot.org/rdf/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?entry WHERE {
 ?nextprot:isoform ?iso.
 ?iso :enzymeClassification ?_ .
 ?iso :mutagenesis/rdfs:comment ?comment
 filter regex(?comment, '(decrease|abolish).*activity','i')
}""" ;
    schema:keywords "enzyme",
        "function",
        "mutagenesis",
        "tutorial" ;
    schema:target <https://sparql.nextprot.org/sparql> .

