[Developers] Compound/Standard Type
Torbin Pace
torbin.pace at juggle.com
Tue Apr 1 21:57:56 UTC 2008
Hi,
I am currently trying to figure out how to determine whether or not a type
is Standard/Compound/Enumerated etc. through use of the mql api.
Right now I am pulling in a listing of types by domain and I'm wondering if
there is a specific property that shows the value I'm looking for, or if
there are a set of properties that I need to look at.
For reference, the query I'm currently using to get the type information is
pasted in below. If anybody can point me in the right direction, I would
appreciate it. Thanks.
{
"query" : [
{
"domains" : [
{
"id" : null,
"name" : null,
"type" : "/type/domain",
"types" : [
{
"/freebase/type_profile/instance_count" : null,
"/type/reflect/any_reverse" : {
"limit" : 1,
"link" : {
"master_property" : "/freebase/type_hints/hinted_type"
},
"mediator" : null,
"optional" : true,
"type" : "/freebase/type_hints"
},
"id" : null,
"name" : null,
"optional" : true,
"properties" : [],
"sort" : "name"
}
]
}
],
"name" : null,
"type" : "/freebase/domain_category"
}
]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080401/b4684000/attachment.htm
More information about the Developers
mailing list