Question: How many ice hockey teams have a dissolution date after 2011 or are related to the sport of ice hockey?
Choices:
42
43
44
45
46
47
48
49
50
51
Answer: 46
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ice hockey team" .  { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2011 ) .  } UNION { ?e <sport> ?e_1 . ?e_1 <pred:name> "ice hockey" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: dissolved, abolished or demolished
2011
>
function: FilterConcept
dependencies: 1
inputs: ice hockey team
function: Find
inputs: ice hockey
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: ice hockey team
function: Or
dependencies: 2
5
function: Count
dependencies: 6