Question: Which city includes Fitzwilliam College and has the TOID 4000000074577087?
Choices:
Chihuahua
Kilkenny
Cambridge
Bergen
Abidjan
Dundee
Cairo
Cork
Kingston
Santo Domingo
Program:
function: Find
inputs: Fitzwilliam College
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: TOID
4000000074577087
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Fitzwilliam College" .  ?e <TOID> ?pv . ?pv <pred:value> "4000000074577087" .  }
Answer: Cambridge