Question: What basketball team that has a member who is the person having the Instagram username kingjames until the ending date in 2010?
Choices:
Brooklyn Nets
Toronto Raptors
Miami Heat
Seattle Storm
Maccabi Tel Aviv B.C.
New Orleans Pelicans
Villanova Wildcats men's basketball
Philadelphia 76ers
Cleveland Cavaliers
Utah Jazz
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
kingjames
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: member of sports team
forward
function: QFilterYear
dependencies: 3
inputs: end time
2010
=
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 <Instagram_username> ?pv . ?pv <pred:value> "kingjames" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2010 .  }
Answer: Cleveland Cavaliers