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, confidence=0.4, support=20)
where "document" is some string. How do I take what I have down previously and use it on my own instance?
I have tried to replace http://spotlight/dbpedia.org/rest/annotate
with http://xxxx.compute-1.amazonaws.com/rest/annotate
, but this is incorrect.
Any assistance would be much appreciated! Thanks!