Question: What is the number of businesspersons that have the ROME Occupation Code (v3) M1207 and the profession of Gary (whose McCune-Reischauer romanization is Kaeri)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "businessperson" . ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> "M1207" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Gary" . ?e_1 <McCune-Reischauer_romanization> ?pv_1 . ?pv_1 <pred:value> "Kaeri" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ROME Occupation Code (v3)
M1207
function: FilterConcept
dependencies: 1
inputs: businessperson
function: Find
inputs: Gary
function: FilterStr
dependencies: 3
inputs: McCune-Reischauer romanization
Kaeri
function: Relate
dependencies: 4
inputs: occupation
forward
function: FilterConcept
dependencies: 5
inputs: businessperson
function: And
dependencies: 2
6
function: Count
dependencies: 7