Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Types Being Returned using monthly build of models #23

Open
kdward opened this issue Dec 7, 2017 · 4 comments
Open

No Types Being Returned using monthly build of models #23

kdward opened this issue Dec 7, 2017 · 4 comments

Comments

@kdward
Copy link

kdward commented Dec 7, 2017

Running the server pointed at the latest models from http://downloads.dbpedia-spotlight.org/monthly_build/models/en/ results in no types being returned by the example text:

curl http://localhost:2222/rest/annotate   -H "Accept: text/xml"   --data-urlencode "text=Brazilian state-run giant oil company Petrobras signed a three-year technology and research cooperation agreement with oil service provider Halliburton."   --data "confidence=0"   --data "support=0"
<?xml version="1.0" encoding="utf-8"?>
<Annotation text="Brazilian state-run giant oil company Petrobras signed a three-year technology and research cooperation agreement with oil service provider Halliburton." confidence="0.0" support="0" types="" sparql="" policy="whitelist">
<Resources>
<Resource URI="http://dbpedia.org/resource/Brazil" support="95617" types="" surfaceForm="Brazilian" offset="0" similarityScore="0.9476330743637952" percentageOfSecondRank="0.0546964397251261"/>
<Resource URI="http://dbpedia.org/resource/Giant" support="1630" types="" surfaceForm="giant" offset="20" similarityScore="0.8491284931535805" percentageOfSecondRank="0.15984183965968377"/>
<Resource URI="http://dbpedia.org/resource/Petroleum" support="14548" types="" surfaceForm="oil company" offset="26" similarityScore="0.6478659224548402" percentageOfSecondRank="0.532568572617261"/>
<Resource URI="http://dbpedia.org/resource/Petrobras" support="746" types="" surfaceForm="Petrobras" offset="38" similarityScore="1.0" percentageOfSecondRank="0.0"/>
<Resource URI="http://dbpedia.org/resource/Sign_language" support="1848" types="" surfaceForm="signed" offset="48" similarityScore="0.7572051510363451" percentageOfSecondRank="0.15818448512547723"/>
<Resource URI="http://dbpedia.org/resource/Technology" support="12406" types="" surfaceForm="technology" offset="68" similarityScore="0.9935341438769555" percentageOfSecondRank="0.006385575253761328"/>
<Resource URI="http://dbpedia.org/resource/Cooperation" support="668" types="" surfaceForm="cooperation" offset="92" similarityScore="0.7265890021764683" percentageOfSecondRank="0.2855282935938623"/>
<Resource URI="http://dbpedia.org/resource/Petroleum" support="14548" types="" surfaceForm="oil" offset="119" similarityScore="0.9481608096582461" percentageOfSecondRank="0.05447434846074574"/>
<Resource URI="http://dbpedia.org/resource/Service_provider" support="318" types="" surfaceForm="service provider" offset="123" similarityScore="0.9397239980786181" percentageOfSecondRank="0.055727768829113095"/>
<Resource URI="http://dbpedia.org/resource/Halliburton" support="702" types="" surfaceForm="Halliburton" offset="140" similarityScore="0.9999999998930207" percentageOfSecondRank="0.0"/>
</Resources>
</Annotation>

The 2016-04 models do return types successfully: http://downloads.dbpedia-spotlight.org/2016-04/

@Kivin1
Copy link

Kivin1 commented Sep 5, 2018

hi , the 2016-04 link is not there now. could you update the link.
By the way ,have you tired out the 2016-04 recently? i tried out it but it still doesn't work. Types are remain empty.

@sandroacoelho
Copy link
Collaborator

Hi @Kivin1, @kdward

The latest model has a bug with types. I have started to fix it here, but I didn't finish yet.

I'm planning to deliver a new model until Dec 2018. Maybe you want to help me with it. Please ping me if you are in.

Best,

@lhausmann
Copy link

Hey, I'm having the same issue with models I'm building locally. Is there any known work-around/solution?

@rmitsch
Copy link

rmitsch commented Aug 5, 2019

Hey, I'm having the same issue with models I'm building locally. Is there any known work-around/solution?

Would be interested in that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants