query-4a113939f5b10c071e6b2c24113afcbb
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?label
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "www.wikidata.org" .
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam mwapi:generator "search" .
bd:serviceParam mwapi:gsrsearch 'inlabel:"Evropská silnice@cs"' .
bd:serviceParam mwapi:gsrlimit "max".
?item wikibase:apiOutputItem mwapi:title.
}
?item rdfs:label ?label
FILTER (LANG(?label) = "cs")
FILTER STRSTARTS(?label, "Evropská silnice ")
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?label"):::projected
c6(["www.wikidata.org"]):::literal
c14(["max"]):::literal
c12(["inlabel:"Evropská silnice@cs""]):::literal
c10(["search"]):::literal
c4(["bd:serviceParam"]):::iri
c16(["mwapi:title"]):::iri
c8(["Generator"]):::literal
f0[["starts-with(?label,'Evropská silnice ')"]]
f0 --> v1
f1[["?label = 'cs'"]]
f1 --> v1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c4 --"mwapi:endpoint"--> c6
c4 --"mwapi:api"--> c8
c4 --"mwapi:generator"--> c10
c4 --"mwapi:gsrsearch"--> c12
c4 --"mwapi:gsrlimit"--> c14
v2 --"mwapi:apiOutputItem"--> c16
end
v2 --"rdfs:label"--> v1