What is the {college library} for {location} of {Yale University}
What are the names of the colleges at Yale University?
What college libraries are at Yale University?
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:college_library . ?t property:location resource:Yale_University }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P276> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q49112> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1622062> } 
 select distinct ?sbj where { ?sbj wdt:P276 wd:Q49112 . ?sbj wdt:P31 wd:Q1622062 } 
Beinecke Rare Book & Manuscript Library