Question: What is the number of animes that got published other than 2007 or that comes from Qatar?
Choices: 5
6
7
8
9
10
11
12
13
14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Qatar" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2007
!=
function: FilterConcept
dependencies: 1
inputs: anime
function: Find
inputs: Qatar
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: anime
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 10