query-3298fceeb311402926733e826a79e3f9
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?item ?title ?c WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam wikibase:endpoint "en.wikipedia.org" .
bd:serviceParam mwapi:gcmtitle "Category:State parks of Connecticut" .
bd:serviceParam mwapi:generator "categorymembers" .
bd:serviceParam mwapi:gcmprop "ids|title|type" .
bd:serviceParam mwapi:gcmlimit "max" .
?item wikibase:apiOutputItem mwapi:item .
?title wikibase:apiOutput mwapi:title .
}
filter exists{ ?item wdt:P625 [] }
?item wdt:P625 ?c
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?c"):::projected
v1("?item"):::projected
v2("?title"):::projected
a1((" "))
c17(["mwapi:item"]):::iri
c15(["max"]):::literal
c11(["categorymembers"]):::literal
c9(["Category:State parks of Connecticut"]):::literal
c7(["en.wikipedia.org"]):::literal
c3(["bd:serviceParam"]):::iri
c19(["mwapi:title"]):::iri
c13(["ids|title|type"]):::literal
c5(["Generator"]):::literal
f0[[" "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P625"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"wdt:P625"--> a1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c3 --"mwapi:api"--> c5
c3 --"mwapi:endpoint"--> c7
c3 --"mwapi:gcmtitle"--> c9
c3 --"mwapi:generator"--> c11
c3 --"mwapi:gcmprop"--> c13
c3 --"mwapi:gcmlimit"--> c15
v1 --"mwapi:apiOutputItem"--> c17
v2 --"mwapi:apiOutput"--> c19
end
v1 --"wdt:P625"--> v3