[Mulgara-general] How to filter localized string literals using ITQL?

Paul Gearon gearon at ieee.org
Thu Jan 19 21:50:38 UTC 2012


On Thursday, January 19, 2012, Frederic Bergeron <FBergeron at rocketmail.com>
wrote:
> Hi,
>
> I have some triples using string literals like this: 'hello'@en or
'bonjour'@fr.  I'm wondering how could I filter the result in function of a
specified language?
>
> I think in SPARQL, we would do something like this :
>
> PREFIX dc: <http://purl.org/dc/elements/1.1/>
> SELECT ?title
>  WHERE { ?x dc:title  "That Seventies Show"@en ;
>             dc:title  ?title .
>          FILTER langMatches( lang(?title), "FR" ) }
>
> How could I make the same thing in ITQL?

I think there is a way, but I'll have to check when I'm looking at the code
again.

Updates still require TQL (unfortunately), but there aren't too many
queries that can't be done with SPARQL. Is there a reason you need to be
using TQL?

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-general/attachments/20120119/31e0a0ba/attachment.html>


More information about the Mulgara-general mailing list