getString does not return language-tagged strings
getString
will currently return literals with datatype xsd:string
, but not rdf:langString
, which is what you get if you parse "string"@en
. This behavior might or might not be desired.
Suggestions:
a) make getString
return both kinds?
b) and/or give getString
a language
parameter to filter on specific languages?
Note for b: might want to filter with LANGMATCHES
rather than string equality (so en
matches en-us
but not the other way round).