title: Using FreeBase to retrieve sports teams by league
body: <p>As shown here <a href="http://tinyurl.com/kw2z65f" rel="nofollow">http://tinyurl.com/kw2z65f</a> I am using the following query:</p>
  
  <pre><code>[{
    "type": "/sports/sports_team",
    "name": null,
    "limit": 300,
    "league": [{
      "type": "/sports/sports_league_participation",
      "name": null
    }]
  }]
  </code></pre>
  
  <p>You'll see that it returns some of the following teams; however, I would like to filter it by league; I only want NBA basketball teams.</p>
  
  <pre><code>{
    "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"
  },
  </code></pre>
  
  <p>Note:  I have tried <code>"name":"National Basketball Association"</code>, etc. but nothing seems to work.</p>
  
  <p>How can I filter FreeBase by league?</p>