Question: How many towns do we recognize that are the residence of Roger Taylor (the one that belongs to United Kingdom) or whose Dewey Decimal Classification is 2--4129    ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Roger Taylor
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: town
function: FindAll
function: FilterStr
dependencies: 6
inputs: Dewey Decimal Classification
2--4129
function: FilterConcept
dependencies: 7
inputs: town
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" .  { ?e_1 <residence> ?e . ?e_1 <pred:name> "Roger Taylor" . ?e_1 <country_for_sport> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--4129" .  } }
Answer: 2