Tools

Taxonomy and ontology builder

The merger's loss causes as one hierarchy, and a small graph of what causes what and which cover pays. Drag source codes onto concepts and concepts under each other, link the graph, run the queries, and export SKOS and OWL.

Exercise: Review Kestrel's proposed loss causes

Kestrel's data team proposed how its loss-cause codes join Harbour Mutual's list: WTR under Storm, MED on Travel incident itself, GLAS under Collision, and BAG not mapped at all. The board wants each cause counted the same way for both companies, so a Kestrel code and Harbour Mutual's code for the same cause must sit on one concept.

  • Every source code is under exactly one concept.
  • Codes that mean the same kind of loss share a top concept, and other codes do not.
  • Codes sit on the most specific concept: a concept with narrower concepts holds no codes.
  • No concept is its own broader concept, and every broader concept exists.
  • Each Kestrel code sits on the same concept as Harbour Mutual's code for the same cause.
Back to chapter 39
12
concepts
19
of 20 source codes mapped
1
problems found
4
edits
  • Unmapped: kes-polis:BAG is under no concept.

The hierarchy

Drag a code onto a concept to map it, or a concept onto another to put it under it; drop a concept on "Top level" to make it a top concept. The lists beside each do the same.

Top level
  • Water damageWaterschade
    • Escape of waterLekkage
      • escape of water · Claims system
      • leak · Broker portal
    • WeatherWeer
      • StormStorm
        • storm · Claims system
        • STRM · Kestrel policy and claims
        • storm damage · Broker portal
        • WTR · Kestrel policy and claims
      • TheftDiefstal
        • theft · Claims system
        • DIEF · Kestrel policy and claims
        • stolen · Broker portal
      • FireBrand
        • fire · Claims system
        • BRD · Kestrel policy and claims
      • Vehicle damageVoertuigschade
        • CollisionAanrijding
          • collision · Claims system
          • AANR · Kestrel policy and claims
          • crash · Broker portal
          • GLAS · Kestrel policy and claims
        • WindscreenRuitschade
          • windscreen · Claims system
        • Travel incidentReisincident
          • MED · Kestrel policy and claims
        • Medical expensesMedische kosten
          • medical · Claims system
        • BaggageBagage
          • baggage · Claims system

        Unmapped source codes (1)

        • BAG · Kestrel policy and claims
        New concept (English label)
        Every source code and its concept
        The codes the merger's systems use for a loss cause
        SystemCodeConcept
        Claims system collision
        Claims system theft
        Claims system windscreen
        Claims system storm
        Claims system escape of water
        Claims system fire
        Claims system medical
        Claims system baggage
        Kestrel policy and claims WTR
        Kestrel policy and claims BRD
        Kestrel policy and claims DIEF
        Kestrel policy and claims STRM
        Kestrel policy and claims AANR
        Kestrel policy and claims GLAS
        Kestrel policy and claims MED
        Kestrel policy and claims BAG
        Broker portal leak
        Broker portal storm damage
        Broker portal stolen
        Broker portal crash

        Queries

        Query
        Concept

        Runs on the taxonomy (SKOS).

        • escape of water
        • leak
        PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
        PREFIX lc: <https://cloud-data-architecture-lab.azurewebsites.net/id/loss-causes/>
        PREFIX hm: <https://cloud-data-architecture-lab.azurewebsites.net/id/claims#>
        SELECT DISTINCT ?code WHERE { ?c skos:broader* lc:water . ?c skos:notation ?code } ORDER BY ?code

        The graph

        Subject
        Link
        Object

        Try this

        0 of 4 done

        Run "Every source code under a concept" for Water damage, then drag Kestrel's WTR onto Storm (or choose Storm in its list).

        Look for: WTR leaves the answer for Water damage and joins Weather's: the mapping decides what the hierarchy answers.

        Move Water damage under Escape of water.

        Look for: The cycle check fires and both concepts drop out of the tree; the SKOS file would fail the real check in CI.

        Delete Vehicle damage.

        Look for: Collision and Windscreen are orphans: their broader concept no longer exists, and their codes still point at them.

        Run "Which covers pay for a cause?" for Storm, then add the link Storm causes Water damage.

        Look for: The buildings cover joins the answer: the graph follows causes to the covers that pay, which a hierarchy cannot do.

        An unhandled error has occurred. Reload 🗙

        Reconnecting…

        Your connection to the Cloud Data Architecture Lab dropped, probably a Wi-Fi blip. Hold on while it reconnects.

        The connection could not be restored. The page will reload in a few seconds.