language en

Containers To Triples

Authors:
Lara Herrera, David Lázaro y Adrián Pascual
Download serialization:
JSON-LD RDF/XML N-Triples TTL
License:
Apache 2.0
Visualization:
Visualize with WebVowl
Cite as:
Cite this vocabulary as: L. Herrera, D. Lázaro, A. Pascual. Containers To Triples

Ontology Specification Draft

Abstract

Ontology code created to illustrate the project Containers To Triples

Introduction back to ToC

This is a vocabulary to describe docker-related concepts. It is used to construct a knowledge-graph around a docker image and its dependencies. It will help to improve the trasparency of docker images or compare them with others.

Namespace declarations

Table 1: Namespaces used in the document
dpv<http://dockerpedia.inf.utfsm.cl/vocab#>
sd<https://w3id.org/okn/o/sd#>
c2t<https://w3id.org/okn/o/c2t#>
dct<https://purl.org/dc/terms/>
owl<http://www.w3.org/2002/07/owl#>
rdf<http://www.w3.org/1999/02/22-rdf-syntax-ns>
xml<http://www.w3.org/XML/1998/namespace>
xsd<http://www.w3.org/2001/XMLSchema>
rdfs<http://www.w3.org/2000/01/rdf-schema#>
dc<http://purl.org/dc/elements/1.1/>

Containers To Triples: Overview back to ToC

This ontology has the following classes and properties.

Classes

Object Properties

Data Properties

Containers To Triples: Description back to ToC

Containers to triples (c2t) is a knowledge-graph project with the help of Open Summer of Code Madrid. The goal is to build a knowledge-graphs with all the dependencies and metadata of a docker image to help to it undertanding. With this graph we can make SPARQL queries to stract useful information from these images that would be much more difficult to find otherwise. The main classes of this vocabulary are dpv:Image which describes a Docker Image that has dpv:ImageLayer which describes a layer of a Docker Image (both of them are reused from https://cbuil.github.io/dockerpedia-ontology/release/0.1.0/index-en.html) and c2t:PackageVersion, wich describes an especific Package with its verision. This package dvp:isInstalledOn a certain dvp:Image on a certain dvp:ImageLayer

Cross-reference for Containers To Triples classes, object properties and data properties back to ToC

This section provides details for each class and property defined by Containers To Triples.

Classes

DockerFilec back to ToC or Class ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#DockerFile

A file containing the instructions required to build an image (docker:SoftwareImage) in the Docker framework
is in domain of
hasImage op

Imagec back to ToC or Class ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#Image

A serialized copy of the state of a software stored in some non-volatile form such as a file
is in domain of
op, hasLayer dp, architecture dp, dateCreated dp, identifier dp, size dp, tag
is in range of
op,hasImage op, isInstalledOn op, isOperativeSystemOf

ImageLayerc back to ToC or Class ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#ImageLayer

A layer of a Docker image are a set files generated from running a command from a DockerFile
is in domain of
dp, identifier
is in range of
op, hasLayer op, isInstalledOn

OperatingSystemc back to ToC or Class ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#OperatingSystem

A software operating system representation
is in domain of
op, distributionOf op, isOperativeSystemOf dp, description dp, name dp, hasDocumentation dp, hasVersionId dp, issueTracker dp, license dp, website
is in range of
op, distributionOf

PackageVersionc back to ToC or Class ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#PackageVersion

Version of a software package
is in domain of
op, isInstalledOn dp, hasVersionId dp, license dp, name dp, packageType dp, packageURL dp, programmingLanguage dp, publisher dp, size

Object Properties

distributionOfop back to ToC or Object Property ToC

IRI: https://w3id.org/okn/o/c2t#distributionOf

A distribution is an operating system made from a software collection that includes the kernel and, often, a package management system
has domain
OperatingSystem c
has range
OperatingSystem c

hasImageop back to ToC or Object Property ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#hasImage

A docker file has software images
has domain
DockerFile c
has range
Image c

hasLayerop back to ToC or Object Property ToC

IRI: https://w3id.org/okn/o/c2t#hasLayer

Several packages may have been installed on an image
has domain
Image c
has range
ImageLayer c

isInstalledOnop back to ToC or Object Property ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#isInstalledOn

One OS may have installed several software packages on it
Is defined by
http://dockerpedia.inf.utfsm.cl/vocab#
has domain
PackageVersion c

isOperativeSystemOfop back to ToC or Object Property ToC

IRI: https://w3id.org/okn/o/c2t#isOperativeSystemOf

An image could have an operative system
has domain
OperatingSystem c
has range
Image c

Data Properties

architecturedp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/c2t#architecture

The architecture for which the image is built. For example, amd64
has domain
Image c

dateCreateddp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/sd#dateCreated

Date when a software component was created
has domain
Image c

descriptiondp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/sd#description

A description of a resource
has domain
OperatingSystem c

hasDocumentationdp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/sd#hasDocumentation

Pointer to the documentation of the model
has domain
OperatingSystem c

hasVersionIddp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/sd#hasVersionId

Identifier of the version of this software
Is defined by
http://dockerpedia.inf.utfsm.cl/vocab#

identifierdp back to ToC or Data Property ToC

IRI: https://purl.org/dc/terms/identifier

An unambiguous reference to the resource within a given context
Is defined by
http://dockerpedia.inf.utfsm.cl/vocab#

issueTrackerdp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/sd#issueTracker

Pointer to the documentation of the model
has domain
OperatingSystem c

licensedp back to ToC or Data Property ToC

IRI: https://purl.org/dc/terms/license

A package version may specify the version that is being used
Is defined by
http://dockerpedia.inf.utfsm.cl/vocab#

namedp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/sd#name

Name of the resource
Is defined by
http://dockerpedia.inf.utfsm.cl/vocab#

packageTypedp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/c2t#packageType

Version of an operative system package
has domain
PackageVersion c

packageURLdp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/c2t#packageURL

A package version may be associated to an URL
has domain
PackageVersion c

programmingLanguagedp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/sd#programmingLanguage

Language used to code a software component
has domain
PackageVersion c

publisherdp back to ToC or Data Property ToC

IRI: https://purl.org/dc/terms/publisher

A package/operating system is published by the publisher
has domain
PackageVersion c

sizedp back to ToC or Data Property ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#size

An image/package has a size
Is defined by
http://dockerpedia.inf.utfsm.cl/vocab#

tagdp back to ToC or Data Property ToC

IRI: http://dockerpedia.inf.utfsm.cl/vocab#tag

Image’s versions are identified by its tag
has domain
Image c

websitedp back to ToC or Data Property ToC

IRI: https://w3id.org/okn/o/sd#website

Website of the software
has domain
OperatingSystem c

Legend back to ToC

c: Classes
op: Object Properties
dp: Data Properties

References back to ToC

- https://cbuil.github.io/dockerpedia-ontology/release/0.1.0/index-en.html

Acknowledgments back to ToC

The authors would like to thank Silvio Peroni for developing LODE, a Live OWL Documentation Environment, which is used for representing the Cross Referencing Section of this document and Daniel Garijo for developing Widoco, the program used to create the template used in this documentation.