w3c / sparql-dev

SPARQL dev Community Group
https://w3c.github.io/sparql-dev/
Other
121 stars 19 forks source link

Resolving labels with language negotiation #13

Open pietercolpaert opened 5 years ago

pietercolpaert commented 5 years ago

Wikidata describes a clear use case for resolving labels for entities and falling back when a language would not be available. See https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries#US_presidents_and_their_spouses

Can we come up with a proposal that standardizes this for all SPARQL query processors instead of having to rely on service-specific "connectors"?

VladimirAlexiev commented 5 months ago

@TallTed Blazegraph outputs the lang tags, Download>TSV (verbose) to see it.

@klinovp, please take a look at https://github.com/orgs/rdf-community/discussions/7 (that's hosted by Zazuko). The prev query and a much more complicated COALESCE query cause Cartesian Explosion on Stargod, so people use DISTINCT (a bad smell).