Question: What is the subject of 'shares borders with' within 'Ireland (the one that is the release region of Punch-Drunk Love) shares border with United Kingdom' ?
Choices:
Denmark–Philippines relations
Ireland–United Kingdom border
Albania–China relations
Germany–Venezuela relations
Saudi Arabia–United States relations
China–Italy relations
Poland–Saudi Arabia relations
Canada–Qatar relations
Jordan–Taiwan relations
causes of World War II
Answer: Ireland–United Kingdom border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ireland" . ?e_3 <film_release_region> ?e_1 . ?e_3 <pred:name> "Punch-Drunk Love" . ?e_2 <pred:name> "United Kingdom" . ?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: Punch-Drunk Love
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Ireland
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelationQualifier
dependencies: 3
4
inputs: shares border with
statement is subject of