Question: How many films comprise a model item film or were titled Love Story ?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" .  { ?e_1 <model_item> ?e . ?e_1 <pred:name> "film" .  } UNION { ?e <title> ?pv . ?pv <pred:value> "Love Story" .  } }
Program:
function: Find
inputs: film
function: Relate
dependencies: 0
inputs: model item
forward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Love Story
function: FilterConcept
dependencies: 4
inputs: film
function: Or
dependencies: 2
5
function: Count
dependencies: 6