Question: How many market towns either have a GSS code (2011) of E04009364 or are the birthplace of Joshua Malina?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" .  { ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> "E04009364" .  } UNION { ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Joshua Malina" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E04009364
function: FilterConcept
dependencies: 1
inputs: market town
function: Find
inputs: Joshua Malina
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: market town
function: Or
dependencies: 2
5
function: Count
dependencies: 6