query-ea27c8495ec5f2b7155af77456122887
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 ?item ?title WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam wikibase:endpoint "en.wikipedia.org" .
bd:serviceParam mwapi:gcmtitle "Category:Culture" .
bd:serviceParam mwapi:generator "categorymembers" .
bd:serviceParam mwapi:gcmprop "title" .
bd:serviceParam mwapi:gcmlimit "max" .
bd:serviceParam mwapi:gcmnamespace "14" .
?title wikibase:apiOutput mwapi:title .
?item wikibase:apiOutputItem mwapi:item .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?title"):::projected
c16(["14"]):::literal
c20(["mwapi:item"]):::iri
c14(["max"]):::literal
c12(["title"]):::literal
c10(["categorymembers"]):::literal
c6(["en.wikipedia.org"]):::literal
c2(["bd:serviceParam"]):::iri
c8(["Category:Culture"]):::literal
c18(["mwapi:title"]):::iri
c4(["Generator"]):::literal
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c2 --"mwapi:api"--> c4
c2 --"mwapi:endpoint"--> c6
c2 --"mwapi:gcmtitle"--> c8
c2 --"mwapi:generator"--> c10
c2 --"mwapi:gcmprop"--> c12
c2 --"mwapi:gcmlimit"--> c14
c2 --"mwapi:gcmnamespace"--> c16
v1 --"mwapi:apiOutput"--> c18
v2 --"mwapi:apiOutputItem"--> c20
end