Question: Which Pennsylvania city in Blair County is represented by the website www.altoonapa.gov?
Choices:
Bethlehem
Harrisburg
Johnstown
Altoona
Erie
Pittsburgh
Greensburg
York
Chester
Philadelphia
Program:
function: Find
inputs: Blair County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.altoonapa.gov
function: FilterConcept
dependencies: 4
inputs: city of Pennsylvania
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Blair County" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.altoonapa.gov" .  }
Answer: Altoona