Question: How is baroque pop related to Harry Nilsson?
Choices: famous people
theme music
located on terrain feature
editor
month of the year
has parts of the class
seed team
medical treatment
located on astronomical location
sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "baroque pop" . ?e_2 <pred:name> "Harry Nilsson" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "songwriter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: baroque pop
function: Find
inputs: songwriter
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Harry Nilsson
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: famous people