PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT ?X
WHERE {
 ?X rdf:type ub:GraduateStudent .
 ?X ub:takesCourse <http://www.Department0.University0.edu/GraduateCourse0>
}
