W3C home > Mailing lists > Public > public-annotation@w3.org > November 2015

Re: [web-annotation] Embedded Targets

From: Sarven Capadisli via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Nov 2015 21:05:10 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-154539555-1446843910-sysbot+gh@w3.org>
It is along the lines of oa:TextualBody and oa:text. Practically the 
same example as in http://www.w3.org/TR/annotation-model/#textual-body
 (all the bits for hasBody) but for hasTarget. So like:
```
<http://example.org/#qux> a oa:Annotation ;
    oa:hasTarget <http://example.org/#target> ;
    oa:hasBody <http://example.org/#body> .

<http://example.org/#target>
        a oa:TextualBody;
        oa:text "foo <em>bar</em> baz" ;
        dc:language "en" ;
        dc:format "text/html" .

<http://example.org/#body>
        a oa:TextualBody;
        oa:text "<p>Comment<p>" ;
        dc:language "en" ;
        dc:format "text/html" .
```

-- 
GitHub Notif of comment by csarven
See 
https://github.com/w3c/web-annotation/issues/105#issuecomment-154539555
Received on Friday, 6 November 2015 21:05:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:42 UTC