sparql-examples

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

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

NXQ_09303

rq turtle/ttl

Check there are no entries with variant annotations from Cosmic for which the evidence code is NOT nucleotide sequencing assay evidence

Use at

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 /:variant /:evidence ?ev1.
  ?ev1 :assignedBy source:Cosmic.
  ?ev1 :evidenceCode ?eco.
  filter (?eco not in (cv:ECO_0000219))
}