Question: How is Oldham (TOID 7000000000018690) related to Greater Manchester?
Choices:
official residence
director/manager
game mode
destination point
field of work
mascot
located in the administrative territorial entity
award received
present in work
model item
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oldham" . ?e_1 <TOID> ?pv . ?pv <pred:value> "7000000000018690" . ?e_2 <pred:name> "Greater Manchester" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Oldham
function: FilterStr
dependencies: 0
inputs: TOID
7000000000018690
function: Find
inputs: Greater Manchester
function: QueryRelation
dependencies: 1
2