Question: The director of Up, released on 2009-05-13, was born in which US city?
Choices:
San Juan
Waukegan
Alton
Miami Beach
Dubuque
Bellevue
Bloomington
Brooklyn
Franklin
Melbourne
Answer: Bloomington
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <director> ?e_1 . ?e_2 <pred:name> "Up" . ?e_2 <publication_date> ?pv . ?pv <pred:date> "2009-05-13"^^xsd:date .   }
Program:
function: Find
inputs: Up
function: FilterDate
dependencies: 0
inputs: publication date
2009-05-13
=
function: Relate
dependencies: 1
inputs: director
forward
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: What
dependencies: 5