Question: what is the relation between an English language movie Milan and a romance film?
Choices:
genre
properties for this type
child astronomical body
head coach
candidate
diplomatic relation
family name
sexual orientation
has quality
film distribute region
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Milan
function: And
dependencies: 1
2
function: Find
inputs: romance film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Milan" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "romance film" . ?e_1 ?p ?e_2 .  }
Answer: genre