Question: Tell me the relationship between a Few Good Men and David Brown, who works as a journalist.
Choices:
licensed to broadcast to
sponsor
eye color
military rank
symptoms
producer
set in period
home world
use
honorific prefix
Program:
function: Find
inputs: A Few Good Men
function: Find
inputs: journalist
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: David Brown
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Few Good Men" . ?e_2 <pred:name> "David Brown" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "journalist" . ?e_1 ?p ?e_2 .  }
Answer: producer