Lucas_Werkmeister_WMDE added a comment.
In T240675#5739162 <https://phabricator.wikimedia.org/T240675#5739162>, @Lucas_Werkmeister_WMDE wrote: > Looks like lexicographical data types are missing from the data type definititions: I think this was a red herring, sorry. WikibaseLexeme defines that the `value-type` corresponding to `PT:wikibase-lexeme` and (form, sense) is `wikibase-entityid`, and `VT:wikibase-entityid` is defined. The problem is that the actual value type is `bad` rather than `wikibase-entityid`, which as @Michael said comes from an `UnDeserializableValue`. This also affects the JSON output: $ curl -s 'https://www.wikidata.org/wiki/Special:EntityData/Q16502.json' | jq '.entities.Q16502.claims.P6254[0].mainsnak.datavalue' { "value": { "entity-type": "lexeme", "numeric-id": 5203, "id": "L5203" }, "type": "wikibase-entityid", "error": "Can not parse id 'L5203' to build EntityIdValue with" } I guess an entity ID parser for Lexemes is for some reason only registered when viewing Lexeme entities? TASK DETAIL https://phabricator.wikimedia.org/T240675 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Addshore, Lucas_Werkmeister_WMDE, Michael, darthmon_wmde, DannyS712, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Jdforrester-WMF, Mbch331, Rxy, Jay8g, Krenair
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs