Question: What is the role of the Solar System, the parent astronomical body of the Sun (whose spectral class is G2V)?
Choices:
Kingdom of Portugal
songwriter
director
television producer
human settlement
primary body
historian
Ukrainian Soviet Socialist Republic
community
singer
Program:
function: Find
inputs: Sun
function: FilterStr
dependencies: 0
inputs: spectral class
G2V
function: Find
inputs: Solar System
function: QueryRelationQualifier
dependencies: 1
2
inputs: parent astronomical body
subject has role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sun" . ?e_1 <spectral_class> ?pv . ?pv <pred:value> "G2V" . ?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 .  }
Answer: primary body