Question: How many college towns whose official name is Юрьев or with postal code 4000?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college town" .  { ?e <official_name> ?pv . ?pv <pred:value> "Юрьев" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "4000" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Юрьев
function: FilterConcept
dependencies: 1
inputs: college town
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
4000
function: FilterConcept
dependencies: 4
inputs: college town
function: Or
dependencies: 2
5
function: Count
dependencies: 6