Question: What is the date of birth for the human that is the composer (in series ordinal 4) of Robin Hood (which cost 1500000 United States dollars)?
Choices:
1935-09-20
1902-06-17
1987-08-18
1952-11-24
1909-03-28
1960-08-10
1980-01-17
1951-10-05
1940-10-19
1909-11-18
Answer: 1909-11-18
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:name> "Robin Hood" . ?e_1 <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "1500000"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> "4" . ?e <date_of_birth> ?pv .  }
Program:
function: Find
inputs: Robin Hood
function: FilterNum
dependencies: 0
inputs: cost
1500000 United States dollar
=
function: Relate
dependencies: 1
inputs: composer
forward
function: QFilterStr
dependencies: 2
inputs: series ordinal
4
function: FilterConcept
dependencies: 3
inputs: human
function: QueryAttr
dependencies: 4
inputs: date of birth