Query 1
Execution time: 5ms
PREFIX n: <https://nap.nprod.net/>
SELECT ?name
WHERE {
<https://nap.nprod.net/compoundsynonym/1229> n:name ?name.
}
Query 2
Execution time: 4ms
PREFIX n: <https://nap.nprod.net/>
SELECT DISTINCT ?compound ?compoundName ?compoundClass ?compoundCode ?compoundCodeName
WHERE {
?compound n:synonym <https://nap.nprod.net/compoundsynonym/1229>.
?compound a n:compound.
?compound n:name ?compoundName.
OPTIONAL {
?compound n:compoundclass ?compoundClass.
}
OPTIONAL {
?compound n:has_compoundcode ?compoundCode.
?compoundCode n:name ?compoundCodeName.
}
}
ORDER BY ?compoundName