Question: How many animated films are titled Star Wars: The Clone Wars or have a launch date other than 1995?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" .  { ?e <title> ?pv . ?pv <pred:value> "Star Wars: The Clone Wars" .  } UNION { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1995 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Star Wars: The Clone Wars
function: FilterConcept
dependencies: 1
inputs: animated film
function: FindAll
function: FilterYear
dependencies: 3
inputs: start time
1995
!=
function: FilterConcept
dependencies: 4
inputs: animated film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 5