Question: What is the relationship between The Wizard of Oz distributed by TV Tokyo and film based on literature?
Choices:
writing system
source of income
tributary
used by
talk show guest
architectural style
genre
musical conductor
place of burial
parent club
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Wizard of Oz" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "TV Tokyo" . ?e_2 <pred:name> "film based on literature" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: TV Tokyo
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Wizard of Oz
function: And
dependencies: 1
2
function: Find
inputs: film based on literature
function: QueryRelation
dependencies: 3
4