Question: At the event, what is the age of Pocahontas (belonging to an ethnic group of indigenous peoples of the United States) who presents in the work Pocahontas (whose publication date is 1995-06-10)?
Choices:
livelybk
https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=2244
UNITED
333500000000 United States dollar
952
19
73
91
18
Olympic gold medal
Answer: 18
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Pocahontas" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Indigenous peoples of the United States" . ?e_2 <pred:name> "Pocahontas" . ?e_2 <publication_date> ?pv . ?pv <pred:date> "1995-06-10"^^xsd:date . ?e_1 <present_in_work> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <present_in_work> ; <pred:fact_t> ?e_2 ] <stated_age_at_event> ?qpv .  }
Program:
function: Find
inputs: Indigenous peoples of the United States
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Pocahontas
function: And
dependencies: 1
2
function: Find
inputs: Pocahontas
function: FilterDate
dependencies: 4
inputs: publication date
1995-06-10
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: present in work
stated age at event