Question: What is the TOID of Cambridgeshire (the one that contains South Cambridgeshire)?
Choices:
7000000000007016
4000000074550413
7000000000004853
7000000000001386
4000000074549982
4000000074562756
7000000000014362
7000000000044498
4000000074540943
7000000000018825
Answer: 7000000000001386
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Cambridgeshire" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "South Cambridgeshire" .  ?e <TOID> ?pv .  }
Program:
function: Find
inputs: South Cambridgeshire
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Cambridgeshire
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: TOID