A set of SPARQL examples that are used in different SIB resources
Proteins located on chromosome MT (mitochondrial) coded by a gene located on the plus strand
PREFIX : <http://nextprot.org/rdf/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?entry WHERE {
?entry :gene ?gene .
?gene :chromosome "MT"^^xsd:string; :strand "1"^^xsd:string .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?entry"):::projected
v2("?gene")
c5(["1"]):::literal
c3(["MT"]):::literal
v1 --":gene"--> v2
v2 --":chromosome"--> c3
v2 --":strand"--> c5