Question: What university is located in Kentucky (the one that use English as the official language) ?
Choices:
Gonzaga University
Franklin County
University of Vienna
University of Utah
Kellogg School of Management
Shelby County
Oral Roberts University
Appalachian State University
Jefferson County
Western Kentucky University
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: official language
backward
function: Find
inputs: Kentucky
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: university
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Kentucky" . ?e_1 <official_language> ?e_2 . ?e_2 <pred:name> "English" .   }
Answer: Western Kentucky University