Question: What is the relationship between Tom McCarthy (the one whose Munzinger IBA is 00000029267) and journalist?
Choices:
place of publication
honorific prefix
mountain range
licensed to broadcast to
twinned administrative body
talk show guest
occupation
official color
native language
shares border with
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom McCarthy" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> "00000029267" . ?e_2 <pred:name> "journalist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tom McCarthy
function: FilterStr
dependencies: 0
inputs: Munzinger IBA
00000029267
function: Find
inputs: journalist
function: QueryRelation
dependencies: 1
2