Question: Which border does Serbia have in common with Croatia?
Choices:
Iceland–Philippines relations
Denmark–Ghana relations
Philippines–United Arab Emirates relations
Guatemala–United States relations
Mongolia–Japan relations
Croatia–Serbia border
Bhutan–Nepal relations
India–South Sudan relations
India–Nepal border
China–Mongolia relations
Program:
function: Find
inputs: Serbia
function: Find
inputs: Croatia
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Serbia" . ?e_2 <pred:name> "Croatia" . ?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 .  }
Answer: Croatia–Serbia border