Ah, great. Thanks for the answer! I'm glad to hear that it makes development faster :)

Will the forms be terms too? That *might* even be a solution for the multiscript issue.


On Wed, Nov 2, 2016, 14:42 Daniel Kinzler <daniel.kinzler@wikimedia.de> wrote:
Am 02.11.2016 um 21:53 schrieb Denny Vrandečić:
> Hi,
>
> I am not questioning or criticizing, just curious - why was it decided to
> implement lemmas as terms? I guess it is for code reuse purposes, but just
> wanted to ask.

Yes, ideed. We have code for rendering, serializing, indexing, and searching
Terms. We do not have any infrastructure for plain strings. We could also handle
it as a monolingual-text StringValue, but that offers less re-use, in particular
no search, and no batch lookup for rendering.

Also, conceptually, the lemma is rather similar to a label. And it's always *in*
a language. The only question is whether we only have one, or multiple (for
variants/scripts). But one will do for now.


--
Daniel Kinzler
Senior Software Developer

Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.

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