Question: What is the role of 'parent astronomical body' subject in 'Sun (the one whose density is 1.408 gram per cubic centimetre)'s parent astronomical body is Solar System' ?
Choices: television producer
state
human settlement
historian
touring band member
President of the United States
primary body
Sukhothai Kingdom
animation studio
chairperson
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sun" . ?e_1 <density> ?pv . ?pv <pred:unit> "gram per cubic centimetre" . ?pv <pred:value> "1.408"^^xsd:double . ?e_2 <pred:name> "Solar System" . ?e_1 <parent_astronomical_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <parent_astronomical_body> ; <pred:fact_t> ?e_2 ] <subject_has_role> ?qpv .  }
Program:
function: Find
inputs: Sun
function: FilterNum
dependencies: 0
inputs: density
1.408 gram per cubic centimetre
=
function: Find
inputs: Solar System
function: QueryRelationQualifier
dependencies: 1
2
inputs: parent astronomical body
subject has role
Answer: primary body