Question: What is the subject of the statement that Colorado (that is the filming location of Fast Food Nation) shares a border with Wyoming (whose number of vehicles per 1000 people is 1140)?
Choices:
India–South Sudan relations
Colorado–Wyoming border
Bangladesh–Ukraine relations
Brazil–China relations
Bulgaria–Canada relations
United Kingdom–Venezuela relations
Lebanon–Syria relations
Iraq–European Union relations
Albania–Russia relations
China–South Sudan relations
Answer: Colorado–Wyoming border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Colorado" . ?e_3 <filming_location> ?e_1 . ?e_3 <pred:name> "Fast Food Nation" . ?e_2 <pred:name> "Wyoming" . ?e_2 <vehicles_per_capita_(1000)> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1140"^^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: Fast Food Nation
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Colorado
function: And
dependencies: 1
2
function: Find
inputs: Wyoming
function: FilterNum
dependencies: 4
inputs: vehicles per capita (1000)
1140
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: shares border with
statement is subject of