VHP4Safety:CompoundCollections:collection: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= VHP4Safety: Collection = == Compounds == {{SPARQL | query = PREFIX target: <https://compoundcloud.wikibase.cloud/entity/Q56> PREFIX wd: <https://compoundcloud.wikibase.cloud/entity/> PREFIX wdt: <https://compoundcloud.wikibase.cloud/prop/direct/> SELECT DISTINCT ?compound ?compoundLabel ?inchikey ?pubchem WHERE { VALUES ?collection { target: } ?compound wdt:P21 ?collection . OPTIONAL { ?compound wdt:P10 ?inchikey } OPTIONAL { ?compound wdt:P13 ?pubchem } S...") |
No edit summary |
||
Line 8: | Line 8: | ||
PREFIX wdt: <https://compoundcloud.wikibase.cloud/prop/direct/> | PREFIX wdt: <https://compoundcloud.wikibase.cloud/prop/direct/> | ||
SELECT DISTINCT ?compound ?compoundLabel ?inchikey ?pubchem | SELECT DISTINCT ?compound ?compoundLabel | ||
(CONCAT("#compound/", SUBSTR(STR(?compound), 45)) AS ?compoundUrl) | |||
?inchikey ?pubchem | |||
WHERE { | WHERE { | ||
VALUES ?collection { target: } | VALUES ?collection { target: } |