Question: In 1801, who was born in the town whose country was Kingdom of Britain?
Choices:
Jamie-Lynn Sigler
Roger Taylor
Adam Smith
Robert Shaw
William Shakespeare
Kelly Macdonald
Miriam Margolyes
Joan Collins
Jonny Greenwood
John Spencer
Program:
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 0
inputs: country
backward
function: QFilterYear
dependencies: 1
inputs: end time
1801
=
function: FilterConcept
dependencies: 2
inputs: town
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:instance_of> ?c_1 . ?c_1 <pred:name> "town" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "Kingdom of Great Britain" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv . ?qpv <pred:year> 1801 .   }
Answer: Robert Shaw