rendered paste bodyPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX test: <http://test.talis.com/bench#>
SELECT
?univ ?dpt ?prof ?assProf ?publ ?mailProf ?mailAssProf
WHERE {
?dpt test:subOrganizationOf ?univ.
?prof test:worksFor ?dpt.
?prof rdf:type <test:FullProfessor> .
?publ test:publicationAuthor ?prof.
?prof test:headOf ?dpt.
?publ test:publicationAuthor ?assProf.
?prof test:emailAddress ?mailProf.
?assProf test:emailAddress ?mailAssProf.
FILTER(?prof != ?assProf)
}
LIMIT 10