Question: Which person was born in Annapolis (the one that is the twinned administrative body of Tallinn) ?
Choices:
Graeme Revell
George Sanders
September
James Stewart
Vladimir Nabokov
Sylvester Stallone
Yoram Globus
Richard Gere
Max Fleischer
Richard Attenborough
Program:
function: Find
inputs: Tallinn
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Annapolis
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Annapolis" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Tallinn" .   }
Answer: James Stewart