179_subcellular_location_names
- subcellular location
- SKOS
List every term in UniProt's subcellular-location ontology (up:Cellular_Component) with its preferred name and description
Use at
PREFIX up: <http://purl.uniprot.org/core/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT
?location
?locationName
?description
WHERE {
?location a up:Cellular_Component ;
skos:prefLabel ?locationName ;
rdfs:comment ?description .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?description"):::projected
v1("?location"):::projected
v2("?locationName"):::projected
c2(["up:Cellular_Component"]):::iri
v1 --"a"--> c2
v1 --"skos:prefLabel"--> v2
v1 --"rdfs:comment"--> v3