You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2013/01/25 20:25:12 UTC
[jira] [Commented] (MARMOTTA-34) Literals with language tag should
not have a type
[ https://issues.apache.org/jira/browse/MARMOTTA-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562930#comment-13562930 ]
Andy Seaborne commented on MARMOTTA-34:
---------------------------------------
This changes in RDF 1.1
Such literals will have datatype rdf:langString.
SPARQL has already anticipated this:
datatype("foo"@en) => rdf:langString
If you are working in this area, then you might want to write defensive, future-proof code.
> Literals with language tag should not have a type
> -------------------------------------------------
>
> Key: MARMOTTA-34
> URL: https://issues.apache.org/jira/browse/MARMOTTA-34
> Project: Marmotta
> Issue Type: Bug
> Components: Libraries
> Reporter: Jakob Frank
> Assignee: Jakob Frank
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Currently, KiWiValueFactory sets the type of a Literal to string if nothing is explicitly set, even if there is a language tag provided.
> AFAIU, this is not the correct behaviour, Literals with a language tag are untyped.
> http://www.w3.org/TR/rdf-concepts/#section-Graph-Literal
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira