Question: What does Rock of Ages (whose release region is Belgium) have to do with Ireland (the release region of Black Swan)?
Choices:
sibling
eye color
works in collection
set in period
has edition
nutrient
film release region
named after
lifestyle
model item
Program:
function: Find
inputs: Belgium
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Rock of Ages
function: And
dependencies: 1
2
function: Find
inputs: Black Swan
function: Relate
dependencies: 4
inputs: film release region
forward
function: Find
inputs: Ireland
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rock of Ages" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Belgium" . ?e_2 <pred:name> "Ireland" . ?e_4 <film_release_region> ?e_2 . ?e_4 <pred:name> "Black Swan" . ?e_1 ?p ?e_2 .  }
Answer: film release region