Question: Which software has the nickname 'Longhorn' and was followed by Windows 7?
Choices:
Microsoft Windows
Unix
Brave
Linux
Solaris
Android
macOS
iOS
Windows Vista
Orange
Answer: Windows Vista
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "software" . ?e <nickname> ?pv . ?pv <pred:value> "Longhorn" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Windows 7" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: nickname
Longhorn
function: FilterConcept
dependencies: 1
inputs: software
function: Find
inputs: Windows 7
function: Relate
dependencies: 3
inputs: followed by
backward
function: FilterConcept
dependencies: 4
inputs: software
function: And
dependencies: 2
5
function: What
dependencies: 6