Question: How many news have the Instagram username todayshow or have Stephen Colbert (whose native language name is Stephen Colbert) as a character?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" .  { ?e <Instagram_username> ?pv . ?pv <pred:value> "todayshow" .  } UNION { ?e <characters> ?e_1 . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "Stephen Colbert" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
todayshow
function: FilterConcept
dependencies: 1
inputs: news
function: Find
inputs: Stephen Colbert
function: FilterStr
dependencies: 3
inputs: name in native language
Stephen Colbert
function: Relate
dependencies: 4
inputs: characters
backward
function: FilterConcept
dependencies: 5
inputs: news
function: Or
dependencies: 2
6
function: Count
dependencies: 7