Question: What is the TOID for Cambridge (the one that contains Peterhouse)?
Choices:
4000000074562756
7000000000021698
4000000074560267
4000000074343646
4000000074568379
4000000074568981
4000000074558316
7000000000001255
7000000000018821
7000000000044498
Answer: 7000000000001255
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Cambridge" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Peterhouse" .  ?e <TOID> ?pv .  }
Program:
function: Find
inputs: Peterhouse
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Cambridge
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: TOID