what is the {applies to part} for {Bloody Mary} has {material used} as {highball glass} ?
What component of a Wicked Mary is served in a highball glass?
What component of a Bloody Mary is served in a highball glass?
SELECT ?o WHERE { ?e property:applies_to_part ?o . ?e property:made_from_material resource:Highball_glass . resource:Bloody_Mary property:made_from_material ?e }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q207711> .
?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/Q4131010> .
?statement <http://www.wikidata.org/entity/P518> ?value. 
} 

SELECT ?value WHERE { wd:Q207711 p:P186 ?s . ?s ps:P186 wd:Q4131010 . ?s pq:P518 ?value}