Question: Who was born in Regina, where the local dialing code is 306, and is a voice actor in South Park (the one that has Joe Strummer as a voice actor)?
Choices:
Sylvester Stallone
Kyle McCulloch
William Henry Harrison
Jennifer Aniston
Richard Gere
Leslie Nielsen
Rahul Dev Burman
Cheech Marin
Max Fleischer
Tim Armstrong
Answer: Kyle McCulloch
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Regina" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "306" .  ?e_2 <voice_actor> ?e . ?e_2 <pred:name> "South Park" . ?e_2 <voice_actor> ?e_3 . ?e_3 <pred:name> "Joe Strummer" .  }
Program:
function: Find
inputs: Regina
function: FilterStr
dependencies: 0
inputs: local dialing code
306
function: Relate
dependencies: 1
inputs: place of birth
backward
function: FilterConcept
dependencies: 2
inputs: human
function: Find
inputs: Joe Strummer
function: Relate
dependencies: 4
inputs: voice actor
backward
function: Find
inputs: South Park
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: voice actor
forward
function: FilterConcept
dependencies: 8
inputs: human
function: And
dependencies: 3
9
function: What
dependencies: 10