which sports league draft is affiliated with a sports league draft pick of st. louis rams?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.05vsb7 m.02qw1zx m.0h1f4w6 m.0jkvk1_ m.09l0x9 m.03nt7j m.092j54 m.0g3zpp m.09gmt_
2005 NFL draft 2008 NFL draft 2013 NFL draft 2014 NFL draft 2006 NFL draft 2004 NFL draft 2003 NFL draft 2007 NFL draft 1996 NFL draft
class class entity
sports.sports_league_draft sports.sports_league_draft_pick m.06x76
sports.sports_league_draft sports.sports_league_draft_pick sports.professional_sports_team
Sports League Draft Sports League Draft Pick St. Louis Rams
none none none
sports.sports_league_draft.picks sports.sports_league_draft_pick.team
Picks Team
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :sports.sports_league_draft . 
?x1 :type.object.type :sports.sports_league_draft_pick . 
VALUES ?x2 { :m.06x76 } 
?x0 :sports.sports_league_draft.picks ?x1 . 
?x1 :sports.sports_league_draft_pick.team ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND sports.sports_league_draft (JOIN sports.sports_league_draft.picks (JOIN sports.sports_league_draft_pick.team m.06x76)))