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.
I just proposed the simple and straightforward way to solve the
practical problem at hand. It leads to shorter, more readable queries
that execute faster. (I don't claim originality for this; it is the
obvious solution to the problem and most people would arrive at exactly
the same conclusion).
Your concern is based on the assumption that there is some kind of
psychological effect that a particular RDF encoding would have on
users. I don't think that there is any such effect. Our users will not
confuse the city of Paris with an RDF document just because of some data
in the RDF store.
Markus
--
Prof. Dr. Markus Kroetzsch
Knowledge-Based Systems Group
Faculty of Computer Science
TU Dresden
+49 351 463 38486