Question: How is Franz Schubert (the one whose genre is classical music) related to classical music?
Choices:
instrumentation
hair color
culture
item operated
properties for this type
famous people
exported to
programming language
after a work by
registered with
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "classical music" . ?e_2 <pred:name> "Franz Schubert" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "classical music" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: classical music
function: Find
inputs: classical music
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Franz Schubert
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4