Am 30.08.2013 17:21, schrieb Denny Vrandečić:
I do see an advantage of stating the property datatype in a snak in the
external JSON representation, and am trying to understand what prevents us
from doing so.

Not much, the SnakSerializer would need access to the PropertyDataTypeLookup service, injected via the SerializerFactory. SnakSerializer already has:
// TODO: we might want to include the data type of the property here as well

-- daniel

_______________________________________________
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech

Reply via email to