A set of SPARQL examples for tutorials at SWAT4HCLS
Some cell lines with the age of the individual at which the sample was collected to create the cell line
PREFIX cello: <https://purl.expasy.org/cellosaurus/rdf/ontology/>
select ?cl ?cl_name ?individual_age where {
?cl cello:derivedFromIndividualAtAge ?individual_age .
?cl cello:recommendedName ?cl_name .
}
order by ?cl
limit 100
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?cl"):::projected
v3("?cl_name"):::projected
v2("?individual_age"):::projected
v1 --"cello:derivedFromIndividualAtAge"--> v2
v1 --"cello:recommendedName"--> v3