Question: How many jobs include that of columnist or are abbreviated as prof?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" .  { ?e <occupation> ?e_1 . ?e_1 <pred:name> "columnist" .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> "prof." .  } }
Program:
function: Find
inputs: columnist
function: Relate
dependencies: 0
inputs: occupation
backward
function: FilterConcept
dependencies: 1
inputs: occupation
function: FindAll
function: FilterStr
dependencies: 3
inputs: short name
prof.
function: FilterConcept
dependencies: 4
inputs: occupation
function: Or
dependencies: 2
5
function: Count
dependencies: 6