Hi Pablo,
Annotating URLs working just fine, and thanks again for help. But there is
one "interesting" problem... If I want to annotate URL like this:
http://dx.doi.org/10.1109/FOSE.2007.11, and I have an access to this
article, I will god the error just like this page doesn't exists. On the
other hand, pages like this are very important for what I'm doing, since
most of the relevant concepts are there...
Is there anything I could do to annotate pages like this one?
Thanks,
Srecko
On Thu, Apr 11, 2013 at 1:13 AM, srecko joksimovic <
[email protected]> wrote:
> Thanks Pablo,
>
> actually that was the problem... :) now it works...
>
> Srecko
>
>
> On Thu, Apr 11, 2013 at 1:02 AM, Pablo N. Mendes <[email protected]>wrote:
>
>> Hi Srecko,
>> I have no idea about your Java code, but to annotate a URL all you need
>> to do is to pass a "&url=" parameter in the HTTP request instead of a
>> "&text=" parameter.
>>
>> Like this:
>>
>> http://spotlight.dbpedia.org/rest/annotate?url=https://pypi.python.org/pypi?%3Aaction=list_classifiers
>>
>> Cheers,
>> Pablo
>>
>>
>> On Wed, Apr 10, 2013 at 9:13 PM, srecko joksimovic <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> Currently I'm annotating messages using code like this:
>>> spotlightClient.DBPediaSpotLightGetRequest(CONFIDENCE, SUPPORT, TYPES,
>>> text); from Java application.
>>> Maybe I got confused, but how can I annotate URL instead of text?
>>>
>>> Thanks,
>>> Srecko
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Precog is a next-generation analytics platform capable of advanced
>>> analytics on semi-structured data. The platform includes APIs for
>>> building
>>> apps and a phenomenal toolset for data science. Developers can use
>>> our toolset for easy data analysis & visualization. Get a free account!
>>> http://www2.precog.com/precogplatform/slashdotnewsletter
>>> _______________________________________________
>>> Dbp-spotlight-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>>>
>>>
>>
>>
>> --
>>
>> Pablo N. Mendes
>> http://pablomendes.com
>>
>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users