Question: Which university that employs Clive Barker (who works as a theatrical producer) has the most students?
Choices:
University of Warwick
University of Tehran
University of Birmingham
Imperial College London
King's College London
Panjab University
University of Manchester
Presidency University
McNeese State University
Pennsylvania State University
Program:
function: Find
inputs: theatrical producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Clive Barker
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: employer
forward
function: FilterConcept
dependencies: 4
inputs: university
function: SelectAmong
dependencies: 5
inputs: students count
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <employer> ?e . ?e_1 <pred:name> "Clive Barker" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "theatrical producer" .  ?e <students_count> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: University of Birmingham