Question: How is the English-user Rob Thomas related to the profession of scientist?
Choices:
manner of death
occupation
symptom of
feast day
country of citizenship
source of material
instrumentation
heritage designation
residence
family name
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rob Thomas" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "scientist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Rob Thomas
function: And
dependencies: 1
2
function: Find
inputs: scientist
function: QueryRelation
dependencies: 3
4