Question: I want to know the subject of the statement Rwanda has a border with Burundi.
Choices:
Russia–Uzbekistan relations
Poland–Uruguay relations
France–Saudi Arabia relations
Burundi–Rwanda border
Denmark–Montenegro relations
Mauritania–Western Sahara border
UEFA.com
Denmark–Vietnam relations
Indonesia–Nigeria relations
Son of God
Answer: Burundi–Rwanda border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rwanda" . ?e_2 <pred:name> "Burundi" . ?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: Rwanda
function: Find
inputs: Burundi
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of