Manybubbles added a comment.

In https://phabricator.wikimedia.org/T95779#1201191, @Smalyshev wrote:

> I think in this case we shouldn't mess with the data. Rather, we'd have 
> something like function bestLabel(item, languages) e.g. bestLabel(wd:Q123, 
> 'en', 'de', 'ru', 'es') which would try to find labels on any language but if 
> not just return something like 'Q123'. The thing is not all queries even need 
> labels... and for those that do it we can not predict what people would 
> actually want there - simple lookup, hierarchy lookup, which languages, etc.


That'd be nice but the reality right now is that bestLabel would be super slow 
without some work in blazegraph.  The singleLabel option is optional.  You 
could just not specify it and we'd leave the data alone.

> I think throwing out label data that we don't want is ok, but adding is not 
> good as it may be confused with actual data.


Yeah.  +1.  I'll fix it in a few minutes.


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

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

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

To: Manybubbles
Cc: Manybubbles, Aklapper, Smalyshev, jkroll, Wikidata-bugs, Jdouglas, aude, 
GWicke, daniel, JanZerebecki



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

Reply via email to