Question: What is the connection between Mars (the one whose demonym is Marsjanin) to Solar System?
Choices:
diaspora
cause of death
military casualty classification
office contested
soundtrack album
ethnic group
approved by
officeholder
head of government
part of
Answer: part of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mars" . ?e_1 <demonym> ?pv . ?pv <pred:value> "Marsjanin" . ?e_2 <pred:name> "Solar System" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mars
function: FilterStr
dependencies: 0
inputs: demonym
Marsjanin
function: Find
inputs: Solar System
function: QueryRelation
dependencies: 1
2