Question: Someone with the pseudonym Cap belonged to which basketball team until 1969?
Choices:
UCLA Bruins men's basketball
Cleveland Cavaliers
Seattle Storm
Maccabi Tel Aviv B.C.
Toronto Raptors
Utah Jazz
Milwaukee Bucks
Los Angeles Lakers
Brooklyn Nets
New Orleans Pelicans
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pseudonym
Cap
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: member of sports team
forward
function: QFilterYear
dependencies: 3
inputs: end time
1969
=
function: FilterConcept
dependencies: 4
inputs: basketball team
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> "Cap" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1969 .  }
Answer: UCLA Bruins men's basketball