Question: How many television stations either operate in South Vietnam or are owned by Canadian Broadcasting Corporation?
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> "television station" .  { ?e <operating_area> ?e_1 . ?e_1 <pred:name> "South Vietnam" .  } UNION { ?e <owned_by> ?e_1 . ?e_1 <pred:name> "Canadian Broadcasting Corporation" .  } }
Program:
function: Find
inputs: South Vietnam
function: Relate
dependencies: 0
inputs: operating area
backward
function: FilterConcept
dependencies: 1
inputs: television station
function: Find
inputs: Canadian Broadcasting Corporation
function: Relate
dependencies: 3
inputs: owned by
backward
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6