Question: What is the relationship between The Smurfs, whose genre is children's television series, and William Hanna?
Choices:
destination point
approved by
archives at
use
executive producer
commissioned by
presenter
diaspora
located in the administrative territorial entity
original language of film or TV show
Answer: executive producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Smurfs" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "children's television series" . ?e_2 <pred:name> "William Hanna" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: children's television series
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Smurfs
function: And
dependencies: 1
2
function: Find
inputs: William Hanna
function: QueryRelation
dependencies: 3
4