Question: What is the subject of the statement that Colorado (the one whose demonym is Coloradan) shares border with Kansas (the one that is the narrative location of Capote)?
Choices:
Egypt–Russia relations
Colorado–Kansas border
Denmark–Kenya relations
China–Holy See relations
Denmark–Taiwan relations
Jamaica–Taiwan relations
Turkey–Ukraine relations
Ethiopia–Taiwan relations
Iceland–Latvia relations
India–Kazakhstan relations
Program:
function: Find
inputs: Colorado
function: FilterStr
dependencies: 0
inputs: demonym
Coloradan
function: Find
inputs: Capote
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: Kansas
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: shares border with
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Colorado" . ?e_1 <demonym> ?pv . ?pv <pred:value> "Coloradan" . ?e_2 <pred:name> "Kansas" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Capote" . ?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 .  }
Answer: Colorado–Kansas border