Question: Which industry is developed by Microsoft (the one whose Instagram username is microsoft) and has codename as Whistler ?
Choices:
Linux
Solaris
Mac OS
Unix
Windows Vista
iOS
FreeBSD
Windows 7
Windows XP
Microsoft Windows
Answer: Windows XP
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" . ?e <developer> ?e_1 . ?e_1 <pred:name> "Microsoft" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> "microsoft" .  ?e <codename> ?pv_1 . ?pv_1 <pred:value> "Whistler" .  }
Program:
function: Find
inputs: Microsoft
function: FilterStr
dependencies: 0
inputs: Instagram username
microsoft
function: Relate
dependencies: 1
inputs: developer
backward
function: FilterConcept
dependencies: 2
inputs: industry
function: FindAll
function: FilterStr
dependencies: 4
inputs: codename
Whistler
function: FilterConcept
dependencies: 5
inputs: industry
function: And
dependencies: 3
6
function: What
dependencies: 7