Question: When did Carlos Ruiz (the one whose date of birth is 1979-09-15) stop being a member of the Philadelphia Union?
Choices:
1940-06-22
1900
1967
2013-10-01
1819-03-04
2007-04-11
635
2011-01-01
1987-11-11
1999-01-01
Program:
function: Find
inputs: Carlos Ruiz
function: FilterDate
dependencies: 0
inputs: date of birth
1979-09-15
=
function: Find
inputs: Philadelphia Union
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Carlos Ruiz" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1979-09-15"^^xsd:date . ?e_2 <pred:name> "Philadelphia Union" . ?e_1 <member_of_sports_team> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 2011-01-01