Question: How many video game developers are different from Sleepy Hollow, directed by Chris Lebenzon, or were dissolved after 2004?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game developer" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> "Sleepy Hollow" . ?e_1 <film_editor> ?e_2 . ?e_2 <pred:name> "Chris Lebenzon" .  } UNION { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2004 ) .  } }
Program:
function: Find
inputs: Chris Lebenzon
function: Relate
dependencies: 0
inputs: film editor
backward
function: Find
inputs: Sleepy Hollow
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: video game developer
function: FindAll
function: FilterYear
dependencies: 6
inputs: dissolved, abolished or demolished
2004
>
function: FilterConcept
dependencies: 7
inputs: video game developer
function: Or
dependencies: 5
8
function: Count
dependencies: 9