Question: How is Insidious from the UK connected to Japan?
Choices:
approved by
industry
organisation directed from the office or person
mouth of the watercourse
located on astronomical location
diaspora
film release region
notable work
sexual orientation
talk show guest
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Insidious" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Japan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Insidious
function: And
dependencies: 1
2
function: Find
inputs: Japan
function: QueryRelation
dependencies: 3
4