Question: What administrative territorial entity is the location of Sheffield, which is the twinned administrative body of Bochum and Joe Cocker's place of birth?
Choices:
England
United States Virgin Islands
British Columbia
Georgia
Victoria
Michigan
Archbishopric of Salzburg
Grand Duchy of Finland
Maryland
Latvian Soviet Socialist Republic
Program:
function: Find
inputs: Joe Cocker
function: Find
inputs: Bochum
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Sheffield
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Joe Cocker" . ?e_2 <pred:name> "Sheffield" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Bochum" . ?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 .  }
Answer: England