Question: How many entities of electronic dance music fall within the genre of The Fall (trip-hop) or were made in Germany?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic dance music" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "The Fall" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "trip hop" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Germany" .  } }
Program:
function: Find
inputs: trip hop
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Fall
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: electronic dance music
function: Find
inputs: Germany
function: Relate
dependencies: 6
inputs: country of origin
backward
function: FilterConcept
dependencies: 7
inputs: electronic dance music
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 4