Question: How many media franchises are produced by Rob Reiner or are the focus of Transformers, published on 2007-07-04?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "media franchise" .  { ?e <producer> ?e_1 . ?e_1 <pred:name> "Rob Reiner" .  } UNION { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Transformers" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2007-07-04"^^xsd:date .  } }
Program:
function: Find
inputs: Rob Reiner
function: Relate
dependencies: 0
inputs: producer
backward
function: FilterConcept
dependencies: 1
inputs: media franchise
function: Find
inputs: Transformers
function: FilterDate
dependencies: 3
inputs: publication date
2007-07-04
=
function: Relate
dependencies: 4
inputs: main subject
forward
function: FilterConcept
dependencies: 5
inputs: media franchise
function: Or
dependencies: 2
6
function: Count
dependencies: 7