# Query6 PREFIX rdf: PREFIX ub: SELECT * WHERE { ?x rdf:type ub:Student . } # (type Student ?X) # - This query queries about only one class. But it assumes both the explicit subClassOf relationship between UndergraduateStudent and Student and the implicit one between GraduateStudent and Student. In addition, it has large input and low selectivity.