Question: What number ice hocky tean has Twitter username dallasstars or dissolve before 2017?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ice hockey team" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "dallasstars" .  } UNION { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2017 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
dallasstars
function: FilterConcept
dependencies: 1
inputs: ice hockey team
function: FindAll
function: FilterYear
dependencies: 3
inputs: dissolved, abolished or demolished
2017
<
function: FilterConcept
dependencies: 4
inputs: ice hockey team
function: Or
dependencies: 2
5
function: Count
dependencies: 6