Question: What administrative territorial entity contains Paddington (that shares a border with Marylebone) where Seal (whose pseudonym is Seal) was born?
Choices: Virginia
Duchy of Rome
Suisse Romande
Guadeloupe
Michigan
Kentucky
South Holland
East Pakistan
Greater London
Los Angeles
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Seal" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> "Seal" . ?e_2 <pred:name> "Paddington" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Marylebone" . ?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: Seal
function: FilterStr
dependencies: 0
inputs: pseudonym
Seal
function: Find
inputs: Marylebone
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Paddington
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: place of birth
located in the administrative territorial entity
Answer: Greater London