41_lipid_cross_references
Given a SwissLipids entry, list its cross-references to external databases such as LIPID MAPS, HMDB and MetaNetX.
Use at
PREFIX SWISSLIPID: <https://swisslipids.org/rdf/SLM_>
PREFIX oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?lipid ?label ?xref
WHERE {
VALUES ?lipid { SWISSLIPID:000000035 }
?lipid rdfs:label ?label ;
oboInOwl:hasDbXref ?xref .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?label"):::projected
v1("?lipid"):::projected
v3("?xref"):::projected
bind0[/VALUES ?lipid/]
bind0-->v1
bind00(["SWISSLIPID:000000035"])
bind00 --> bind0
v1 --"rdfs:label"--> v2
v1 --"oboInOwl:hasDbXref"--> v3