What is the {painting} for {collection} of {University of Pennsylvania}
What is the University of Pennsylvania's painting collection about?
University of Pennsylvania painting collection is about which topic?
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:painting . ?c property:collection resource:University_of_Pennsylvania }
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/P195> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q49117> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3305213> } 
 select distinct ?sbj where { ?sbj wdt:P195 wd:Q49117 . ?sbj wdt:P31 wd:Q3305213 } 
The Agnew Clinic The Last of the Mohicans: The Death of Cora Portrait of Thomas W. Evans