Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, Wikidata-Query-Service.
Herald added a subscriber: Aklapper.
Herald added a project: Discovery.

TASK DESCRIPTION

I find that even I specify the labels that the label service should provide – usually for some technical reason – I prefer to keep the ?variableLabel pattern, so the extra parameter triples are always ?variable rdfs:label ?variableLabel for several values of ?variable. I think it would be nice to have an abbreviation for this pattern, perhaps something like:

SERVICE wikibase:label {
  bd:serviceParam wikibase:language "en";
                  wikibase:autoLabel ?foo, ?bar, ?baz.
}

which would be equivalent to:

SERVICE wikibase:label {
  bd:serviceParam wikibase:language "en".
  ?foo rdfs:label ?fooLabel.
  ?bar rdfs:label ?barLabel.
  ?baz rdfs:label ?bazLabel.
}

What do you think @Smalyshev?

If you’d like, I could try to implement this myself, to get my feet wet in the query service itself :)


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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lucas_Werkmeister_WMDE, Smalyshev, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to