Questions tagged [spotlight-dbpedia]

For questions related to DBpedia Spotlight, a tool and a service for automatically annotating mentions of DBpedia resources in text.

Resources

49 questions
0
votes
1 answer

finding organization and industry/sector from string in dbpedia

I am generating a short list of 10 to 20 strings which I want to lookup on dbpedia to see if they have an organization tag and if so return the industry/sector tag. I have been looking at the SPARQLwrapper queries on their website but am having…
user1365234
  • 315
  • 1
  • 5
  • 16
0
votes
1 answer

How to avoid a bug in DBpedia Spotlight in python?

When I run this program it gives me an error in the text and I don't know why, I have tried to run it also from a file and it also gives me an error, how can it work? import json from SPARQLWrapper import SPARQLWrapper, JSON import requests import…
ProSyth
  • 167
  • 1
  • 5
  • 17
0
votes
2 answers

How to establish connection to use dbpediaSpotlight in python?

I'm programming python in Jupyter Notebook, but when I run this code: import requests import re import spotlight document = 'First documented in the 13th century, Berlin was the capital of the Kingdom of Prussia (1701–1918), the German Empire…
ProSyth
  • 167
  • 1
  • 5
  • 17
0
votes
2 answers

How to to convert my curl method to work in my javascript script?

Beginner in javascript, I'm looking for ways to convert my curl method to work in my javascript script. Here is my curl method: curl -X GET "http://model.dbpedia-spotlight.org/en/annotate?text=beyonce" -H "accept: text/html" My test with ajax…
Miley
  • 19
  • 4
0
votes
1 answer

getting resource name from text using pyspotlight tool

I am trying to find resource name from the text using pyspotlight.suppose the text is "Barack Obama is tall" ,then the program should return Barack Obama as dbpedia resource.But the program showing "equests.exceptions.HTTPError: 404 Client Error:…
0
votes
1 answer

installing DBpedia spotlight on windows 7

I'm using DBpedia spotlight web service on my project and it suddenly stop working, it does not annotate even the default text on it. I've searched the internet and it seems that I have to install the server on my laptop. But I don't understand…
Hanan Mahmoud
  • 65
  • 1
  • 1
  • 10
0
votes
1 answer

DBpedia Spotlight Statistical command line arguments

I found this article: DBpedia Statistical Spotlight installation I dont understand this line (broken up to separate the command line arguments): 4. run java -Xmx10G -Xms10G -jar dbpedia-spotlight-0.7.jar …
Hanan Mahmoud
  • 65
  • 1
  • 1
  • 10
0
votes
0 answers

Different Result on DBPedia Spotlight by using the code and DBPedia Spotlight endpoint

This is the main class in which query is being fired package extractKeyword; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import org.apache.commons.httpclient.Header; import…
Rituraj Singh
  • 579
  • 1
  • 5
  • 16
0
votes
1 answer

Information retrieval in dbpedia using spotlight

I have recently come across dbpedia-spotlight and I want to do an information retrieval. I have a set of queries and dbpedia and using Information retrieval I need to get the output. I was not able to understand the documentation so can you give me…
iLoveCamelCase
  • 450
  • 10
  • 21
0
votes
1 answer

Data in XML format with libcurl

I am looking for data in XML format from Dbpedia Spotlight but I still get it in HTML format. This is the code: #include #include std::string buffer; size_t curl_write( void *ptr, size_t size, size_t nmemb, void…
0
votes
1 answer

How to get the value of a resource which is a property of another resource in sparql query

how can get the value name of the capital city not the URI from this query SELECT ?capital WHERE { ?capital} In the above query I am getting the URI of the capital of…
user3335188
  • 99
  • 1
  • 6
0
votes
0 answers

dbpedia spotlight performance

I installed the dbpedia spotlight service according to: https://github.com/dbpedia-spotlight/dbpedia-spotlight/wiki/Run-from-a-JAR and installed the larger models. and ran 10 JSON text based queries from a small client program. The time for…
Niall
  • 51
  • 4
0
votes
1 answer

DBpedia Spotlight, SPARQL filter missing entires

I have trouble with the sparql option in DBpedia spotlight. My result set looks like this without a sparql…
user2498899
  • 153
  • 8
0
votes
1 answer

DBpedia Spotlight on my own instance

I have set up my own instance of dbpedia on an Amazon EC2 instance: http://xxxx.compute-1.amazonaws.com I had written code that access DBpedia like so: annotations = spotlight.annotate('http://spotlight.dbpedia.org/rest/annotate', document,…
user1011332
  • 773
  • 12
  • 27
0
votes
1 answer

Dbpedia-spotlight missing resource

I build QAS (Question Answering System ) and I use DBpedia as knowledge base so i need find resource in my question like (Algeria , Florida , barack obama ..) , i have problem when i use "dbpedia-spotlight Tool" i can't get all resource i need ,…
Adel
  • 5,341
  • 2
  • 21
  • 31