Question: How many genres whose title is For Your Eyes Only or that was created by Robert Downey Jr.?
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> "genre" .  { ?e <title> ?pv . ?pv <pred:value> "For Your Eyes Only" .  } UNION { ?e <creator> ?e_1 . ?e_1 <pred:name> "Robert Downey Jr." .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
For Your Eyes Only
function: FilterConcept
dependencies: 1
inputs: genre
function: Find
inputs: Robert Downey Jr.
function: Relate
dependencies: 3
inputs: creator
backward
function: FilterConcept
dependencies: 4
inputs: genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1