I note that that version 0.2.5 of the wikidata stand-alone has a new
Mediawiki API service.
SELECT * WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Categories" .
bd:serviceParam wikibase:endpoint "en.wikipedia.org" .
bd:serviceParam mwapi:titles "Albert Einstein" .
?category wikibase:apiOutput mwapi:category .
?title wikibase:apiOutput mwapi:title .
}
}
This works great on
https://query.wikidata.org/, but when I enter it in
my local installation, I get an error with this line in my stack trace:
java.util.concurrent.ExecutionException:
java.util.concurrent.ExecutionException:
java.lang.IllegalArgumentException: Service URI
http://wikiba.se/ontology#mwapi is not allowed
It's not clear to me from reading the link below whether and how this
can be made to work on my local installation:
https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual/MWAPI#Ind….
I would benefit greatly from an example.
This looks like a great feature!
Thanks,
- Eric Scott