What is {award received} of {Ulmus} that is {country} is {Austria} ?
An elm is what type of Austrian award?
What type of Austrian award has an elm?
SELECT ?g WHERE { ?p property:country resource:Austria . ?p property:award_received ?g . resource:Ulmus property:award_received ?p }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q131113> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P17> <http://wikidata.dbpedia.org/resource/Q40>
} 

SELECT ?obj WHERE { wd:Q131113 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P17 wd:Q40 }