Question: I want to know the person who was born after 1843 and who has the Twitter username IamJimJonsin
Choices:
Shaquille O'Neal
William Henry Harrison
Richard Gere
Max Fleischer
Thomas Pynchon
Sylvester Stallone
Imogen Heap
Dionne Warwick
Jim Jonsin
Helen Rose
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1843
>
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
IamJimJonsin
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 <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1843 ) . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "IamJimJonsin" .  }
Answer: Jim Jonsin