query-cabe2915e35a3388d5b7528466373d17
Mwapi service not working for the last couple of days (September 30)Task T263952PhabricatorTracked in
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 *
{
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org" .
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam mwapi:generator "search" .
bd:serviceParam mwapi:gsrsearch "test" .
bd:serviceParam mwapi:gsrlimit "max" .
bd:serviceParam mwapi:gsrnamespace "0" .
?article wikibase:apiOutput mwapi:title .
?ns wikibase:apiOutput "@ns" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article"):::projected
v2("?ns"):::projected
c4(["www.wikidata.org"]):::literal
c10(["test"]):::literal
c12(["max"]):::literal
c17(["@ns"]):::literal
c14(["0"]):::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:gsrlimit"--> c12
c2 --"mwapi:gsrnamespace"--> c14
v1 --"mwapi:apiOutput"--> c16
v2 --"mwapi:apiOutput"--> c17
end