query-45e9f9fa0763da19224ac07240dcb45e
All approved minerals ]reply[19:50, 15 June 2022 (UTC)) talk (YuangaHi! I'm updating mineral articles in catalan wikipedia and I'd like to know if I can find at someway all the approved minerals by IMA in any place inside Wikidata. It would be a fantastic tool to easily check our missing minerals. Thanks in advance! ]reply[09:34, 19 June 2022 (UTC)) talk (Chris.urs-oYou only need to update the most recent minerals. Regards -- en:List_of_minerals_recognized_by_the_International_Mineralogical_Association Wikidata:Mineralogy task force/"New" minerals Wikidata:WikiProject_Mineralogy/Mineral_list#Auxiliary_listsHello Yuanga. I only update two mineral lists: I suppose Yuanga rather asks if they can use Wikidata to query the data. I believe something like this should yield all currently valid minerals:
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?min ?minLabel ?imaLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
VALUES ?ima {wd:Q13406835 wd:Q13406846 wd:Q13406860 wd:Q13406872} # A, G, Rn, Rd
?min wdt:P31 wd:Q12089225.
?min wdt:P579 ?ima.
# OPTIONAL { ?cawiki schema:about ?min; schema:inLanguage "ca"; schema:isPartOf <https://ca.wikipedia.org/> }
# FILTER (!BOUND(?cawiki))
} ORDER BY ?minLabel