Question: Which band famous for heavy metal has the subreddit of ironmaiden?
Choices:
Faith No More
The Kinks
Jonas Brothers
Renaissance
The Pretenders
Suicidal Tendencies
Iron Maiden
Marillion
Thin Lizzy
The Monkees
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
ironmaiden
function: FilterConcept
dependencies: 1
inputs: band
function: Find
inputs: heavy metal
function: Relate
dependencies: 3
inputs: famous people
forward
function: FilterConcept
dependencies: 4
inputs: band
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" . ?e <subreddit> ?pv . ?pv <pred:value> "ironmaiden" . ?e_1 <famous_people> ?e . ?e_1 <pred:name> "heavy metal" .  }
Answer: Iron Maiden