Question: What is the official name of the city that is home to Newcastle United F.C.?
Choices:
Хараре
Нафтавік (Краснадар)
Confédération suisse
Коўна
Commandement aérien
Cardiff City Football Club
Selección de fútbol de Honduras
Newcastle upon Tyne
Sportklub Rapid Wien
Darmstadt
Program:
function: Find
inputs: Newcastle United F.C.
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: official name
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Newcastle United F.C." .  ?e <official_name> ?pv .  }
Answer: Newcastle upon Tyne