What is the {library} for {commemorates} of {Jefferson Davis}
[]
Which is the library that commemorates Jefferson Davis?
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:library . ?m property:commemorates resource:Jefferson_Davis }
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/P547> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q162269> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7075> } 
 select distinct ?sbj where { ?sbj wdt:P547 wd:Q162269 . ?sbj wdt:P31 wd:Q7075 } 