Question: How many animes were directed by Patrick Dempsey or David Denman?
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> "anime" .  { ?e <director> ?e_1 . ?e_1 <pred:name> "Patrick Dempsey" .  } UNION { ?e <director> ?e_1 . ?e_1 <pred:name> "David Denman" .  } }
Program:
function: Find
inputs: Patrick Dempsey
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: anime
function: Find
inputs: David Denman
function: Relate
dependencies: 3
inputs: director
backward
function: FilterConcept
dependencies: 4
inputs: anime
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0