daniel created this task.
daniel added projects: MediaWiki-extensions-WikibaseRepository, Wikidata, Story.

TASK DESCRIPTION

It would be really nice if we could indicate the unit of the literal we provide for the "plain" mapping of quantity values. The plain mapping should always be a single resources or literal. So the unit has to be either encoded into the string, or into the literal's type.

I think something like "12.7"^^wdu:Q828224 would be a nice representation. BUt we would have to somehow indicate that wdu:Q828224 is a subtype of xsd:decimal. The declaration of that relationship needs to be included in the RDF output, and we would have to make sure that consumers, in particular BlazeGraph, will understand hand treat the "12.7" as a decimal value, not a plain string.


TASK DETAIL
https://phabricator.wikimedia.org/T149335

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: Smalyshev, Aklapper, Jc3s5h, daniel, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to