[Developers] Query Question
Dae Park
daepark at metaweb.com
Sat Jul 28 01:46:06 UTC 2007
It looks like you are doing the right thing:
{
"q1":{
"query":{
"/business/board_member/board_memberships":[{
"field:company":{
"/common/topic/image":[{
"guid":null,
"limit":1,
"optional":true
}],
"id":null,
"name":null
},
"optional":true
}],
"name":"Danny Hillis"
}
}
}
will return all companies Danny Hillis is a board memer of. Am I
missing something?
-dae
On Jul 27, 2007, at 11:21 AM, Ketan Anjaria wrote:
> I have the following query
> {
> "q1":{
> "query":[{
> "/business/board_member/board_memberships":[{
> "field:company":{
> "/common/topic/image":[{
> "guid":null,
> "limit":1,
> "optional":true
> }],
> "id":null,
> "name":null
> },
> "optional":true
> }],
> "/business/company_founder/companies_founded":[{
> "/common/topic/image":[{
> "guid":null,
> "limit":1,
> "optional":true
> }],
> "id":null,
> "name":null,
> "optional":true
> }],
> "/business/employer/employees":[{
> "/business/employment_tenure/person":[{
> "/common/topic/image":[{
> "guid":null,
> "limit":1,
> "optional":true
> }],
> "id":null,
> "name":null
> }],
> "optional":true,
> "type":"/business/employment_tenure"
> }],
> "/people/person/employment_history":[{
> "/business/employment_tenure/company":[{
> "/common/topic/image":[{
> "guid":null,
> "limit":1,
> "optional":true
> }],
> "id":null,
> "name":null
> }],
> "optional":true,
> "type":"/business/employment_tenure"
> }],
> "id":null,
> "name":"ByteMobile",
> "type":"/common/topic"
> }]
> }
> }
>
> And I want to add a query that tells me all the companies a person
> is board member of. How do I do that?
>
>
> Ketan Anjaria
> fire at kidbombay.com
> www.kidbombay.com
> 415.260.8742
> f. 415.358.4278
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list