Question: How many professions have Donald Trump (the one that has the occupation of politician) as member and a ROME Occupation Code (v3) of E1205?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Donald Trump
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of political party
forward
function: FilterConcept
dependencies: 4
inputs: profession
function: FindAll
function: FilterStr
dependencies: 6
inputs: ROME Occupation Code (v3)
E1205
function: FilterConcept
dependencies: 7
inputs: profession
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> "Donald Trump" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "politician" .  ?e <ROME_Occupation_Code_(v3)> ?pv . ?pv <pred:value> "E1205" .  }
Answer: 0