A set of SPARQL examples that are used in different SIB resources
Proteins with an active site that is a proton acceptor
PREFIX : <http://nextprot.org/rdf/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?entry ?comment WHERE {
?entry :isoform/ :activeSite /rdfs:comment ?comment.
filter (contains (?comment,'Proton acceptor'))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?comment"):::projected
v2("?entry"):::projected
a1((" "))
a2((" "))
f0[["contains(?comment,'Proton acceptor')"]]
f0 --> v1
v2 --":isoform"--> a1
a1 --":activeSite"--> a2
a2 --"rdfs:comment"--> v1