Question: What is the official name for Newcastle upon Tyne whose WOEID is 30079?
Choices:
Northern Illinois University
University of Calcutta
Ruijan kuninkhaanriiki
Свердловск
Newcastle United Football Club
Newcastle upon Tyne
Montpelier
Maďarská republika
Chesterfield
Ковно
Answer: Newcastle upon Tyne
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Newcastle upon Tyne" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "30079" . ?e <official_name> ?pv .  }
Program:
function: Find
inputs: Newcastle upon Tyne
function: FilterStr
dependencies: 0
inputs: WOEID
30079
function: QueryAttr
dependencies: 1
inputs: official name