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: Repair the hierarchy

Someone has edited the taxonomy: Water damage was moved under Escape of water, and Vehicle damage was deleted, leaving Collision and Windscreen under a concept that no longer exists. Repair it so the SKOS file passes the checks again.

  • No concept is its own broader concept, and every broader concept exists.
  • 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.
Back to chapter 10
11
concepts
20
of 20 source codes mapped
4
problems found
2
edits
  • Orphan: the broader concept of Collision does not exist.
  • Orphan: the broader concept of Windscreen does not exist.
  • Cycle: Water damage is its own broader concept, through another.
  • Cycle: Escape of water is its own broader concept, through another.

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
  • WeatherWeer
    • StormStorm
      • storm · Claims system
      • STRM · Kestrel policy and claims
      • storm damage · Broker portal
    • TheftDiefstal
      • theft · Claims system
      • DIEF · Kestrel policy and claims
      • stolen · Broker portal
    • FireBrand
      • fire · Claims system
      • BRD · Kestrel policy and claims
    • Travel incidentReisincident
      • Medical expensesMedische kosten
        • medical · Claims system
        • MED · Kestrel policy and claims
      • BaggageBagage
        • baggage · Claims system
        • BAG · Kestrel policy and claims

      Not in the hierarchy (in a cycle, or under a concept that no longer exists)

      • Water damageWaterschade
        • Escape of waterLekkage
          • escape of water · Claims system
          • WTR · Kestrel policy and claims
          • leak · Broker portal
        • CollisionAanrijding
          • collision · Claims system
          • AANR · Kestrel policy and claims
          • crash · Broker portal
        • WindscreenRuitschade
          • windscreen · Claims system
          • GLAS · Kestrel policy and claims

        Unmapped source codes (0)

          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).

          • WTR
          • 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.