@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_00032 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Proteins with a coiled coil region and that are involved in transcription but do not contain a bZIP domain"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso.
 ?iso :function ?func .
 ?func :term / :childOf nextprot_cv:GO_0006351. # Transcription
 filter not exists {?func :negativeEvidence ?negev. } # no negative evidence
 ?iso :region/rdf:type :CoiledCoilRegion.
 filter not exists { ?iso :region/:term nextprot_cv:DO-00078 } # Bzip domain
}""" ;
    schema:keywords "domain",
        "function",
        "region",
        "tutorial" ;
    schema:target <https://sparql.nextprot.org/sparql> .

