Question: What is the number of films that have the title New Mexico or contain Days of Thunder (that is published for PlayStation 3)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" .  { ?e <title> ?pv . ?pv <pred:value> "New Mexico" .  } UNION { ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> "Days of Thunder" . ?e_1 <platform> ?e_2 . ?e_2 <pred:name> "PlayStation 3" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
New Mexico
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: PlayStation 3
function: Relate
dependencies: 3
inputs: platform
backward
function: Find
inputs: Days of Thunder
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: part of the series
forward
function: FilterConcept
dependencies: 7
inputs: film
function: Or
dependencies: 2
8
function: Count
dependencies: 9