Question: How many feature film use time travel or had Peter Boyle (the one whose ISNI is 0000 0001 1511 5212) as the film editor ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" .  { ?e <uses> ?e_1 . ?e_1 <pred:name> "time travel" .  } UNION { ?e <film_editor> ?e_1 . ?e_1 <pred:name> "Peter Boyle" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 1511 5212" .  } }
Program:
function: Find
inputs: time travel
function: Relate
dependencies: 0
inputs: uses
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: Find
inputs: Peter Boyle
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0001 1511 5212
function: Relate
dependencies: 4
inputs: film editor
backward
function: FilterConcept
dependencies: 5
inputs: feature film
function: Or
dependencies: 2
6
function: Count
dependencies: 7