query-cf9be2e3449af7b1beb96957c85694e2
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 ?item ?label ?itemDescription
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Generator";
mwapi:generator "search";
mwapi:gsrsearch "'Politiker und Politiker'"@de;
mwapi:language "de";
mwapi:gsrlimit "max".
?item wikibase:apiOutputItem mwapi:title.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de". }
}
Query found at
- https://www.wikidata.org/wiki/User:M2k~dewiki/Tools
- https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2020/12
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c4(["www.wikidata.org"]):::literal
c12(["de"]):::literal
c18(["#91;AUTO_LANGUAGE#93;,de"]):::literal
c10([s'Politiker und Politiker'^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"]):::literal
c14(["max"]):::literal
c8(["search"]):::literal
c2(["bd:serviceParam"]):::iri
c16(["mwapi:title"]):::iri
c6(["Generator"]):::literal
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:gsrsearch"--> c10
c2 --"mwapi:language"--> c12
c2 --"mwapi:gsrlimit"--> c14
v1 --"mwapi:apiOutputItem"--> c16
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c2 --"mwapi:language"--> c18
end