sparql-examples

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

View the Project on GitHub BiGCAT-UM/sparql-examples

003

rq turtle/ttl

[fill out comment here]

Use at

PREFIX aopo: <http://aopkb.org/aop_ontology#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX edam: <http://edamontology.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT  distinct  ?keid ?ketitle ?hgnc
WHERE {
    ?ke a aopo:KeyEvent; edam:data_1025 ?object; dc:title ?ketitle; rdfs:label ?keid.
    ?object edam:data_2298 ?hgnc.
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v5("?hgnc"):::projected 
  v1("?ke")
  v4("?keid"):::projected 
  v3("?ketitle"):::projected 
  v2("?object")
  c2(["aopo:KeyEvent"]):::iri 
  v1 --"a"-->  c2
  v1 --"edam:data_1025"-->  v2
  v1 --"dc:title"-->  v3
  v1 --"rdfs:label"-->  v4
  v2 --"edam:data_2298"-->  v5