[Developers] how to access to article/description?
Tim Sturge
tsturge at metaweb.com
Mon Jan 14 19:03:49 UTC 2008
The easiest thing to do is give the id of the article (
/guid/9202a8c04000641f800000000038e04d ) to the /api/trans/blurb service.
http://www.freebase.com/api/trans/blurb/guid/9202a8c04000641f800000000038e04d?maxlength=300
This returns the first maxlength characters of the wikipedia article:
"Sia Kate Isobelle Furler (pronounced['si?] or SEE-ah) (born December
18, 1975), also simply known as Sia, is an Australian pop singer. She is
noted for her work with Zero 7 and her two major label solo albums. Sia
Furler, born in Adelaide, South Australia, was part of the Australian
acid jazz formation".
Wikipedia articles are unfortunately a special case in our system.
Because they change so frequently we store only a soft reference to the
article by its wikipedia article id in the database, rather than a SHA
digest of the text itself. But the method of reference is the same; you
use the id of the article object.
Tim
lisa zorn wrote:
> Hi,
> My apologies if this is a dumb question, but how do I access the
> article/ description for something?
>
> I was looking at guid 9202a8c04000641f800000000038e046, which is Sia
> Furler; her page shows a description that appears to be from
> wikipedia: "Sia Kate Isobelle Furler (pronounced ...)"
>
> But my query,
>
> {
>
> "query" : [
>
> {
>
> "article" : {
>
> "*" : []
>
> },
>
> "guid" : "#9202a8c04000641f800000000038e046",
>
> "type" : "/common/topic"
>
> }
>
> ]
>
> }
>
>
> Gives me an article with guid 9202a8c04000641f800000000038e04d
>
> which has a source_uri of "http://wp/en/875477" but I can see no other
> data. How do I get to the article text?
>
>
> Thanks much,
>
> -lisa
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
More information about the Developers
mailing list