query-1f3e52193e8fd0a0569bebd88c1c8b1f
Perohanych
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 ?title ?article
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "en.wikipedia.org".
bd:serviceParam wikibase:api "Generator".
bd:serviceParam mwapi:generator "categorymembers".
bd:serviceParam mwapi:gcmtitle "Category:International development agencies".
bd:serviceParam mwapi:gcmnamespace "0".
bd:serviceParam mwapi:gcmlimit "max".
bd:serviceParam mwapi:prop "langlinks".
bd:serviceParam mwapi:lllang "uk".
bd:serviceParam mwapi:lllimit "max".
?title wikibase:apiOutput mwapi:title.
?uklink wikibase:apiOutput "langlinks/ll/text()".
}
FILTER BOUND(?uklink)
BIND (IRI(CONCAT("https://en.wikipedia.org/wiki/", ENCODE_FOR_URI(?title))) AS ?article)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?article"):::projected
v2("?title"):::projected
v1("?uklink")
c14(["max"]):::literal
c22(["langlinks/ll/text()"]):::literal
c16(["langlinks"]):::literal
c8(["categorymembers"]):::literal
c12(["0"]):::literal
c4(["en.wikipedia.org"]):::literal
c2(["bd:serviceParam"]):::iri
c18(["uk"]):::literal
c21(["mwapi:title"]):::iri
c6(["Generator"]):::literal
c10(["Category:International development agencies"]):::literal
f0[["bound(?uklink)"]]
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:gcmtitle"--> c10
c2 --"mwapi:gcmnamespace"--> c12
c2 --"mwapi:gcmlimit"--> c14
c2 --"mwapi:prop"--> c16
c2 --"mwapi:lllang"--> c18
c2 --"mwapi:lllimit"--> c14
v2 --"mwapi:apiOutput"--> c21
v1 --"mwapi:apiOutput"--> c22
end
bind1[/"concat('https://en.wikipedia.org/wiki/',encode-for-uri(?title))"/]
v2 --o bind1
bind1 --as--o v3