Question: Which person born in Detroit—where Judy Greer was born—is a costume designer for The Count of Monte Cristo (a story set in France)?
Choices:
Max Fleischer
Richard Gere
Harry Morgan
William Henry Harrison
Simon Cowell
David Byrne
Wayne Dyer
Gwen Wakeling
Rahul Dev Burman
George Miller
Program:
function: Find
inputs: Judy Greer
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Detroit
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: France
function: Relate
dependencies: 6
inputs: narrative location
backward
function: Find
inputs: The Count of Monte Cristo
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: costume designer
forward
function: FilterConcept
dependencies: 10
inputs: human
function: And
dependencies: 5
11
function: What
dependencies: 12
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Detroit" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Judy Greer" .  ?e_3 <costume_designer> ?e . ?e_3 <pred:name> "The Count of Monte Cristo" . ?e_3 <narrative_location> ?e_4 . ?e_4 <pred:name> "France" .  }
Answer: Gwen Wakeling