query-3fcee7fcdcc88870fb9e74e40abdc31d
Suggested correction for itemsHi Dominic, for all items of this query: (Q1069725)page by (Q571)book . I intend to replace (Q571)book and not (Q1069725)page . But apparently, most of them are only (Q571)book (P31)instance of with the claim (Q657415)Cleveland Museum of Art (P195)collection You (and maybe other people), created a lot of items about the
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?label WHERE {
?item wdt:P195 wd:Q657415 ; wdt:P31 wd:Q571.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". ?item rdfs:label ?label. }
FILTER regex (?label, " page ").
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?label"):::projected
c7(["bd:serviceParam"]):::iri
c3(["wd:Q657415"]):::iri
c9(["en"]):::literal
c5(["wd:Q571"]):::iri
f0[["regex(?label,' page ')"]]
f0 --> v1
v2 --"wdt:P195"--> c3
v2 --"wdt:P31"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
v2 --"rdfs:label"--> v1
end