Question: What is the number of singles whose composer is Chad Hugo or publication date is not in 2014?
Choices:
24
25
26
27
28
29
30
31
32
33
Answer: 31
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "single" .  { ?e <composer> ?e_1 . ?e_1 <pred:name> "Chad Hugo" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2014 ) .  } }
Program:
function: Find
inputs: Chad Hugo
function: Relate
dependencies: 0
inputs: composer
backward
function: FilterConcept
dependencies: 1
inputs: single
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2014
!=
function: FilterConcept
dependencies: 4
inputs: single
function: Or
dependencies: 2
5
function: Count
dependencies: 6