Question: What is the relationship between Danville (the one whose inception time is 1792) and the United States of America?
Choices:
geography of topic
depicted by
medical treatment
child
foundational text
country
military casualty classification
stated in
seed team
ancestral home
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Danville" . ?e_1 <inception> ?pv . ?pv <pred:year> 1792 . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Danville
function: FilterYear
dependencies: 0
inputs: inception
1792
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2