Question: How is Devon (the one that is an ethnic group of German Americans) related to German Americans ?
Choices:
godparent
operating system
performer
medical treatment
ethnic group
kit supplier
airline alliance
instrumentation
appointed by
head coach
Answer: ethnic group
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Devon" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "German Americans" . ?e_2 <pred:name> "German Americans" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: German Americans
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Devon
function: And
dependencies: 1
2
function: Find
inputs: German Americans
function: QueryRelation
dependencies: 3
4