Re: [web-annotation] Language Literals not supported within the Body

@iherman 
:( I'm sorry to hear that this was decision. I was tracked with some 
more important work in these days and I couldn't answer your last 
comment. But I will still answer it now .. at least for documentation.

Of corse the provided example is not valid json. I just wanted to 
"pseudo encode" the information that is expected to be provided by the
 user.

If it is about how would I encode the information, I would propose 
this format:
"body": { 
  "@type": "TextualBody", 
  "text": [
        { "@value": "Happy New Year", "@language": "en" }
        { "@value": "Froehes Neues Jahr", "@language": "de" }
        { "@value": "La multi ani", "@language": "ro" }
  ] 
 }

The question is if this is the appropriate format for automatic 
conversion to RDF/XML in something like
oa:hasBody [
        a oa:TextualBody;
        oa:text [
                        "Happy New Year"@en;
                        "Froehes Neues Jahr"@de;
                        "La multi ani"@ro
                ];     
    ] .
(I'm not an expert of turtle format .. so please feel free to correct 
the turtle representation)

-- 
GitHub Notification of comment by gsergiu
Please view or discuss this issue at 
https://github.com/w3c/web-annotation/issues/149#issuecomment-183472197
 using your GitHub account

Received on Friday, 12 February 2016 20:12:59 UTC