Re: ITS 2.0 example in web annotation

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