sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

neXtProt/NXQ_09637

Check there are no entries with a variant annotation with no original value

Use at

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