All pastes #804309 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-12-03 10:26 UTC
rendered paste body
PREFIX 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