Question: How many professions are the position of John Adams (who is educated at Yale University) and have the 2010 SOC Code 29-1066?
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> "profession" . ?e_1 <position_held> ?e . ?e_1 <pred:name> "John Adams" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Yale University" .  ?e <SOC_Code_(2010)> ?pv . ?pv <pred:value> "29-1066" .  }
Program:
function: Find
inputs: Yale University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: position held
forward
function: FilterConcept
dependencies: 4
inputs: profession
function: FindAll
function: FilterStr
dependencies: 6
inputs: SOC Code (2010)
29-1066
function: FilterConcept
dependencies: 7
inputs: profession
function: And
dependencies: 5
8
function: Count
dependencies: 9