Question: Which organization that applies to jurisdiction over Australia (that is the country of origin of Queen of the Damned) has the least number of seats?
Choices:
Vigor Shipyards
United States Department of the Air Force
Senate of Australia
NBCUniversal
McDonald's
Hamburger SV
Academy of Television Arts & Sciences
E. W. Scripps Company
House of Representatives
Pfizer
Answer: Senate of Australia
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> "Australia" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> "Queen of the Damned" .  ?e <number_of_seats> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Queen of the Damned
function: Relate
dependencies: 0
inputs: country of origin
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 4
inputs: organization
function: SelectAmong
dependencies: 5
inputs: number of seats
smallest