Question: What is the title for Jewel (the one that has Farrah Fawcett as a cast member)?
Choices:
Van Helsing
Loving
She Hate Me
The Scarlet Letter
The Terminal
Times Higher Education World University Rankings
The Bourne Ultimatum
Jewel
Management
Låt den rätte komma in
Program:
function: Find
inputs: Farrah Fawcett
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Jewel
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Jewel" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Farrah Fawcett" .  ?e <title> ?pv .  }
Answer: Jewel