A set of SPARQL examples that are used in different SIB resources
Check there are no entries with a variant annotation with no original value
PREFIX : <http://nextprot.org/rdf/>
PREFIX cv: <http://nextprot.org/rdf/terminology/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
select distinct ?entry where {
?entry :isoform /:variant /:original ""^^xsd:string.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?entry"):::projected
a1((" "))
a2((" "))
c4([""]):::literal
v1 --":isoform"--> a1
a1 --":variant"--> a2
a2 --":original"--> c4