gbv/cocoda

Mark mapped concepts with inference

nichtich opened this issue · 2 comments

By now mapped concepts can be marked but any mapping with show the concept as mapped. Alternatively mark concepts only if a target concept can be inferred. Do do so query the /mappings/infer endpoint for resulting mappings with type exactMatch and narrowMatch only (and possibly strict=1).

We could extend the configuration options:

  • mark mapped concepts (current option)
  • mark inferred mappings (use /infer endpoint instead of normal mappings search)
  • mark selectd mapping types only (exactMatch|narrowMatch)

or an easier selection:

  • mark mapped concepts: no|any|inferrable

Plenty options exist to search mappings (see extended mapping search interface), these could all be supported by marking of mappings, but the easier solution should be enough to start with.

Related: #612

There is also issue #512 to use infer endpoint in MappingNavigator. It's a different use case but the configuration should be similar. A simple variant could be this:

In the concept tree settings add two settings:

  • mark only exact/narrow match
  • include inferred mappings

Same could be in the MappingNavigator settings, but people likely want different values of the settings in both views.