Question: What is the ISCO occupation code of the filmmaking occupation that is the occupation of Michael Moore (who has the occupation of screenwriter)?
Choices:
5151
2460
3431
2431
2421
2455
2452
3117
2111
3434
Answer: 2455
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "filmmaking occupation" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Michael Moore" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "screenwriter" .  ?e <ISCO_occupation_code> ?pv .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Michael Moore
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: filmmaking occupation
function: QueryAttr
dependencies: 5
inputs: ISCO occupation code