Question: How is Oldham (the one whose ISO 3166-2 code is GB-OLD) connected to Greater Manchester?
Choices: after a work by
winner
director
located on terrain feature
connects with
use
composer
official symbol
occupant
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oldham" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-OLD" . ?e_2 <pred:name> "Greater Manchester" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Oldham
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-OLD
function: Find
inputs: Greater Manchester
function: QueryRelation
dependencies: 1
2
Answer: located in the administrative territorial entity