Question: What is the local dialing code for the U.S. city where Michelle Williams, who works in the genre of rhythm and blues, was born in?
Choices:
815
(+81) 6
08612
039
08643
0465
705
480
0531
022
Answer: 815
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Michelle Williams" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "rhythm and blues" .  ?e <local_dialing_code> ?pv .  }
Program:
function: Find
inputs: rhythm and blues
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Michelle Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: local dialing code