Question: When was Tom McCarthy of the Pittsburgh Pirates born?
Choices:
1914-06-18
1918-11-04
1856-07-26
1961-05-09
1943
1931-04-26
1899-12-25
1893-10-02
1972-12-19
1884-05-22
Program:
function: Find
inputs: Pittsburgh Pirates
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Tom McCarthy
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Tom McCarthy" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Pittsburgh Pirates" .  ?e <date_of_birth> ?pv .  }
Answer: 1884-05-22