Question: How is U-571 related to San Francisco whose population is 678974?
Choices: filming location
shares border with
honorific suffix
sport
doctoral advisor
interested in
illustrator
award received
home venue
quotes work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "U-571" . ?e_2 <pred:name> "San Francisco" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "678974"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: U-571
function: Find
inputs: San Francisco
function: FilterNum
dependencies: 1
inputs: population
678974
=
function: QueryRelation
dependencies: 0
2
Answer: filming location