Question: How many singles include a U2 performance or are in English?
Choices:
10
11
12
13
14
15
16
17
18
19
Program:
function: Find
inputs: U2
function: Relate
dependencies: 0
inputs: performer
backward
function: FilterConcept
dependencies: 1
inputs: single
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: FilterConcept
dependencies: 4
inputs: single
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "single" .  { ?e <performer> ?e_1 . ?e_1 <pred:name> "U2" .  } UNION { ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .  } }
Answer: 19