Get group members

If I look at the Freebase page for the "311" group, I see Chad Sexton's listing.

http://www.freebase.com/view/en/311

I'm trying to run a query for group members:

{
            "name"  : "311",
            "/music/artist/album" : [{"name":null, "id":null, "optional": true}],
            "type|=" : ["/music/artist","/music/musical_group"],
            "/award/award_winner/awards_won" : ["award":null, "optional" => true],
            "/award/award_nominated_work/award_nominations" : ["award":null, "optional" => true],
            "/music/artist/supporting_artists":[{}]
}

      

I thought support_artists would return the names of the group members, but the array is always empty.

But if I query all the properties related to Chad Sexton, I don't see any mention of 311. But he is listed as a contributor on the Freebase website webpage (that's right).

{
  "*":    null,
  "name": "Chad Sexton",
  "type": "/music/artist"
}

      

How can I capture the names of the group members along with the group information?

+2


a source to share


1 answer


If you go to the edit page for 311 , you will see that the supporting artists property is empty. Group members are listed below under Music Group Type .

You can view the group members in your request by changing it like this:



{
  "name":          "311",
  "/music/artist/album": [{
    "name":     null,
    "id":       null,
    "optional": true
  }],
  "type|=": [
    "/music/artist",
    "/music/musical_group"
  ],
  "/award/award_winner/awards_won": [{
    "award":    null,
    "optional": true
  }],
  "/award/award_nominated_work/award_nominations": [{
    "award":    null,
    "optional": true
  }],
  "/music/musical_group/member": [{
    "member" : {}
  }]
}​

      

The reason you have to query for a member inside / music / music_group / member is because Music Group Membership is a Composite Value Type . This makes the query a little more complex, but it is necessary to properly model complex group relationships that can have many different members connecting, leaving, and switching roles throughout the life of the group.

+3


a source







All Articles