Question: What is the subject of 'shares border with' in 'Arizona (the one that is a part of contiguous United States) shares border with Colorado (the one that shares border with Oklahoma) " ?
Choices:
Bulgaria–Sudan relations
Colombia–Ecuador relations
Australia–Malta relations
New Jersey–New York border
China and the United Nations
Four Corners Monument
2011 MTV Movie Awards
Tajikistan–Uzbekistan border
China–Morocco relations
14th Academy Awards
Answer: Four Corners Monument
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Arizona" . ?e_3 <has_part> ?e_1 . ?e_3 <pred:name> "contiguous United States" . ?e_2 <pred:name> "Colorado" . ?e_4 <shares_border_with> ?e_2 . ?e_4 <pred:name> "Oklahoma" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: contiguous United States
function: Relate
dependencies: 0
inputs: has part
forward
function: Find
inputs: Arizona
function: And
dependencies: 1
2
function: Find
inputs: Oklahoma
function: Relate
dependencies: 4
inputs: shares border with
forward
function: Find
inputs: Colorado
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: shares border with
statement is subject of