IMPORT <https://www.wikidata.org/wiki/Special:EntitySchemaText/E239>
PREFIX E239: <https://www.wikidata.org/wiki/Special:EntitySchemaText/E239#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
# Example SPARQL query: select * where { ?x wdt:P31 wd:Q11173 ; wdt:P231 [] } limit 5
start = @<#wikidata-with-cas>
<#wikidata-with-cas> @ E239:wikidata-chemical-compound AND {
wdt:P231 .{1} ; # CAS registry number
}