Question: What is the number of counties of Texas that contain the administrative division San Antonio (the one whose population is 1492510) or that have the captital Galveston ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: San Antonio
function: FilterNum
dependencies: 0
inputs: population
1492510
=
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: county of Texas
function: Find
inputs: Galveston
function: Relate
dependencies: 4
inputs: capital
backward
function: FilterConcept
dependencies: 5
inputs: county of Texas
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" .  { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "San Antonio" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1492510"^^xsd:double .  } UNION { ?e <capital> ?e_1 . ?e_1 <pred:name> "Galveston" .  } }
Answer: 2