Question: How many US cities correspond to telephone area code 574 or are the host city of the 67th Golden Globe Awards?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" .  { ?e <local_dialing_code> ?pv . ?pv <pred:value> "574" .  } UNION { ?e_1 <location> ?e . ?e_1 <pred:name> "67th Golden Globe Awards" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
574
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: 67th Golden Globe Awards
function: Relate
dependencies: 3
inputs: location
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6