A set of SPARQL examples that are used in different SIB resources
Check there are no entries with variant annotations with evidence from dbSNP which are synonymous
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
PREFIX source: <http://nextprot.org/rdf/source/>
select distinct ?entry where {
?entry :isoform ?iso.
?iso :variant ?variant.
?variant :start ?start.
?variant :end ?end.
?variant :original ?ori.
?variant :variation ?var.
?variant :evidence /:assignedBy source:dbSNP.
filter ( ?start = ?end && ?ori = ?var )
}