Question: What is the relationship between The Maltese Falcon, which started in 1930, and San Francisco, where Fat Wreck Chords is headquartered?
Choices:
capital of
sidekick of
presenter
published in
next higher rank
part of
industry
license
month of the year
narrative location
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Maltese Falcon" . ?e_1 <inception> ?pv . ?pv <pred:year> 1930 . ?e_2 <pred:name> "San Francisco" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Fat Wreck Chords" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Maltese Falcon
function: FilterYear
dependencies: 0
inputs: inception
1930
=
function: Find
inputs: Fat Wreck Chords
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: Find
inputs: San Francisco
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5