Question: Other than Rotherham, what metro borough has the dialing code of 01709 ?
Choices:
Birmingham
Sheffield
Walsall
Bury
Rotherham
Wakefield
Stockport
Newcastle upon Tyne
Leeds
Solihull
Program:
function: Find
inputs: Rotherham
function: FilterStr
dependencies: 0
inputs: local dialing code
01709
function: Relate
dependencies: 1
inputs: different from
backward
function: FilterConcept
dependencies: 2
inputs: metropolitan borough
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e <different_from> ?e_1 . ?e_1 <pred:name> "Rotherham" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "01709" .   }
Answer: Rotherham