What is {official symbol} of {Quebec} that is {applies to part} is {tree} ?
Name the tree that is in the Quebec provincial logo.
What tree is in the Quebec provincial logo?
SELECT ?g WHERE { ?g property:official_symbol ?g . ?g property:applies_to_part resource:tree . resource:Quebec property:official_symbol ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q176> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2238> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P518> <http://wikidata.dbpedia.org/resource/Q10884>
} 

SELECT ?obj WHERE { wd:Q176 p:P2238 ?s . ?s ps:P2238 ?obj . ?s pq:P518 wd:Q10884 }