Question: What country holds Paterson that has the postal code 07543 and is the birthplace of David Silverman (whose date of birth is in 2000)?
Choices:
Burkina Faso
United States of America
Prussia
England
Holy Roman Empire
Costa Rica
Bulgaria
Greece
Aruba
Netherlands
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Silverman" . ?e_1 <date_of_birth> ?pv . ?pv <pred:year> 2000 . ?e_2 <pred:name> "Paterson" . ?e_2 <postal_code> ?pv_1 . ?pv_1 <pred:value> "07543" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: David Silverman
function: FilterYear
dependencies: 0
inputs: date of birth
2000
=
function: Find
inputs: Paterson
function: FilterStr
dependencies: 2
inputs: postal code
07543
function: QueryRelationQualifier
dependencies: 1
3
inputs: place of birth
country