Question: Kevin Bacon, born 1971-11-27, studied at which university in the USA?
Choices:
McMaster University
University of Michigan
Indiana University of Pennsylvania
University of Melbourne
Miami University
San Diego State University
Johns Hopkins University
Virginia Commonwealth University
King's College London
Panjab University
Answer: Miami University
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Kevin Bacon" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1971-11-27"^^xsd:date .  ?e <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  }
Program:
function: Find
inputs: Kevin Bacon
function: FilterDate
dependencies: 0
inputs: date of birth
1971-11-27
=
function: Relate
dependencies: 1
inputs: educated at
forward
function: FilterConcept
dependencies: 2
inputs: university
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country
backward
function: FilterConcept
dependencies: 5
inputs: university
function: And
dependencies: 3
6
function: What
dependencies: 7