Reputation: 2522
I'm getting crazy trying to fetch properties description, i mean the ones that appear in the schema...
1) the text service doesn't find properties description: https://www.googleapis.com/freebase/v1/text/people/person/profession
2) properties doesn't include /common/topic so they haven't /common/topic/description?! am I right?
3) the /freebase/property_hint (or something...) doesn't work for descriptions...
thanks luca
Upvotes: 2
Views: 583
Reputation: 4603
The text for property descriptions is stored in /freebase/documented_object/tip. You can query it like this:
{
"id": "/people/person/profession",
"/freebase/documented_object/tip": null
}
To figure these sorts of problems out, I often find it useful to scroll through the raw Freebase triples for a topic like this:
http://dev.freebase.com/people/person/profession?links
There you can see the direct relationship between the schema and the data.
Upvotes: 1
Reputation: 10540
Just use the Text API with the property's ID e.g. https://www.googleapis.com/freebase/v1/text/type/property
As an aside, an object doesn't need to have a specific type have a property from that type, if you were, for example, to look at the /type/property object, you'd see that it does in fact have a /common/topic/article property that you could follow to lead eventually to the text blob, but using the Text API is way easier.
Upvotes: 0