Question: How is Charleston (the one that is the headquarter location of Charleston Battery) related to the United States of America?
Choices:
part of
had as last meal
works in collection
territory overlaps
approved by
original film format
programming language
country
item operated
head coach
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charleston" . ?e_3 <headquarters_location> ?e_1 . ?e_3 <pred:name> "Charleston Battery" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Charleston Battery
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Charleston
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4