Question: How many sounds include famous people Portishead or is a part of ska?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sound" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Portishead" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "ska" .  } }
Program:
function: Find
inputs: Portishead
function: Relate
dependencies: 0
inputs: famous people
backward
function: FilterConcept
dependencies: 1
inputs: sound
function: Find
inputs: ska
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: sound
function: Or
dependencies: 2
5
function: Count
dependencies: 6