Question: What is the relationship between Newton (the one that is the headquarter location of Shanachie Records) and the United States of America?
Choices:
registered with
architectural style
affiliation
official color
original film format
author
field of this occupation
home venue
health specialty
country
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Newton" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> "Shanachie Records" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shanachie Records
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Newton
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4