Question: What is the border between Wyoming (population 577080) and Montana (population 559456) about?
Choices:
Israel–Zimbabwe relations
Germany–Oman relations
Louisiana–Texas border
Montana–Wyoming border
Gabon–Taiwan relations
Egypt–Ethiopia relations
Greece–Malaysia relations
Switzerland–European Union relations
Brunei–Laos relations
Azerbaijan–Ukraine relations
Answer: Montana–Wyoming border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Wyoming" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "577080"^^xsd:double . ?e_2 <pred:name> "Montana" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "559456"^^xsd:double . ?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: Wyoming
function: FilterNum
dependencies: 0
inputs: population
577080
=
function: Find
inputs: Montana
function: FilterNum
dependencies: 2
inputs: population
559456
=
function: QueryRelationQualifier
dependencies: 1
3
inputs: shares border with
statement is subject of