Question: Which person works in the Ottawa location and has the birth name of Joseph Philippe Pierre Yves Elliott Trudeau?
Choices:
James Brown
Sylvester Stallone
Simon Cowell
Richard Gere
Max Fleischer
William Henry Harrison
Neil Young
Stephen Harper
Pierre Trudeau
David Byrne
Program:
function: Find
inputs: Ottawa
function: Relate
dependencies: 0
inputs: work location
backward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: birth name
Joseph Philippe Pierre Yves Elliott Trudeau
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <work_location> ?e_1 . ?e_1 <pred:name> "Ottawa" .  ?e <birth_name> ?pv . ?pv <pred:value> "Joseph Philippe Pierre Yves Elliott Trudeau" .  }
Answer: Pierre Trudeau