Question: Which female house cat diead before 2018?
Choices:
Yorkshire Terrier
goat
chicken
India
sheep
Golden Retriever
cattle
bulldog
German Shepherd dog
Labrador Retriever
Program:
function: Find
inputs: female organism
function: Relate
dependencies: 0
inputs: sex or gender
backward
function: FilterConcept
dependencies: 1
inputs: house cat
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of death
2018
<
function: FilterConcept
dependencies: 4
inputs: house cat
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "house cat" . ?e <sex_or_gender> ?e_1 . ?e_1 <pred:name> "female organism" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2018 ) .  }
Answer: India