freme-project / e-Entity

Apache License 2.0
1 stars 1 forks source link

Wrong URLs #38

Closed jnehring closed 8 years ago

jnehring commented 8 years ago

This request

http://api-dev.freme-project.eu/current/e-entity/dbpedia-spotlight/documents?confidence=0.2&language=en&informat=text&input=Welcome to Berlin!

produces this output (excerpt):

<http://freme-project.eu/char=0,18>
        a                     nif:RFC5147String , nif:Context , nif:Sentence ;
        nif:anchorOf          "Welcome to Berlin!" ;
        nif:beginIndex        "0" ;
        nif:endIndex          "18" ;
        nif:firstWord         

I believe the resource URI should be http://freme-project.eu/#char=0,18 - note the #

m1ci commented 8 years ago

fixed, check: curl -v -X POST "http://api-dev.freme-project.eu/current/e-entity/dbpedia-spotlight/documents?confidence=0.2&language=en&informat=text&input=Welcome+to+Berlin."

jnehring commented 8 years ago

I tested and it works fine. Thanks for the quick update!