Question: What album of a band, cast in Night at the Museum: Battle of the Smithsonian (the one that has Owen Wilson as a cast member), do we know ?
Choices:
Brian Wilson
Yes
Bon Jovi
Toni Braxton
The B-52's
Jonas Brothers World Tour 2009
Kraftwerk
Jonas Brothers
The White Stripes
The Fall
Program:
function: Find
inputs: Owen Wilson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Night at the Museum: Battle of the Smithsonian
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: band
function: Relate
dependencies: 5
inputs: performer
backward
function: FilterConcept
dependencies: 6
inputs: album
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "album" . ?e <performer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "band" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "Night at the Museum: Battle of the Smithsonian" . ?e_3 <cast_member> ?e_4 . ?e_4 <pred:name> "Owen Wilson" .   }
Answer: Jonas Brothers