List of steps to reproduce (step by step, including full links if applicable):
- I make a query like this:
SELECT ?title WHERE { hint:Query hint:optimizer "None". SERVICE wikibase:mwapi { bd:serviceParam wikibase:endpoint "www.wikidata.org"; # Set the project here wikibase:api "Generator"; mwapi:generator "recentchanges"; mwapi:grcnamespace "146"; # Restrict to lexemes mwapi:grctype "new"; mwapi:grcuser "Ainali";. # Your username ?title wikibase:apiOutputItem mwapi:title. } FILTER BOUND (?title) } LIMIT 1
What happens?:
It gives a result which in JSON looks like this:
{"head":{"vars":["title"]},"results":{"bindings":[{"title":{"type":"uri","value":"http://www.wikidata.org/entity/LEXEME:L496172"}}]}}
and the query service renders that as wd:LEXEME:L496172 which is a link that resolves to https://www.wikidata.org/wiki/Lexeme:LEXEME:L496172
which gives a 404 with the error message "This entity does not exist. "
What should have happened instead?:
I would have expected that title would either have the value of http://www.wikidata.org/entity/L496172 or that it would be a string with the value of Lexeme:L496172 (like in a regular API-call).