Question: What person was born in Philadelphia (that contains La Salle University) and lives in Portland (that is the headquarters of Kill Rock Stars)?
Choices:
Gary Dourdan
Todd Haynes
Patti LaBelle
David Byrne
Stanley Clarke
Richard Gere
Sylvester Stallone
William Henry Harrison
Peter Buck
Larry Miller
Answer: Larry Miller
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Philadelphia" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "La Salle University" .  ?e <residence> ?e_3 . ?e_3 <pred:name> "Portland" . ?e_4 <headquarters_location> ?e_3 . ?e_4 <pred:name> "Kill Rock Stars" .  }
Program:
function: Find
inputs: La Salle University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Philadelphia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: Kill Rock Stars
function: Relate
dependencies: 6
inputs: headquarters location
forward
function: Find
inputs: Portland
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: residence
backward
function: FilterConcept
dependencies: 10
inputs: human
function: And
dependencies: 5
11
function: What
dependencies: 12