Question: Regarding the town that is where Paul Simon (who is in the punk rock genre) was born, tell me its TOID
Choices:
4000000074575804
4000000074559233
4000000074560208
4000000074548096
4000000074558532
4000000074570610
4000000074572014
4000000074554911
7000000000018825
4000000074572312
Program:
function: Find
inputs: punk rock
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Paul Simon
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: town
function: QueryAttr
dependencies: 5
inputs: TOID
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Paul Simon" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "punk rock" .  ?e <TOID> ?pv .  }
Answer: 4000000074570610