[Developers] Query Question
Ketan Anjaria
fire at kidbombay.com
Sat Jul 28 14:49:37 UTC 2007
I misspoke, I need to get the reverse, all the boards members of a
company.
Ketan Anjaria
fire at kidbombay.com
www.kidbombay.com
415.260.8742
f. 415.358.4278
On Jul 27, 2007, at 6:46 PM, Dae Park wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20070728/7af488a4/attachment-0001.html
More information about the Developers
mailing list