Question: Which baseball team is Bill Evans (the one whose date of birth is 1893-02-10) a part of?
Choices:
Tokyo Yakult Swallows
San Diego Padres
Chicago White Sox
Cleveland Indians
Tohoku Rakuten Golden Eagles
Pittsburgh Pirates
Boston Red Sox
Montreal Expos
Milwaukee Brewers
Colorado Rockies
Program:
function: Find
inputs: Bill Evans
function: FilterDate
dependencies: 0
inputs: date of birth
1893-02-10
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: FilterConcept
dependencies: 2
inputs: baseball team
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Bill Evans" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1893-02-10"^^xsd:date .   }
Answer: Pittsburgh Pirates