W3C home > Mailing lists > Public > public-annotation@w3.org > April 2016

Re: ITS 2.0 example in web annotation

From: Raphaël Troncy <raphael.troncy@eurecom.fr>
Date: Thu, 14 Apr 2016 21:19:56 +0200
To: Felix Sasaki <fsasaki@w3.org>, Benjamin Young <bigbluehat@hypothes.is>
Cc: Ivan Herman <ivan@w3.org>, W3C Public Annotation List <public-annotation@w3.org>, Paolo Ciccarese <paolo.ciccarese@gmail.com>
Message-ID: <570FED5C.9030309@eurecom.fr>
Hello Felix,

> curl -X POST --header "Content-Type: text/plain" --header "Accept:
> text/n3"
> "http://api.freme-project.eu/current/e-entity/freme-ner/documents?input=Welcome%20to%20Marlene%20Dietrich%20and%20Berlin&informat=text&outformat=turtle&language=en&dataset=dbpedia&mode=all&filter=freme-ner-output-as-web-annotation“

The output below is supposed to be the result of a NER/NEL service on 
this input text, as modeled according to the Web Annotation model, right?

> [ a       <http://www.w3.org/ns/oa#Annotation> ;
>    <http://www.w3.org/ns/oa#hasTarget>
>            [ itsrdf:taClassRef
>   "http://nerd.eurecom.fr/ontology#Person,
> http://dbpedia.org/ontology/Agent, http://dbpedia.org/ontology/Person" ;
>              itsrdf:taConfidence  "0.9719457193919854"^^xsd:double ;
>              itsrdf:taIdentRef    dbpedia:Marlene_Dietrich ;
>              <http://www.w3.org/ns/oa#hasSelector>
>                      [ a
>   <http://www.w3.org/ns/oa#TextPositionSelector> ;
>                        <http://www.w3.org/ns/oa#end>  "27"^^xsd:int ;
>                        <http://www.w3.org/ns/oa#start>
>                                "11"^^xsd:int
>                      ] ;
>              <http://www.w3.org/ns/oa#hasSource>
>                      <http://freme-project.eu/#char=11,27>
>            ]
> ] .

Did you do not forget to include have oa:hasBody in your annotation?
Do you really want to mint <http://freme-project.eu/#char=11,27> as source?

   Raphaël

-- 
Raphaël Troncy
EURECOM, Campus SophiaTech
Data Science Department
450 route des Chappes, 06410 Biot, France.
e-mail: raphael.troncy@eurecom.fr & raphael.troncy@gmail.com
Tel: +33 (0)4 - 9300 8242
Fax: +33 (0)4 - 9000 8200
Web: http://www.eurecom.fr/~troncy/
Received on Thursday, 14 April 2016 19:20:30 UTC

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