[Developers] Full article text
brendan
brendan at metaweb.com
Mon Mar 31 19:22:46 UTC 2008
note: not all freebase topics have an equivalent wikipedia article
(one can consider freebase topics a superset of wikipedia articles) so
your code might handle the case where there is no wikipedia article,
in which case you might look to see if the freebase article exists:
{
"/common/topic/alias" : [],
"/common/topic/article" : {
"id" : null
},
"id" : "/topic/en/radiohead",
}
brendan
On Mar 31, 2008, at 11:34 AM, John Giannandrea wrote:
>
> Stephen Lau wrote:
>> Is there a way to get the full article text, instead of just an
>> excerpt. e.g. for the Radiohead article, I get the following URL:
>> http://www.freebase.com/api/trans/raw/guid/9202a8c04000641f800000000004c272
>> which cuts off after a certain amount of text. Does Freebase cache
>> the
>> full text of the article from Wikipedia (or at least the full
>> abstract
>> text)?
>
> Hi
> We dont mirror the entire wikipedia article directly, but we do
> provide the wikipedia key so that you can get the article from
> wikipedia.
> For example.
>
> /topic/en/radiohead has property "/wikipedia/topic/en_id" :
> "38252"
>
> Which allows you to fetch:
> http://en.wikipedia.org/wiki/index.html?curid=38252
>
> As others have pointed out wikipedia has several ways to get their
> full text
> http://en.wikipedia.org/wiki/index.html?curid=38252&action=render
>
> More options are available via their API.
> http://en.wikipedia.org/w/api.php
>
> -jg
>
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list