0
運動隊如圖所示http://tinyurl.com/kw2z65f我使用下面的查詢:使用遊離鹼來檢索聯賽
[{
"type": "/sports/sports_team",
"name": null,
"limit": 300,
"league": [{
"type": "/sports/sports_league_participation",
"name": null
}]
}]
你會看到它返回下面的一些球隊;不過,我想用聯盟來過濾它;我只想要NBA籃球隊。
{
"name": "Detroit Pistons",
"league": [{
"name": null,
"type": "/sports/sports_league_participation"
}],
"type": "/sports/sports_team"
},
{
"name": "Detroit Lions",
"league": [
{
"name": null,
"type": "/sports/sports_league_participation"
},
{
"name": null,
"type": "/sports/sports_league_participation"
},
{
"name": null,
"type": "/sports/sports_league_participation"
}
],
"type": "/sports/sports_team"
},
{
"name": "Detroit Tigers",
"league": [{
"name": null,
"type": "/sports/sports_league_participation"
}],
"type": "/sports/sports_team"
},
{
"name": "Detroit Red Wings",
"league": [{
"name": null,
"type": "/sports/sports_league_participation"
}],
"type": "/sports/sports_team"
},
注:我已經試過"name":"National Basketball Association"
等,但似乎沒有任何工作。
如何通過聯盟過濾FreeBase?