Question: How many television stations are the parent organization of John Brown & Company or were created before 2003?
Choices:
24
25
26
27
28
29
30
31
32
33
Answer: 31
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television station" .  { ?e_1 <parent_organization> ?e . ?e_1 <pred:name> "John Brown & Company" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2003 ) .  } }
Program:
function: Find
inputs: John Brown & Company
function: Relate
dependencies: 0
inputs: parent organization
forward
function: FilterConcept
dependencies: 1
inputs: television station
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
2003
<
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6