Question: Tell me the number of market town that has the offical website  http://www.pontefractus.co.uk/ or that has Sociedade Esportiva Palmeiras
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> "market town" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.pontefractus.co.uk/" .  } UNION { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Sociedade Esportiva Palmeiras" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.pontefractus.co.uk/
function: FilterConcept
dependencies: 1
inputs: market town
function: Find
inputs: Sociedade Esportiva Palmeiras
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: market town
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1