Skip to content
Permalink
Browse files

Generalise to molecule

  • Loading branch information...
AlasdairGray committed Aug 19, 2019
1 parent 362636f commit 7d3ccbaa25b717dd4295bd6c5c547d05b2ad6dd5
Showing with 2 additions and 2 deletions.
  1. +2 −2 q.rq
4 q.rq
@@ -8,8 +8,8 @@ PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>

SELECT ?mol ?molLabel
SELECT ?molecule ?moleculeLabel ?formula
WHERE {
?mol wdt:P31/wdt:P279* wd:Q66587127 .
?molecule wdt:P274 ?formula .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

0 comments on commit 7d3ccba

Please sign in to comment.
You can’t perform that action at this time.