Question: Hw many entertainment entities, distributed on DVD Format, or named after Sonic the Hedgehog (the one whose Giphy username is sonic-the-hedgehog) do we know?
Choices: 33
34
35
36
37
38
39
40
41
42
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e <distribution> ?e_1 . ?e_1 <pred:name> "DVD" .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Sonic the Hedgehog" . ?e_1 <Giphy_username> ?pv . ?pv <pred:value> "sonic-the-hedgehog" .  } }
Program:
function: Find
inputs: DVD
function: Relate
dependencies: 0
inputs: distribution
backward
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: Sonic the Hedgehog
function: FilterStr
dependencies: 3
inputs: Giphy username
sonic-the-hedgehog
function: Relate
dependencies: 4
inputs: named after
backward
function: FilterConcept
dependencies: 5
inputs: entertainment
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 34