Question: What is the university that Mark Irwin attended and whose official website is https://uwaterloo.ca/?
Choices:
York University
King's College London
University of Melbourne
Panjab University
University of York
San Diego State University
Birkbeck, University of London
McMaster University
University of Michigan
University of Waterloo
Program:
function: Find
inputs: Mark Irwin
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: university
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
https://uwaterloo.ca/
function: FilterConcept
dependencies: 4
inputs: university
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Mark Irwin" .  ?e <official_website> ?pv . ?pv <pred:value> "https://uwaterloo.ca/" .  }
Answer: University of Waterloo