Question: How many scientists share the profession of Steve Jobs, born as Steven Paul Jobs, or are designated by KldB-2010 occupation code 43124?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "scientist" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Steve Jobs" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Steven Paul Jobs" .  } UNION { ?e <KldB-2010_occupation_code> ?pv . ?pv <pred:value> "43124" .  } }
Program:
function: Find
inputs: Steve Jobs
function: FilterStr
dependencies: 0
inputs: birth name
Steven Paul Jobs
function: Relate
dependencies: 1
inputs: occupation
forward
function: FilterConcept
dependencies: 2
inputs: scientist
function: FindAll
function: FilterStr
dependencies: 4
inputs: KldB-2010 occupation code
43124
function: FilterConcept
dependencies: 5
inputs: scientist
function: Or
dependencies: 3
6
function: Count
dependencies: 7