query-8f5a6f53b04509b41cbb946b0093136f
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 ?title
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "en.wikipedia.org" .
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam mwapi:generator "search" .
bd:serviceParam mwapi:gsrsearch 'intitle:"in fiction"' .
bd:serviveParam mwapi:gsrnamespace "0" .
bd:serviceParam mwapi:gsrlimit "max" .
bd:serviceParam mwapi:gsrprop "redirecttitle" .
?title wikibase:apiOutput mwapi:title .
?redirecttitle wikibase:apiOutput "@redirecttitle" .
}
FILTER (! BOUND(?redirecttitle))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?redirecttitle")
v2("?title"):::projected
c15(["max"]):::literal
c20(["@redirecttitle"]):::literal
c10(["intitle:"in fiction""]):::literal
c13(["0"]):::literal
c4(["en.wikipedia.org"]):::literal
c8(["search"]):::literal
c11(["bd:serviveParam"]):::iri
c2(["bd:serviceParam"]):::iri
c19(["mwapi:title"]):::iri
c6(["Generator"]):::literal
c17(["redirecttitle"]):::literal
f0[["not bound(?redirecttitle)"]]
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:gsrsearch"--> c10
c11 --"mwapi:gsrnamespace"--> c13
c2 --"mwapi:gsrlimit"--> c15
c2 --"mwapi:gsrprop"--> c17
v2 --"mwapi:apiOutput"--> c19
v1 --"mwapi:apiOutput"--> c20
end