Question: What administrative territorial entity contains the birthplace of John Barrowman, Glasgow?
Choices: Lithuanian Soviet Socialist Republic
Roer
South Holland
Scotland
Puerto Rico
New Mexico
Latvian Soviet Socialist Republic
New Jersey
Maryland
Duchy of Rome
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Barrowman" . ?e_2 <pred:name> "Glasgow" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Program:
function: Find
inputs: John Barrowman
function: Find
inputs: Glasgow
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of birth
located in the administrative territorial entity
Answer: Scotland