Question: What is the connection between Johnny Mercer (the one that has the occupation of lyricist) to Savannah (the one whose population is 131510)?
Choices:
owned by
stated in
official language
place of birth
applies to jurisdiction
partner
has cause
film distribute region
significant event
writing system
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Johnny Mercer" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "lyricist" . ?e_2 <pred:name> "Savannah" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "131510"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: lyricist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Johnny Mercer
function: And
dependencies: 1
2
function: Find
inputs: Savannah
function: FilterNum
dependencies: 4
inputs: population
131510
=
function: QueryRelation
dependencies: 3
5