Question: What higher learning institution's headquarters location is Tartu in the country of Estonia and number of students is not 51000?
Choices:
Panjab University
University of Tartu
King's College London
University of Manchester
McNeese State University
Pennsylvania State University
University of Tehran
Imperial College London
University of Melbourne
Presidency University
Program:
function: Find
inputs: Tartu
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: QFilterStr
dependencies: 1
inputs: country
Estonia
function: FilterConcept
dependencies: 2
inputs: higher education institution
function: FindAll
function: FilterNum
dependencies: 4
inputs: students count
51000
!=
function: FilterConcept
dependencies: 5
inputs: higher education institution
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Tartu" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <country> ?qpv . ?qpv <pred:value> "Estonia" . ?e <students_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "51000"^^xsd:double ) .  }
Answer: University of Tartu