Question: Which type of scientist matches the job specialty of Carl Sagan as well as SOC Code (2010) 19-2012?
Choices:
astronaut
physicist
biologist
statistician
astronomer
biochemist
computer scientist
seiyū
bandleader
financier
Answer: physicist
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "scientist" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Carl Sagan" .  ?e <SOC_Code_(2010)> ?pv . ?pv <pred:value> "19-2012" .  }
Program:
function: Find
inputs: Carl Sagan
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: scientist
function: FindAll
function: FilterStr
dependencies: 3
inputs: SOC Code (2010)
19-2012
function: FilterConcept
dependencies: 4
inputs: scientist
function: And
dependencies: 2
5
function: What
dependencies: 6