How to obtain topic sanction.linked with the scope sanctions?

Hey OpenSanctions team!

We would like to exploit the topic sanction.linked with the scope sanctions.
Based on our evaluation, the matched entities by yente configured with scope sanction, do not provide this topic.
To succeed this, we had to use the largest scope default. (for example: the entity OLEG PERVAK)
We tried to configure yente with scope sanctions and add corresponding dataset ann_graph_topics in the manifest file:
it failed because of the following error:
2026-07-02T09:14:30.079372Z [error ] Metadata fetch error: Duplicate dataset name: ‘ann_graph_topics’ [yente.data]
It is possible to obtain the topic sanction.linked specifically with the scope sanctions ?
In the positive case, how should we configure the yente manifest file ?
Thanks in advance

Hi @cmerel - first off: awesome to see you drill into sanctions.linked (FWIW, we’re planning to fine tune it’s semantics a little bit: Introduce sanction.control; make sanction.linked non-transitive · Issue #4496 · opensanctions/opensanctions · GitHub).

I think the problem you’re running into are, to an extent, logic-caused: the point of sanctions.linked is to find entities in non-sanctions datasets that are linked to designated entities. For example using the company registries or other reference datasets that we have access to. So, saying: “load only sanctions data sources and the metadata for sanction-linked entities” is missing out on the actual datasets (e.g. the Russian companies registry). In short: the only way to reasonably make this work is to load default, which combines all the data comprehensively.