Question: What is the number of city in Pennsylvania who has the website http://www.yorkcity.org or whose native name is Pittsburgh
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.yorkcity.org" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Pittsburgh" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.yorkcity.org
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Pittsburgh
function: FilterConcept
dependencies: 4
inputs: city of Pennsylvania
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2