Question: What is the connection between Morocco (the one that origins from United States of America) to Academy Award for Best Cinematography?
Choices:
item operated
mouth of the watercourse
use
legal form
doctoral student
penalty
nominated for
instrument
quotes work
make-up artist
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Morocco
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Cinematography
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Morocco" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Academy Award for Best Cinematography" . ?e_1 ?p ?e_2 .  }
Answer: nominated for