Question: What is the connection between Daredevil (the one that has the occupation of lawyer) to lawyer?
Choices: source of material
occupation
maintained by
award disciplines or subjects
language used
place of birth
programming language
worshipped by
home port
statistical leader
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Daredevil" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "lawyer" . ?e_2 <pred:name> "lawyer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Daredevil
function: And
dependencies: 1
2
function: Find
inputs: lawyer
function: QueryRelation
dependencies: 3
4
Answer: occupation