sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

NXQ_00015

rq turtle/ttl

Proteins with a PDZ domain that interact with at least one protein which is expressed in brain

Use at

PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform ?iso.
 ?iso :region / :term nextprot_cv:DO-00477. #PDZ domain
 ?iso :binaryInteraction/:interactant/:isoform?/:detectedExpression/:term/:childOf nextprot_cv:TS-0095 #brain
}
Union
:isoform
:region
:term
:binaryInteraction
:interactant
:isoform
:detectedExpression
:term
:childOf
or
?entry
?iso
:terminology/DO-00477
:terminology/TS-0095