A set of SPARQL examples that are used in different SIB resources
Proteins with protein existence "At transcript level" (PE=2) or "Inferred from homology" (PE=3) or "Predicted" (PE=4)
PREFIX : <http://nextprot.org/rdf/>
SELECT DISTINCT ?entry WHERE {
values ?level {
# :Evidence_at_protein_level # PE=1
:Evidence_at_transcript_level # PE=2
:Inferred_from_homology # PE=3
:Predicted # PE=4
# :Uncertain # PE=5
}
?entry a :Entry .
?entry :existence ?level .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v1("?level")
c2([":Entry"]):::iri
bind0[/VALUES ?level/]
bind0-->v1
bind00([":Evidence_at_transcript_level"])
bind00 --> bind0
bind01([":Inferred_from_homology"])
bind01 --> bind0
bind02([":Predicted"])
bind02 --> bind0
v2 --"a"--> c2
v2 --":existence"--> v1