What is the {painting} for {commissioned by} of {Catholic Church}
Title a portray commisioned by Catholic Church
Name a painting commisioned by Catholic Church
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:painting . ?p property:commissioned_by resource:Catholic_Church }
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/P88> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q9592> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3305213> } 
 select distinct ?sbj where { ?sbj wdt:P88 wd:Q9592 . ?sbj wdt:P31 wd:Q3305213 } 
Saint Matthew and the Angel Bishop Saint and Saint Francis of Assisi