A set of SPARQL examples that are used in different SIB resources
Check there are no entries with variant annotations with evidence NOT from Cellosaurus, Cosmic, dbSNP, gnomAD, neXtProt or UniProt
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
PREFIX source: <http://nextprot.org/rdf/source/>
select distinct ?entry ?src where {
?entry :isoform ?iso.
?iso :variant /:evidence /:assignedBy ?src.
filter ( ?src not in (source:Cellosaurus,source:Cosmic,source:dbSNP,source:gnomAD,source:NextProt,source:Uniprot))
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entry"):::projected
v3("?iso")
v1("?src"):::projected
a1((" "))
a2((" "))
f0[["?src != ':source/Cellosaurus'?src != ':source/Cosmic'?src != ':source/dbSNP'?src != ':source/gnomAD'?src != ':source/NextProt'?src != ':source/Uniprot'"]]
f0 --> v1
v2 --":isoform"--> v3
v3 --":variant"--> a1
a1 --":evidence"--> a2
a2 --":assignedBy"--> v1