Question: How many television stations operate in the area of the Kingdom of Romania or are the daughter organization of NBCUniversal?
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> "television station" .  { ?e <operating_area> ?e_1 . ?e_1 <pred:name> "Kingdom of Romania" .  } UNION { ?e <parent_organization> ?e_1 . ?e_1 <pred:name> "NBCUniversal" .  } }
Program:
function: Find
inputs: Kingdom of Romania
function: Relate
dependencies: 0
inputs: operating area
backward
function: FilterConcept
dependencies: 1
inputs: television station
function: Find
inputs: NBCUniversal
function: Relate
dependencies: 3
inputs: parent organization
backward
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6