@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_00067 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Proteins with alternative acetylation or Ubl conjugation (SUMO or Ubiquitin) at the same positions"@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 {
 ?entry :isoform ?iso.
 ?iso :crossLink /:start ?ptmpos.
 ?iso :modifiedResidue ?ptm.
 ?ptm :start ?ptmpos.
 ?ptm rdfs:comment ?comment.
 # We use this filter to select acetylations
 filter regex(?comment, "acetyl","i")
}""" ;
    schema:keywords "PTM",
        "sequence",
        "tutorial" ;
    schema:target <https://sparql.nextprot.org/sparql> .

