Question: The George Washington with the native name George Washington is related in what way to the role of soldier?
Choices:
properties for this type
location of final assembly
twinned administrative body
source of income
occupation
donated by
appears in the form of
patron saint
software engine
student of
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Washington" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "George Washington" . ?e_2 <pred:name> "soldier" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: George Washington
function: FilterStr
dependencies: 0
inputs: name in native language
George Washington
function: Find
inputs: soldier
function: QueryRelation
dependencies: 1
2