Question: What country contains Northampton (whose establishment date is in the year 1189) that is the birthplace of Alan Moore (who uses the English language)?
Choices:
Canada
Sint Maarten
Finland
United Kingdom
Bangladesh
Papal States
Romania
Greece
Syria
Slovakia
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Alan Moore
function: And
dependencies: 1
2
function: Find
inputs: Northampton
function: FilterYear
dependencies: 4
inputs: inception
1189
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: place of birth
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alan Moore" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Northampton" . ?e_2 <inception> ?pv . ?pv <pred:year> 1189 . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United Kingdom