Question: How many communication mediums do we know that were not created in 1867, or that originate from Australia (the one that is the country of Liberal Party of Australia)?
Choices:
7
8
9
10
11
12
13
14
15
16
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1867
!=
function: FilterConcept
dependencies: 1
inputs: communication medium
function: Find
inputs: Liberal Party of Australia
function: Relate
dependencies: 3
inputs: country
forward
function: Find
inputs: Australia
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: country of origin
backward
function: FilterConcept
dependencies: 7
inputs: communication medium
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "communication medium" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1867 ) .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Australia" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> "Liberal Party of Australia" .  } }
Answer: 9