query-a7529b574f57d8daf73ac87739468a24
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?wikipedia_article ?wikidata_item WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "atj.wikipedia.org" .
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam mwapi:generator "allpages" .
bd:serviceParam mwapi:prop "pageprops|images|info" .
bd:serviceParam mwapi:inprop "url" .
?wikipedia_article wikibase:apiOutputURI "@fullurl" .
?image wikibase:apiOutput "images/im/@title" .
?wikidata_item wikibase:apiOutputItem "pageprops/@wikibase_item" .
}
FILTER(!BOUND(?image))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?image")
v3("?wikidata_item"):::projected
v2("?wikipedia_article"):::projected
c4(["atj.wikipedia.org"]):::literal
c18(["pageprops/@wikibase_item"]):::literal
c12(["url"]):::literal
c14(["@fullurl"]):::literal
c2(["bd:serviceParam"]):::iri
c10(["pageprops|images|info"]):::literal
c8(["allpages"]):::literal
c16(["images/im/@title"]):::literal
c6(["Generator"]):::literal
f0[["not bound(?image)"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c2 --"mwapi:endpoint"--> c4
c2 --"mwapi:api"--> c6
c2 --"mwapi:generator"--> c8
c2 --"mwapi:prop"--> c10
c2 --"mwapi:inprop"--> c12
v2 --"mwapi:apiOutputURI"--> c14
v1 --"mwapi:apiOutput"--> c16
v3 --"mwapi:apiOutputItem"--> c18
end