Question: How many occupations were received by Chris Isaak or are related to the sport of ice hockey?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Chris Isaak" .  } UNION { ?e <sport> ?e_1 . ?e_1 <pred:name> "ice hockey" .  } }
Program:
function: Find
inputs: Chris Isaak
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: occupation
function: Find
inputs: ice hockey
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: occupation
function: Or
dependencies: 2
5
function: Count
dependencies: 6