What is <habitat> of <marsh> ?
[]
A marsh is what type of habitat?
SELECT DISTINCT ?w WHERE { ?w property:habitat resource:marsh }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject>  ?answer. ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2974> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q30198>. }
select distinct ?answer where { ?answer wdt:P2974 wd:Q30198}
Caltha palustris Helophyte