query-a78f24670bc6823edbe347c4b56fc3b2
Check if creators from a specific collection have a Wikipedia article
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 DISTINCT ?creator ?creatorLabel ?article WHERE {
?p wdt:P195 wd:Q2365880.
?p wdt:P170 ?creator.
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,en". }
?article schema:about ?creator; schema:inLanguage ?lang .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?article"):::projected
v2("?creator"):::projected
v4("?lang")
v1("?p")
c2(["wd:Q2365880"]):::iri
c5(["bd:serviceParam"]):::iri
c7(["nl,en"]):::literal
v1 --"wdt:P195"--> c2
v1 --"wdt:P170"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
v3 --"schema:about"--> v2
v3 --"schema:inLanguage"--> v4