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