Question: How many mechanical waves are a facet of Oasis (the one that is famous for Britpop) or have Ludacris as a famous person?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mechanical wave" .  { ?e <facet_of> ?e_1 . ?e_1 <pred:name> "Oasis" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "Britpop" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Ludacris" .  } }
Program:
function: Find
inputs: Britpop
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Oasis
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: facet of
backward
function: FilterConcept
dependencies: 4
inputs: mechanical wave
function: Find
inputs: Ludacris
function: Relate
dependencies: 6
inputs: famous people
backward
function: FilterConcept
dependencies: 7
inputs: mechanical wave
function: Or
dependencies: 5
8
function: Count
dependencies: 9