Question: What is the relationship between Aladdin (the one whose script is wrote by Guy Ritchie) and romance film?
Choices: has part
military branch
film distribute region
culture
depicts
award received
opposite of
properties for this type
genre
cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Aladdin" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Guy Ritchie" . ?e_2 <pred:name> "romance film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Guy Ritchie
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Aladdin
function: And
dependencies: 1
2
function: Find
inputs: romance film
function: QueryRelation
dependencies: 3
4
Answer: genre