Question: How many feature films have Leroy Shield as an art director or use time travel?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" .  { ?e <art_director> ?e_1 . ?e_1 <pred:name> "Leroy Shield" .  } UNION { ?e <uses> ?e_1 . ?e_1 <pred:name> "time travel" .  } }
Program:
function: Find
inputs: Leroy Shield
function: Relate
dependencies: 0
inputs: art director
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: Find
inputs: time travel
function: Relate
dependencies: 3
inputs: uses
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2