Question: Which one is shorter, High School Musical (with a website at http://disneychannel.disney.com/high-school-musical), or Julius Caesar (which has Edmond O'Brien as a cast member)?
Choices:
A Christmas Carol
The Three Musketeers
The Music Man
Julius Caesar
The Late Shift
The Challenge
A Streetcar Named Desire
Shackleton
The Goodbye Girl
High School Musical
Program:
function: Find
inputs: Edmond O'Brien
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Julius Caesar
function: And
dependencies: 1
2
function: Find
inputs: High School Musical
function: FilterStr
dependencies: 4
inputs: official website
http://disneychannel.disney.com/high-school-musical
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julius Caesar" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Edmond O'Brien" . } UNION { ?e <pred:name> "High School Musical" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://disneychannel.disney.com/high-school-musical" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: High School Musical