Question: What profession matches the occupation of Benjamin Franklin (the one that is the origin of the name Franklin & Marshall College) and also matches ISCO occupation code 2111 ?
Choices:
make-up artist
astronomer
diplomat
physicist
computer scientist
statistician
biologist
economist
astronaut
biochemist
Answer: physicist
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Benjamin Franklin" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> "Franklin & Marshall College" .  ?e <ISCO_occupation_code> ?pv . ?pv <pred:value> "2111" .  }
Program:
function: Find
inputs: Franklin & Marshall College
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: Benjamin Franklin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: profession
function: FindAll
function: FilterStr
dependencies: 6
inputs: ISCO occupation code
2111
function: FilterConcept
dependencies: 7
inputs: profession
function: And
dependencies: 5
8
function: What
dependencies: 9