Question: What is the subject of Louisiana (whose country is the United States of America) sharing a border with Arkansas?
Choices:
ministry of Jesus
Ireland–Zambia relations
Morocco–Tunisia relations
India–Japan relations
Indonesia–Iraq relations
Arkansas–Louisiana border
Russia–Senegal relations
Croatia–Libya relations
China–Kenya relations
Russia–European Union relations
Answer: Arkansas–Louisiana border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Louisiana" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Arkansas" . ?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: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Louisiana
function: And
dependencies: 1
2
function: Find
inputs: Arkansas
function: QueryRelationQualifier
dependencies: 3
4
inputs: shares border with
statement is subject of