Question: how is The Lady whose release region is Portugal related to Canada.
Choices:
located on astronomical location
has parts of the class
separated from
based on
film release region
risk factor
product or material produced
position held
main subject
screenwriter
Program:
function: Find
inputs: Portugal
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lady
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Lady" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Portugal" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Answer: film release region