query-7bf614d228bf40f242c0dfb0ccc32b20
title:Description containing SELECT ?item ?itemLabel ?itemDescription 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 "Alman politikacılar". bd:serviceParam mwapi:gsrlimit "max". ?item wikibase:apiOutputItem mwapi:title. } ?item schema:description ?itemDescription. FILTER (LANG(?itemDescription) = "tr") FILTER CONTAINS(?itemDescription, "Alman politikacılar") }
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Description containing
SELECT ?item ?itemLabel ?itemDescription
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 "Alman politikacılar".
bd:serviceParam mwapi:gsrlimit "max".
?item wikibase:apiOutputItem mwapi:title.
}
?item schema:description ?itemDescription.
FILTER (LANG(?itemDescription) = "tr")
FILTER CONTAINS(?itemDescription, "Alman politikacılar")
}
Query found at
- https://www.wikidata.org/wiki/User:Ep%C3%ACdosis/Queries
- https://www.wikidata.org/wiki/User:Ep%C3%ACdosis/sandbox
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemDescription"):::projected
c6(["www.wikidata.org"]):::literal
c13(["max"]):::literal
c1(["Alman politikacılar"]):::literal
c10(["search"]):::literal
c4(["bd:serviceParam"]):::iri
c15(["mwapi:title"]):::iri
c8(["Generator"]):::literal
f0[["contains(?itemDescription,'Alman politikacılar')"]]
f0 --> v1
f1[["?itemDescription = 'tr'"]]
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"--> c1
c4 --"mwapi:gsrlimit"--> c13
v2 --"mwapi:apiOutputItem"--> c15
end
v2 --"schema:description"--> v1