Re: Question on annotation of HTML content

> Am 06.11.2015 um 16:31 schrieb Ivan Herman <ivan@w3.org>:
> 
>> 
>> On 6 Nov 2015, at 15:35, Felix Sasaki <fsasaki@w3.org> wrote:
>> 
>> Hello all,
>> 
>> apologies for this newbie question. I am looking for an example of annotating HTML content. Imagine I have the following document:
>> 
>> <!DOCTYPE html>
>> <html lang="en">
>> <head>
>>   <meta charset="utf-8">
>>   <title>some html doc</title>
>> 
>> </head>
>> <body>
>>  <p>Welcome to <strong>Berlin</strong>!</p>
>> </body>
>> </html>
>> 
>> I want to create an annotation that uses the web annotation model, uses a text selector for the string „Berlin“ and adds an annotation body containing a triple with the „translate“ predicate from the ITS 2.0 ontology, see
>> http://www.essepuntato.it/lode/https://raw.githubusercontent.com/w3c/itsrdf/master/its-rdf.rdf#d4e52
>> expressing that the string should not be translated. How would this look like?
> 
> I am not sure what you intend to do. Do you mean that the target should be a graph containing a specific triple?


the target should be a selector selecting the string „Berlin“. The annotation body should contain a tripe like

"body": {
    
"itsrdf:translate" : "no",

… }

So I am wondering how to express this target and how the body should look like.

- Felix


> 
> Ivan
> 
> 
>> 
>> Thanks for the feedback in advance,
>> 
>> Felix
> 
> 
> ----
> Ivan Herman, W3C
> Digital Publishing Lead
> Home: http://www.w3.org/People/Ivan/ <http://www.w3.org/People/Ivan/>
> mobile: +31-641044153
> ORCID ID: http://orcid.org/0000-0003-0782-2704 <http://orcid.org/0000-0003-0782-2704>

Received on Friday, 6 November 2015 16:07:47 UTC