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

> In my example I just wanted to post a comment (in something like 
twitter) 
> "Happy New Year"@en/"Froehes Neues Jahr"@de/"La multi ani"@ro 
<https://github.com/ro> and I would like that my romanian friend see 
the text deplayed in romanian, the austrian ones in german and the 
rest in english...
> 

This is the approach I would be pretty much opposed to, sorry. 
Introducing such a microsyntax means that an Annotation cannot be 
handled by a standard JSON, or JSON-LD tool. 

Actually, the proposed syntax is not acceptable JSON. It should be 
something like

"property" : "'Happy New Year'@en"

which is especially ugly. Even if we accept this, 

* If I forget about RDF, the current approach works well for pure JSON
 tools and users.
* If I add RDF, the standard conversion from JSON-LD to RDF would be 
erroneous, it would generate "'Happy New Year'@en"^^xsd:string, which 
is of course valid RDF but not what you would expect. Meaning that the
 JSON-LD to RDF conversion should be adapted for annotations







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

Received on Tuesday, 9 February 2016 07:39:14 UTC