Question: How is Long Beach—which is run by a mayor—related to Michael Stulberg?
Choices:
record label
country
designed by
mother
software engine
studies
religious order
place of birth
subsidiary
heritage designation
Program:
function: Find
inputs: Michael Stuhlbarg
function: Find
inputs: mayor
function: Relate
dependencies: 1
inputs: office held by head of government
backward
function: Find
inputs: Long Beach
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Stuhlbarg" . ?e_2 <pred:name> "Long Beach" . ?e_2 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> "mayor" . ?e_1 ?p ?e_2 .  }
Answer: place of birth