Question: What is the connection between The Man in the Iron Mask (the one that has Jeremy Irons as a cast member) to United Kingdom?
Choices:
country of origin
filmography
sports season of league or competition
mother
movement
parent organization
kit supplier
composer
source of income
headquarters location
Program:
function: Find
inputs: Jeremy Irons
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Man in the Iron Mask
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Man in the Iron Mask" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jeremy Irons" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of origin