# Query4 PREFIX rdf: PREFIX ub: SELECT ?X ?Y1 ?Y2 ?Y3 WHERE {?X rdf:type ub:Professor . ?X ub:worksFor . ?X ub:name ?Y1 . ?X ub:emailAddress ?Y2 . ?X ub:telephone ?Y3} # This query has small input and high selectivity. It assumes subClassOf relationship between # Professor and its subclasses. Class Professor has a wide hierarchy. Another feature # is that it queries about multiple properties of a single class.