Question: Which mechanical wave is the genre of Lindsay Lohan and includes NSYNC in famous people?
Choices:
jangle pop
alternative country
teen pop
K-pop
surf music
sophisti-pop
a cappella
pop music
J-pop
dance-pop
Answer: teen pop
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mechanical wave" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Lindsay Lohan" .  ?e <famous_people> ?e_2 . ?e_2 <pred:name> "NSYNC" .  }
Program:
function: Find
inputs: Lindsay Lohan
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: mechanical wave
function: Find
inputs: NSYNC
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: mechanical wave
function: And
dependencies: 2
5
function: What
dependencies: 6