Question: Ohio shares which of its borders with Michigan?
Choices: Australia–Norway relations
Michigan–Ohio border
Indiana–Ohio border
China–Tajikistan border
Montenegro–Ukraine relations
Syria–European Union relations
Netherlands–Taiwan relations
Saudi Arabia–Serbian relations
Italy–Pakistan relations
Germany-Guinea relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ohio" . ?e_2 <pred:name> "Michigan" . ?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: Ohio
function: Find
inputs: Michigan
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of
Answer: Michigan–Ohio border