Am 02.08.2016 um 20:19 schrieb Markus Kroetzsch:
Oh, there is a little misunderstanding here. I have
not suggested to create a
property "number of sitelinks in this document". What I propose instead is to
create a property "number of sitelinks for the document associated with this
entity". The domain of this suggested property is entity. The advantage of this
proposal over the thing that you understood is that it makes queries much
simpler, since you usually want to sort items by this value, not documents. One
could also have a property for number of sitelinks per document, but I don't
think it has such a clear use case.
"number of sitelinks for the document associated with this entity" strikes me
as
semantically odd, which was the point of my earlier mail. I'd much rather have
"number of sitelinks in this document". You are right that the primary use
would
be to "rank" items, and that it would be more conveniant to have the count
assocdiated directly with the item (the entity), but I fear it will lead to a
blurring of the line between information about the entity, and information about
the document. That is already a common point of confusion, and I'd rather keep
that separation very clear. I also don't think that one level of indirection
would be orribly complicated.
To me it's just natural to include the sitelink info on the same level as we
provide a timestmap or revision id: for the document.
--
Daniel Kinzler
Senior Software Developer
Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.