Question: James Brown, born 1868-01-01, belonged to Aston Villa F.C. until what date?
Choices:
2007-04-17
1796
1939-07-29
2009-03-20
1707-04-30
1952-04-15
1937-01-21
2007-07-01
1893-01-01
1979-01-01
Program:
function: Find
inputs: James Brown
function: FilterDate
dependencies: 0
inputs: date of birth
1868-01-01
=
function: Find
inputs: Aston Villa F.C.
function: QueryRelationQualifier
dependencies: 1
2
inputs: member of sports team
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James Brown" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1868-01-01"^^xsd:date . ?e_2 <pred:name> "Aston Villa F.C." . ?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: 1893-01-01