A set of SPARQL examples that are used in different SIB resources
Proteins which are involved in cell adhesion according to GO with an evidence which is not used in automatic assertion nor a sequence similarity evidence used in manual assertion
PREFIX : <http://nextprot.org/rdf/>
PREFIX nextprot_cv: <http://nextprot.org/rdf/terminology/>
SELECT DISTINCT ?entry WHERE {
?entry :isoform/:function ?statement.
?statement :term / :childOf nextprot_cv:GO_0007155.
filter not exists { ?statement :negativeEvidence ?negev. } # No negative function evidence
?statement :evidence/:evidenceCode ?ecode.
filter not exists { ?ecode :childOf nextprot_cv:ECO_0000501. } # Automatic assertion
filter not exists { ?ecode :childOf nextprot_cv:ECO_0000250. } # Sequence similarity evidence used in manual assertion
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?ecode")
v4("?entry"):::projected
v3("?negev")
v2("?statement")
a1((" "))
a2((" "))
a3((" "))
c2([":terminology/ECO_0000250"]):::iri
c3([":terminology/ECO_0000501"]):::iri
c8([":terminology/GO_0007155"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --":childOf"--> e0c2
e0v1("?ecode"):::projected
e0c2([":terminology/ECO_0000250"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> c2
v1 --":childOf"--> c2
f1[["not "]]
subgraph f1e1["Exists Clause"]
e1v1 --":childOf"--> e1c2
e1v1("?ecode"):::projected
e1c2([":terminology/ECO_0000501"]):::iri
end
f1--EXISTS--> f1e1
f1 --> v1
f1 --> c1
f1 --> c3
v1 --":childOf"--> c3
f2[["not "]]
subgraph f2e2["Exists Clause"]
e2v1 --":negativeEvidence"--> e2v2
e2v2("?negev"):::projected
e2v1("?statement"):::projected
end
f2--EXISTS--> f2e2
f2 --> v2
f2 --> c4
f2 --> v3
v2 --":negativeEvidence"--> v3
v4 --":isoform"--> a1
a1 --":function"--> v2
v2 --":term"--> a2
a2 --":childOf"--> c8
v2 --":evidence"--> a3
a3 --":evidenceCode"--> v1