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_00113

Proteins with protein existence "At protein level" (PE=1) and at least one proteotypic peptide

Use at

PREFIX : <http://nextprot.org/rdf/>

SELECT DISTINCT ?entry WHERE {
 ?entry :isoform / :peptideMapping ?pm .
 ?entry :existence :Evidence_at_protein_level .
 ?pm :proteotypic true .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?entry"):::projected 
  v2("?pm")
  a1((" "))
  c4([":Evidence_at_protein_level"]):::iri 
  c6(["true^^xsd:boolean"]):::literal 
  v1 --":isoform"-->  a1
  a1 --":peptideMapping"-->  v2
  v1 --":existence"-->  c4
  v2 --":proteotypic"-->  c6