Code Monkey home page Code Monkey logo

kg-file's Introduction

Knowledge Graph Descriptor

Much like Google Structured Data we can place a simple descriptor with a well-known name like kg.jsonld into source code repos, crawl the repos, build a part of a knowledge graph and federate across other parts of the knowledge graph built with, for example, Confluence content using Taxonomies for Confluence add-on.

Alternatively, contents of kg.jsonld can simply be pushed via SPARQL 1.1 Graph Store HTTP Protocol to a graph store via Github Actions or Bitbucket Pipelines.

Another alternative is Bitbucket webhooks, so it is possible to build a single knowledge graph ecosystem around Atlassian tool set.

Terms

Only two terms are used to describe resources - dcterms:type and dcterms:subject from Dublin Core Metadata Terms. Type can be a concept from SDLC Document Types Taxonomy or from an other scheme that may be organisation-specific. Subject can be a concept referencing a system, component, service, or anything else from an organization-specific scheme.

Example

Simplest case of specifying type and subject of a single README file and using remote context hosted in this repo:

{
  "@context": "https://raw.githubusercontent.com/cadmiumkitty/kg-file/main/kgcontext.jsonld",
  "@graph": [
    {
      "@id": "README.md",
      "type": "https://dalstonsemantics.com/taxonomy/sdlc/readme",
      "subject": "https://dalstonsemantics.com/service/thingymabob"
    }
  ]
}

Alternative in Yaml

A case can be made for something even simpler that will be translated by the crawler/action/pipeline/webhook processor:

README.md:
  type: https://dalstonsemantics.com/taxonomy/sdlc/readme
  subject: https://dalstonsemantics.com/service/thingymabob

kg-file's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.