Once Kartotherian is able to return data directly from the OSM database, Kartographer should be able to support it in <mapframe> & <maplink> tags.
Ideas:
- <mapframe ... show="wikidata:Q12345,wikidata:Q67890"> would add OSM geometries with these wikidata IDs. Alternatively it could be "osmwd:Q..."