Question: How many musicals were directed by Joshua Logan or released on 2017-06-23?
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> "musical" .  { ?e <director> ?e_1 . ?e_1 <pred:name> "Joshua Logan" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:date> "2017-06-23"^^xsd:date .  } }
Program:
function: Find
inputs: Joshua Logan
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: musical
function: FindAll
function: FilterDate
dependencies: 3
inputs: publication date
2017-06-23
=
function: FilterConcept
dependencies: 4
inputs: musical
function: Or
dependencies: 2
5
function: Count
dependencies: 6