Question: What university is Roy Thomas' (a member of Philadelphia Phillies) school, and is Scott Wilson's (date of death is 1942-10-22) school?
Choices:
Ateneo de Manila University
University of Pennsylvania
University of Chicago
American University of Beirut
Bradley University
Valparaiso University
Texas Christian University
Carnegie Institute of Technology
Yale University
Boston University School of Law
Answer: University of Pennsylvania
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Roy Thomas" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Philadelphia Phillies" .  ?e_3 <educated_at> ?e . ?e_3 <pred:name> "Scott Wilson" . ?e_3 <date_of_death> ?pv . ?pv <pred:date> "1942-10-22"^^xsd:date .  }
Program:
function: Find
inputs: Philadelphia Phillies
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Roy Thomas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: university
function: Find
inputs: Scott Wilson
function: FilterDate
dependencies: 6
inputs: date of death
1942-10-22
=
function: Relate
dependencies: 7
inputs: educated at
forward
function: FilterConcept
dependencies: 8
inputs: university
function: And
dependencies: 5
9
function: What
dependencies: 10