A set of SPARQL examples that are used in different SIB resources
Some cell lines with a miscellaneous comment
PREFIX cello: <https://purl.expasy.org/cellosaurus/rdf/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select ?cl ?cl_name ?miscellaneous_comment where {
?cl cello:hasMiscellaneousInfoComment ?annot.
?cl cello:recommendedName ?cl_name .
?annot rdfs:comment ?miscellaneous_comment .
}
limit 100
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?annot")
v1("?cl"):::projected
v3("?cl_name"):::projected
v4("?miscellaneous_comment"):::projected
v1 --"cello:hasMiscellaneousInfoComment"--> v2
v1 --"cello:recommendedName"--> v3
v2 --"rdfs:comment"--> v4