Question: What is the number of television networks that are registered with Bath Iron Works or have a beginning date not in the year 1990?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" .  { ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Bath Iron Works" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1990 ) .  } }
Program:
function: Find
inputs: Bath Iron Works
function: Relate
dependencies: 0
inputs: registered with
backward
function: FilterConcept
dependencies: 1
inputs: television network
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1990
!=
function: FilterConcept
dependencies: 4
inputs: television network
function: Or
dependencies: 2
5
function: Count
dependencies: 6