Hi Eric,
It seems that I recently introduced this bug. I wanted a way to catch
missing surface forms at evaluation time, so I raised this exception. I
forgot that the candidates interface tries to disambiguate all surface
forms at once, so this was a very stupid idea I had. I already have a fix
for it. I will redeploy ASAP.

Cheers,
Pablo

On Wed, Jun 20, 2012 at 11:08 PM, Eric Rozell <[email protected]> wrote:

> Hi,
>
> I'm interested in the "candidates" REST service, since I want to get a
> variety of candidates that might fit a particular surface form, rather than
> a single disambiguated entity.
>
> I'm trying to hit the public DBPedia Spotlight endpoint to put together a
> proof-of-concept application.  Once I do that, I need to look into a local
> solution.
>
> However, when I hit the candidates REST service, I often get an HTTP 400
> response that looks like the follow:
>
> Not found in index: SurfaceForm[(some string)] - at position *26* in -
> Text[... (some text containing string) ...]
>
> I'm curious if this is expected behavior for the candidates REST service.
>
> Cheers,
> -Eric Rozell
>
> On Jun 18, 2012, at 4:04 AM, Pablo Mendes wrote:
>
> Hi Stefano,
> Yes. There is a known issue with types.
> https://github.com/dbpedia-spotlight/dbpedia-spotlight/issues/59
>
> Does your experience confirm the description above? If you found further
> problems, please add to that issue. I will look into it as soon as possible.
>
> Cheers,
> Pablo
>
> On Mon, Jun 18, 2012 at 12:41 PM, Stefano Ortona <[email protected]>wrote:
>
>> Hello,
>>
>> I'm getting a problem with the types returned with the response. I'm
>> getting response as JSON format, but most of the times the field @types is
>> empty and I need to query the dbpedia SPARQL endpoint.
>> If you want, i can send some examples text submitted to the service (I'm
>> using the Web service).
>> Do you know anything about this?
>> Thanks,
>>
>> Stefano
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Dbp-spotlight-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Dbp-spotlight-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Dbp-spotlight-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to