Question: What is the connection between English Civil War to England (the one that contains Wales)?
Choices: connects with
production company
location
source of income
diaspora
health specialty
partner
drafted by
architect
owned by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "English Civil War" . ?e_2 <pred:name> "England" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Wales" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English Civil War
function: Find
inputs: Wales
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: England
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: location