query-96662f12068fbee0007aaf04d82bfaaf
title: Which are the available structure found in taxon on Wikidata, for which a CAS Registry Number is available? (limited to 1mio) SELECT DISTINCT ?structure ?cas ?date WHERE { { ?structure p:P703 []; # Found in taxon p:P231 ?casStatement . # Get the CAS Registry Number } { ?casStatement ps:P231 ?cas . OPTIONAL { ?casStatement prov:wasDerivedFrom ?casReference . { ?casReference pr:P248 wd:Q18907859 . } UNION { ?casReference pr:P248 wd:Q911173 . } OPTIONAL { ?casReference pr:P813 ?date . } } } } LIMIT 1000000 title: Which are the available structure found in taxon on Wikidata, for which a CAS Registry Number is available? (limited to 1mio) SELECT DISTINCT ?structure ?cas ?date WHERE { { ?structure p:P703 []; # Found in taxon p:P231 ?casStatement . # Get the CAS Registry Number } { ?casStatement ps:P231 ?cas . OPTIONAL { ?casStatement prov:wasDerivedFrom ?casReference . { ?casReference pr:P248 wd:Q18907859 . } UNION { ?casReference pr:P248 wd:Q911173 . } OPTIONAL { ?casReference pr:P813 ?date . } } } } LIMIT 1000000 title: Which are the available structure found in taxon on Wikidata, for which a CAS Registry Number is available? (limited to 1mio) SELECT DISTINCT ?structure ?cas ?date WHERE { { ?structure p:P703 []; # Found in taxon p:P231 ?casStatement . # Get the CAS Registry Number } { ?casStatement ps:P231 ?cas . OPTIONAL { ?casStatement prov:wasDerivedFrom ?casReference . { ?casReference pr:P248 wd:Q18907859 . } UNION { ?casReference pr:P248 wd:Q911173 . } OPTIONAL { ?casReference pr:P813 ?date . } } } } LIMIT 1000000 title: Which are the available structure found in taxon on Wikidata, for which a CAS Registry Number is available? (limited to 1mio) SELECT DISTINCT ?structure ?cas ?date WHERE { { ?structure p:P703 []; # Found in taxon p:P231 ?casStatement . # Get the CAS Registry Number } { ?casStatement ps:P231 ?cas . OPTIONAL { ?casStatement prov:wasDerivedFrom ?casReference . { ?casReference pr:P248 wd:Q18907859 . } UNION { ?casReference pr:P248 wd:Q911173 . } OPTIONAL { ?casReference pr:P813 ?date . } } } } LIMIT 1000000 title: Which are the available structure found in taxon on Wikidata, for which a CAS Registry Number is available? (limited to 1mio) SELECT DISTINCT ?structure ?cas ?date WHERE { { ?structure p:P703 []; # Found in taxon p:P231 ?casStatement . # Get the CAS Registry Number } { ?casStatement ps:P231 ?cas . OPTIONAL { ?casStatement prov:wasDerivedFrom ?casReference . { ?casReference pr:P248 wd:Q18907859 . } UNION { ?casReference pr:P248 wd:Q911173 . } OPTIONAL { ?casReference pr:P813 ?date . } } } } LIMIT 1000000 title: Which are the available structure found in taxon on Wikidata, for which a CAS Registry Number is available? (limited to 1mio) SELECT DISTINCT ?structure ?cas ?date WHERE { { ?structure p:P703 []; # Found in taxon p:P231 ?casStatement . # Get the CAS Registry Number } { ?casStatement ps:P231 ?cas . OPTIONAL { ?casStatement prov:wasDerivedFrom ?casReference . { ?casReference pr:P248 wd:Q18907859 . } UNION { ?casReference pr:P248 wd:Q911173 . } OPTIONAL { ?casReference pr:P813 ?date . } } } } LIMIT 1000000
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
#title: Which are the available structure found in taxon on Wikidata, for which a CAS Registry Number is available? (limited to 1mio)
SELECT DISTINCT ?structure ?cas ?date WHERE {
{
?structure p:P703 []; # Found in taxon
p:P231 ?casStatement . # Get the CAS Registry Number
}
{
?casStatement ps:P231 ?cas .
OPTIONAL {
?casStatement prov:wasDerivedFrom ?casReference .
{ ?casReference pr:P248 wd:Q18907859 . }
UNION
{ ?casReference pr:P248 wd:Q911173 . }
OPTIONAL { ?casReference pr:P813 ?date . }
}
}
}
LIMIT 1000000
Query found at
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/de
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/en
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/fr
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/it
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/nl
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry_Natural_products/ru