Hello all friends,

I want to write a query for retrieving rdfs:label's in a
localization-capable way. I.e., I want to be able to do something like

select ?s, ?label where { ?s rdfs:label ?label FILTER(
langMatches(?label, "ml_IN, en_IN") ). }

In other words, I want a "cascade" of languages i.e., select the ml_IN
label if it exists, else fallback to the en_IN label, else fallback to
label with no language set.

Is this possible in Virtuoso SPARQL ? from the langMatches spec on the
W3C site and the RFC, I think it is not possible. Could someone give
some hint how I can achieve this effectively ?

Regards
Rajeev J Sebastian

Reply via email to