Question: When was James Brown (the one whose date of birth is 1970-01-03) a member of the Cleveland Browns until?
Choices:
1879-01-01
1846
1968-02-18
1997-08-31
1616-04-23
2000
1968-08-16
1805-12-26
1810
1807-03-04
Program:
function: Find
inputs: James Brown
function: FilterDate
dependencies: 0
inputs: date of birth
1970-01-03
=
function: Find
inputs: Cleveland Browns
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> "1970-01-03"^^xsd:date . ?e_2 <pred:name> "Cleveland Browns" . ?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: 2000