Question: How is California written by Joni Mitchell related to Reprise Records?
Choices:
twinned administrative body
parent club
record label
lowest point
airline alliance
currency
time period
parent astronomical body
student of
stated in
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "California" . ?e_1 <lyrics_by> ?e_3 . ?e_3 <pred:name> "Joni Mitchell" . ?e_2 <pred:name> "Reprise Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Joni Mitchell
function: Relate
dependencies: 0
inputs: lyrics by
backward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Find
inputs: Reprise Records
function: QueryRelation
dependencies: 3
4