Question: Peter Pan, with Danny Kaye as a cast member, is related in what way to children's film?
Choices:
risk factor
platform
given name
screenwriter
office held by head of the organisation
vehicle normally used
continent
applies to jurisdiction
theme music
genre
Program:
function: Find
inputs: Danny Kaye
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Peter Pan
function: And
dependencies: 1
2
function: Find
inputs: children's film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Pan" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Danny Kaye" . ?e_2 <pred:name> "children's film" . ?e_1 ?p ?e_2 .  }
Answer: genre