Question: What activity is based on the adventure film The Fifth Element?
Choices:
Harry Potter and the Goblet of Fire
Batman
Battleship
The Fifth Element
Harry Potter and the Half-Blood Prince
Silent Hill
Star Wars
Aliens
real-time strategy
music video game
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Fifth Element
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: activity
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "The Fifth Element" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "adventure film" .   }
Answer: The Fifth Element