Question: How many bands are cast members of Walk Hard: The Dewey Cox Story or began after 1978?
Choices:
73
74
75
76
77
78
79
80
81
82
Answer: 77
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" .  { ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Walk Hard: The Dewey Cox Story" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1978 ) .  } }
Program:
function: Find
inputs: Walk Hard: The Dewey Cox Story
function: Relate
dependencies: 0
inputs: cast member
forward
function: FilterConcept
dependencies: 1
inputs: band
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1978
>
function: FilterConcept
dependencies: 4
inputs: band
function: Or
dependencies: 2
5
function: Count
dependencies: 6