@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_00135 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Proteins involved in both Wnt and Hippo signaling pathways"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso .
 # nextprot_cv:GO:0016055 wnt pathway
 ?iso :goBiologicalProcess ?func1 .
 ?func1 :term / :childOf nextprot_cv:GO_0016055.
 filter not exists { ?func1 :negativeEvidence ?negev. } # No negative function evidence
 # nextprot_cv:GO:0035329 Hippo pathway
 ?iso :goBiologicalProcess ?func2 .
 ?func2 :term / :childOf nextprot_cv:GO_0035329.
 filter not exists { ?func2 :negativeEvidence ?negev. } # No negative function evidence
}""" ;
    schema:keywords "function",
        "pathway",
        "tutorial" ;
    schema:target <https://sparql.nextprot.org/sparql> .

