Question: Alan Moore has an ISNI of 0000 0001 2095 9030 and was born in Northampton, the capital of Northamptonshire, which is located in which country?
Choices:
Socialist Federal Republic of Yugoslavia
Holy Roman Empire
Turkey
United States of America
Finland
Indonesia
Czechoslovak Socialist Republic
United Kingdom
Aruba
international
Program:
function: Find
inputs: Alan Moore
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2095 9030
function: Find
inputs: Northamptonshire
function: Relate
dependencies: 2
inputs: capital of
backward
function: Find
inputs: Northampton
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: place of birth
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alan Moore" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 2095 9030" . ?e_2 <pred:name> "Northampton" . ?e_2 <capital_of> ?e_3 . ?e_3 <pred:name> "Northamptonshire" . ?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