Question: How many musisc have origins from Canada or have as a movement David Bowie (whose native language name is David Bowie)?
Choices:
11
12
13
14
15
16
17
18
19
20
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: music
function: Find
inputs: David Bowie
function: FilterStr
dependencies: 3
inputs: name in native language
David Bowie
function: Relate
dependencies: 4
inputs: movement
forward
function: FilterConcept
dependencies: 5
inputs: music
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Canada" .  } UNION { ?e_1 <movement> ?e . ?e_1 <pred:name> "David Bowie" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "David Bowie" .  } }
Answer: 14