Hi David,
This is related to this issue:
https://github.com/dbpedia-spotlight/dbpedia-spotlight/issues/39
We will try to look at it as soon as we can. But, as Reinhard said, the
code is also available in case you need to get to it before us.
Cheers,
Pablo
On Wed, Jul 11, 2012 at 10:26 PM, Reinhard Schwab <
[email protected]> wrote:
> i can confirm that i also get different annotations when i retry the
> request.
> but im too busy now that i can debug this.
>
> david, if you dont mind to debug it, you can check out the source code
> with IntelliJ IDE.
> there is some scala support.
> there is a scala plugin for eclipse too.
>
> may be i can find some time next week to debug, but i dont want to promise
> now.
>
> regards
> reinhard
>
>
> On Wed, Jul 11, 2012 at 8:23 PM, David Gösenbauer <
> [email protected]> wrote:
>
>> Am 11.07.2012 19:27, schrieb David Gösenbauer:
>>
>> Am 10.07.2012 18:45, schrieb Pablo Mendes:
>>
>> David,
>> you can always check the list archives to see if your message was sent.
>>
>> Do you observe the same problem calling from cURL?
>>
>> Cheers,
>> pablo
>>
>> On Tue, Jul 10, 2012 at 5:45 PM, David Gösenbauer <
>> [email protected]> wrote:
>>
>>> Dear DBpedia-Spotlight Users and Devs!
>>>
>>> As I'm using dbp-spotlight for a project of mine I came across some
>>> weird behaviour. I'm using dbpsl via REST interface and I could see that if
>>> I provide the same data to it the results' similarity score I get differs
>>> though I don't alter any parameters.
>>>
>>> *The text would be:*
>>> *When we think about learning our ABCs, the alphabet and the basics of
>>> language come to mind—all vital for communication. Well, we live in a time
>>> when it seems the basic ABCs of Christianity are not being taught in
>>> America as they once were. Over the years, I've met many people who teach
>>> Sunday school (or lead a youth or adult Bible study) who have told me that
>>> so much of their material now seems so watered down. In fact, as someone
>>> said to me, “I'm tired of the fluff and stuff.”*
>>>
>>> *Parameters:*
>>> "confidence": "0.0"
>>> "support": "30"
>>> "types": ""
>>> "sparql": ""
>>> "policy": "whitelist"
>>>
>>> *(partial) Result 1:*
>>>
>>> {
>>> "URI":
>>> "http://dbpedia.org/resource/Learning"<http://dbpedia.org/resource/Learning>
>>> ,
>>> "support": "523",
>>> "types":
>>> "Freebase:/media_common/quotation_subject,Freebase:/media_common,Freebase:/projects/project_focus,Freebase:/projects,DBpedia:TopicalConcept",
>>> "surfaceForm": "learning",
>>> "offset": "20",
>>> * "similarityScore": "0.00971667468547821",*
>>> "percentageOfSecondRank": "-1.0"
>>> },
>>>
>>> *(partial) Result 2:*
>>>
>>> {
>>> "URI":
>>> "http://dbpedia.org/resource/Learning"<http://dbpedia.org/resource/Learning>
>>> ,
>>> "support": "523",
>>> "types":
>>> "Freebase:/media_common/quotation_subject,Freebase:/media_common,Freebase:/projects/project_focus,Freebase:/projects,DBpedia:TopicalConcept",
>>> "surfaceForm": "learning",
>>> "offset": "20",
>>> * "similarityScore": "0.011633150279521942",*
>>> "percentageOfSecondRank": "-1.0"
>>> },
>>>
>>> Funny thing is that those are the only variations I get when querieng
>>> the REST interface with the said parameters and text. Additionally those
>>> fluctuations don't seem to happen when using the demo and showing the
>>> n-best candidates!
>>>
>>> I hope we can fix this so I don't have to exclude the similarity from my
>>> equation. If there is any additional information I could provide just tell
>>> me :).
>>>
>>> Regards,
>>> David
>>>
>>> P.S.: If this double-posts I apologize for spamming but I wasn't sure
>>> if I had an active subscription. So I resubscribed and sent this again.
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>>
>> --
>> ---
>> Pablo N. Mendes
>> http://pablomendes.com
>> Events: http://wole2012.eurecom.fr (*Deadline: July 31st 2012*)
>>
>> Hey guys,
>>
>> I can give some more information after extensive testing. The described
>> behaviour only occurs when using the "Document" disambiguation. Not only
>> varies the similarity score but also the URI returned for the entity. Maybe
>> someone with insight to code can explain why this can be?
>>
>> Regards,
>> David
>>
>> Hi Pablo,
>>
>> please see for yourself that
>>
>> http://spotlight.dbpedia.org/rest/annotate?text=Artist%20%C2%AB%20David%20Philip%20G%C3%B6senbauer%20//%20Interactive
>> %20Design%20and%20Development%20This%20is%20the%20portfolio%20/%20blog%20of%20the%20Austrian%20Designer%20David%20Philip.%20He%20specialised%20in%20webdesign%20and%20-development.%20Currently%20he's%20studying%20at%20the%20University%20of%20Applied%20Sciences%20in%20Hagenberg,%20Austria.%20David%20Philip%20G%C3%B6senbauer%20//%20Interactive%20Design%20and%20Development%20ARTIST%20If%20you're%20interested%20check%20out%20my%20biography%20or%20download%20my%20curriculum%20vitae.%20Bio%20Heya,%20I%E2%80%99m%20David%20Philip%20G%C3%B6senbauer%20an%2025-year%20old%20Austrian%20student.%20I%20already%20hold%20a%20Bachelor%20of%20Science%20Degree%20(Mediatechnology%20and%20%E2%80%93%20design%20)%20and%20will%20continue%20my%20studies%20by%20entering%20the%20Masters%20program%20Interactive%20Media%20at%20the%20University%20of%20Applied%20Sciences%20Hagenberg%20in%20Austria.%20I%20love%20to%20unleash%20my%20creative%20potential%20by%20both%20coding%20and%20designing.%20I%20definitely%20benefi
>> t%20from%20being%20capable%20to%20do%20both.%20My%20technical%20comprehension%20and%20aesthetic%20sense%20make%20me%20a%20kind%20of%20a%20hybrid,%20paying%20of%20in%20flexibility.%20%E2%80%9CLess%20is%20more!%E2%80%9D%20I%20prefer%20to%20keep%20it%20simple.%20Throughout%20the%20process%20of%20designing,%20whether%20software%20/%20code%20or%20websites%20for%20example,%20I%20ask%20myself%20what%20I%20can%20get%20rid%20of%20instead%20of%20constantly%20asking%20myself%20what%20to%20add%20next.%20Please%20see%20for%20yourself%20and%20get%20yourself%20a%20picture%20of%20my%20work.%20Downloads%20Curriculum%20Vitae%20(English)%20Curriculum%20Vitae%20(German)%20Befriend%20%C2%A9%202009%20David%20Philip&support=100&confidence=0.0<http://spotlight.dbpedia.org/rest/annotate?text=Artist%20%C2%AB%20David%20Philip%20G%C3%B6senbauer%20//%20Interactive%20Design%20and%20Development%20This%20is%20the%20portfolio%20/%20blog%20of%20the%20Austrian%20Designer%20David%20Philip.%20He%20specialised%20in%20webdesign%20and%20-development.%20Currently%20he%27s%20studying%20at%20the%20University%20of%20Applied%20Sciences%20in%20Hagenberg,%20Austria.%20David%20Philip%20G%C3%B6senbauer%20//%20Interactive%20Design%20and%20Development%20ARTIST%20If%20you%27re%20interested%20check%20out%20my%20biography%20or%20download%20my%20curriculum%20vitae.%20Bio%20Heya,%20I%E2%80%99m%20David%20Philip%20G%C3%B6senbauer%20an%2025-year%20old%20Austrian%20student.%20I%20already%20hold%20a%20Bachelor%20of%20Science%20Degree%20%28Mediatechnology%20and%20%E2%80%93%20design%20%29%20and%20will%20continue%20my%20studies%20by%20entering%20the%20Masters%20program%20Interactive%20Media%20at%20the%20University%20of%20Applied%20Sciences%20Hagenberg%20in%20Austria.%20I%20love%20to%20unleash%20my%20creative%20potential%20by%20both%20coding%20and%20designing.%20I%20definitely%20benefit%20from%20being%20capable%20to%20do%20both.%20My%20technical%20comprehension%20and%20aesthetic%20sense%20make%20me%20a%20kind%20of%20a%20hybrid,%20paying%20of%20in%20flexibility.%20%E2%80%9CLess%20is%20more%21%E2%80%9D%20I%20prefer%20to%20keep%20it%20simple.%20Throughout%20the%20process%20of%20designing,%20whether%20software%20/%20code%20or%20websites%20for%20example,%20I%20ask%20myself%20what%20I%20can%20get%20rid%20of%20instead%20of%20constantly%20asking%20myself%20what%20to%20add%20next.%20Please%20see%20for%20yourself%20and%20get%20yourself%20a%20picture%20of%20my%20work.%20Downloads%20Curriculum%20Vitae%20%28English%29%20Curriculum%20Vitae%20%28German%29%20Befriend%20%C2%A9%202009%20David%20Philip&support=100&confidence=0.0>
>>
>> yields different results everytime you call it (You have to call it a
>> couple of times though). Can you confirm this behaviour on your machine as
>> well?
>>
>> Regards,
>> David
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
--
---
Pablo N. Mendes
http://pablomendes.com
Events: http://wole2012.eurecom.fr (*Deadline: July 31st 2012*)
------------------------------------------------------------------------------
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