Question: What is the projected lifespan of the dog designated by catalog code 122?
Choices:
45.647 year
77.25287 year
72.562 year
73.505 year
64.625 year
50.508 year
74.895 year
67.67 year
12 year
52.602 year
Answer: 12 year
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "dog" . ?e <catalog_code> ?pv_1 . ?pv_1 <pred:value> "122" . ?e <life_expectancy> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: catalog code
122
function: FilterConcept
dependencies: 1
inputs: dog
function: QueryAttr
dependencies: 2
inputs: life expectancy