Question: Where does Colorado (the narrative location of WarGames) share a border with Oklahoma?
Choices:
Japan–South Africa relations
Hungary–Sweden relations
Canada–China relations
Storming of the Bastille
Germany–Philippines relations
Cuba–India relations
Iran–Uzbekistan relations
Papua New Guinea–Taiwan relations
Colorado–Oklahoma border
Kenya–Ukraine relations
Program:
function: Find
inputs: WarGames
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Colorado
function: And
dependencies: 1
2
function: Find
inputs: Oklahoma
function: QueryRelationQualifier
dependencies: 3
4
inputs: shares border with
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Colorado" . ?e_3 <narrative_location> ?e_1 . ?e_3 <pred:name> "WarGames" . ?e_2 <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 .  }
Answer: Colorado–Oklahoma border