Question: What is the title of The Three Musketeers (the one whose genre is slapstick)?
Choices:
Veronica Mars
The Contender
Rock of Ages
It's Complicated
The Flintstones in Viva Rock Vegas
Rachel Getting Married
Harry Potter and the Philosopher's Stone
Lock Up
Man on the Moon
The Three Musketeers
Program:
function: Find
inputs: slapstick
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The Three Musketeers" . ?e <genre> ?e_1 . ?e_1 <pred:name> "slapstick" .  ?e <title> ?pv .  }
Answer: The Three Musketeers