Question: How many politician occupations were held by Jay Bennettt or match the occupation of Saddam Hussein ?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "politician" .  { ?e <officeholder> ?e_1 . ?e_1 <pred:name> "Jay Bennett" .  } UNION { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Saddam Hussein" .  } }
Program:
function: Find
inputs: Jay Bennett
function: Relate
dependencies: 0
inputs: officeholder
backward
function: FilterConcept
dependencies: 1
inputs: politician
function: Find
inputs: Saddam Hussein
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: politician
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1