Question: tell me the person who has the giphy username of demilovato and who was born prior to 2000
Choices:
Richard Gere
William Henry Harrison
Max Fleischer
Shania Twain
Mohnish Bahl
Peter Frampton
Enrique Iglesias
Demi Lovato
Peter Tork
Sylvester Stallone
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Giphy username
demilovato
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of birth
2000
<
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <Giphy_username> ?pv . ?pv <pred:value> "demilovato" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2000 ) .  }
Answer: Demi Lovato