Question: What basketball team is Michael Jackson, born 1964-07-13, a member of?
Choices:
Sacramento Kings
Seattle Storm
Los Angeles Lakers
Villanova Wildcats men's basketball
Brooklyn Nets
Toronto Raptors
UCLA Bruins men's basketball
Cleveland Cavaliers
Utah Jazz
Maccabi Tel Aviv B.C.
Program:
function: Find
inputs: Michael Jackson
function: FilterDate
dependencies: 0
inputs: date of birth
1964-07-13
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: FilterConcept
dependencies: 2
inputs: basketball team
function: What
dependencies: 3
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:name> "Michael Jackson" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1964-07-13"^^xsd:date .   }
Answer: Sacramento Kings