Question: How is Universal Pictures (produced by Analyze This) connected to Comcast?
Choices:
located on astronomical location
taxon rank
educated at
father
original network
language of work or name
owned by
occupation
organizer
child astronomical body
Answer: owned by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Universal Pictures" . ?e_3 <production_company> ?e_1 . ?e_3 <pred:name> "Analyze This" . ?e_2 <pred:name> "Comcast" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Analyze This
function: Relate
dependencies: 0
inputs: production company
forward
function: Find
inputs: Universal Pictures
function: And
dependencies: 1
2
function: Find
inputs: Comcast
function: QueryRelation
dependencies: 3
4