what is the {applies to part} for {Girl with a Pearl Earring} has {material used} as {canvas} ?
Girl with a Pearl Earring is painted on what type of canvas?
What type of canvas is Girl with a Pearl Earring painted on?
SELECT ?w WHERE { ?t property:applies_to_part ?w . ?t property:made_from_material resource:canvas . resource:Girl_with_a_Pearl_Earring property:made_from_material ?t }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q185372> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P186> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4259259> .
?statement <http://www.wikidata.org/entity/P518> ?value. 
} 

SELECT ?value WHERE { wd:Q185372 p:P186 ?s . ?s ps:P186 wd:Q4259259 . ?s pq:P518 ?value}