Question: How is the Metro-Goldwyn-Mayer -distributed Emma related to the genre of drama film?
Choices:
head of state
writing system
interested in
genre
composer
language used
architect
color
successful candidate
sidekick of
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Emma" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Metro-Goldwyn-Mayer" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Emma
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4