Question: Which person belongs to the stoner rock group Black Sabbath?
Choices:
William Henry Harrison
Richard Gere
Ryan Phillippe
Josh Homme
Matt Dillon
Max Fleischer
Ozzy Osbourne
Chris Cornell
Lee Majors
Alain Johannes
Program:
function: Find
inputs: stoner rock
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Black Sabbath
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of
backward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <member_of> ?e_1 . ?e_1 <pred:name> "Black Sabbath" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "stoner rock" .   }
Answer: Ozzy Osbourne