Question: How many industries have an establishment date that is not in 2008 or are owned by Google whose PermID is 4295899948?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2008 ) .  } UNION { ?e <owned_by> ?e_1 . ?e_1 <pred:name> "Google" . ?e_1 <PermID> ?pv . ?pv <pred:value> "4295899948" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
2008
!=
function: FilterConcept
dependencies: 1
inputs: industry
function: Find
inputs: Google
function: FilterStr
dependencies: 3
inputs: PermID
4295899948
function: Relate
dependencies: 4
inputs: owned by
backward
function: FilterConcept
dependencies: 5
inputs: industry
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 11