Question: Is harvardmed the Instagram username of the school that is the educational site of David Foster whose occupation is screenwriter?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "school" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "David Foster" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "screenwriter" .  ?e <Instagram_username> ?pv . ?pv <pred:value> "harvardmed" .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: David Foster
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: school
function: QueryAttr
dependencies: 5
inputs: Instagram username
function: VerifyStr
dependencies: 6
inputs: harvardmed
Answer: yes