Question: How many television series episodes were published after 1996 or were shot in Florida
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1996 ) .  } UNION { ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Florida" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1996
>
function: FilterConcept
dependencies: 1
inputs: television series episode
function: Find
inputs: Florida
function: Relate
dependencies: 3
inputs: filming location
backward
function: FilterConcept
dependencies: 4
inputs: television series episode
function: Or
dependencies: 2
5
function: Count
dependencies: 6