Question: How many bands are noted for trance or have the Giphy handle gorillaz?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" .  { ?e_1 <famous_people> ?e . ?e_1 <pred:name> "trance" .  } UNION { ?e <Giphy_username> ?pv . ?pv <pred:value> "gorillaz" .  } }
Program:
function: Find
inputs: trance
function: Relate
dependencies: 0
inputs: famous people
forward
function: FilterConcept
dependencies: 1
inputs: band
function: FindAll
function: FilterStr
dependencies: 3
inputs: Giphy username
gorillaz
function: FilterConcept
dependencies: 4
inputs: band
function: Or
dependencies: 2
5
function: Count
dependencies: 6