Question: How many television films whose director of photography is Joseph F. Biroc or whose producer is Mel Gibson who was born on 1956-01-03?
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> "television film" .  { ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Joseph F. Biroc" .  } UNION { ?e <producer> ?e_1 . ?e_1 <pred:name> "Mel Gibson" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1956-01-03"^^xsd:date .  } }
Program:
function: Find
inputs: Joseph F. Biroc
function: Relate
dependencies: 0
inputs: director of photography
backward
function: FilterConcept
dependencies: 1
inputs: television film
function: Find
inputs: Mel Gibson
function: FilterDate
dependencies: 3
inputs: date of birth
1956-01-03
=
function: Relate
dependencies: 4
inputs: producer
backward
function: FilterConcept
dependencies: 5
inputs: television film
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 2