Question: What market town is the birthplace of Tony Curtis (who is educated at Goddard College) and has the postal code SA31-33?
Choices:
Chesterfield
John Zorn
Bury St Edmunds
It's a Wonderful Life
From the Earth to the Moon
Carmarthen
Pontefract
Sony
Burnley
Hitchin
Program:
function: Find
inputs: Goddard College
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Tony Curtis
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: market town
function: FindAll
function: FilterStr
dependencies: 6
inputs: postal code
SA31-33
function: FilterConcept
dependencies: 7
inputs: market town
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Tony Curtis" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Goddard College" .  ?e <postal_code> ?pv . ?pv <pred:value> "SA31-33" .  }
Answer: Carmarthen