query-19488d62ed8053e97f4af1ffec6dfc0c
TODO
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#>
#defaultView:ImageGrid
SELECT ?item ?itemLabel ?name ?nameLabel ?image
WHERE
{
?article schema:about ?item ;
schema:isPartOf <https://en.wikipedia.org/> .
?item wdt:P21 wd:Q6581072 .
?item wdt:P735 ?name .
?name wdt:P31 wd:Q12308941
OPTIONAL {?item wdt:P18 ?image }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
LIMIT 200
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article")
v4("?image"):::projected
v2("?item"):::projected
v3("?name"):::projected
c13(["en"]):::literal
c5(["wd:Q6581072"]):::iri
c3([https://en.wikipedia.org/]):::iri
c8(["wd:Q12308941"]):::iri
c11(["bd:serviceParam"]):::iri
v1 --"schema:about"--> v2
v1 --"schema:isPartOf"--> c3
v2 --"wdt:P21"--> c5
v2 --"wdt:P735"--> v3
v3 --"wdt:P31"--> c8
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P18".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end