OSM tag name=Tegernsee matches Tegernsee Castle in these Wikidata fields:
Benedictine monasteries in Germany | building=monastery, amenity=monastery, historic=monastery |
Castles in Bavaria | historic=tower_house, building=castle, historic=castle, tourism=attraction, building=ruins, historic=ruins, place=locality, historic=archaeological_site |
Christian monasteries established in the 8th century | building=monastery, amenity=monastery, historic=monastery |
Monasteries in Bavaria | building=monastery, amenity=monastery, historic=monastery |