Question: Which capital has a postal code of 22 and whose subreddit is dublin?
Choices:
Manila
Dublin
New Delhi
Mexico City
Paris
Lausanne
Sarajevo
Doha
Riga
Tallinn
Answer: Dublin
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <postal_code> ?pv . ?pv <pred:value> "22" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "dublin" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
22
function: FilterConcept
dependencies: 1
inputs: capital
function: FindAll
function: FilterStr
dependencies: 3
inputs: subreddit
dublin
function: FilterConcept
dependencies: 4
inputs: capital
function: And
dependencies: 2
5
function: What
dependencies: 6