RLOG - an RDF Logging Ontology

IRI:
http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#
Version IRI:
https://github.com/NLP2RDF/ontologies/blob/master/rlog/rlog.ttl
Current version:
1.1.0
Authors:
Sebastian Hellmann
Contributors:
TODO
Publisher:
AKSW, University Leipzig
Other visualisation:
Ontology source

Abstract

This is a helper ontology for NIF 2.0 to be able to log errors and warning messages.

Table of Content

  1. Introduction
  2. Classes
  3. Object Properties
  4. Data Properties
  5. Namespace Declarations

Introduction

We built this ontology by looking at log4j version 1.2 and version 2 beta: http://logging.apache.org/log4j/2.x/manual/layouts.html, http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html

Is this complete? No! But it will be sufficient for most use cases, please feel free to extend and adapt the ontology, if you need more.

Loglevels: TRACE, DEBUG, INFO, WARN, ERROR and FATAL

Feedback

If you'd like to leave feedback, please open an issue on GitHub (https://github.com/NLP2RDF/ontologies/issues) and read the README (https://github.com/NLP2RDF/ontologies#readme) or write an email to the mailing list: http://lists.informatik.uni-leipzig.de/mailman/listinfo/nlp2rdf

Versioning process is explained here: http://persistence.uni-leipzig.org/nlp2rdf/specification/version.html

Changelog:

* 1.0.0 initial version

* 1.0.1 added Error Code class and errcode property

* 1.1.0 change Error Code class to Status Code

Classes

Log Entryc back to ToC or Class ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#Entry

An entry in a log.

is in domain of
Logging date in datetimedp, Logging messagedp, an associated resourceop, class namedp, has codeop, logLevelop

Log Levelc back to ToC or Class ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#Level

look here: http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html

is in domain of
logLeveldp
is in range of
logLevelop

Status Codec back to ToC or Class ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#StatusCode

A status code which can occur in an application. Instances of this class must put the name of the status as rdfs:label and describe it with rdfs:comment.

is in domain of
code iddp
is in range of
has codeop

Object Properties

an associated resourceop back to ToC or Object Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#resource

If we mix normal and log output, this can be used to refer to the resource in the RDF the error is connected to.

has domain
Log Entryc

has codeop back to ToC or Object Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#hasCode

Links a log message to a status code.

has domain
Log Entryc
has range
Status Codec

logLevelop back to ToC or Object Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#level

has domain
Log Entryc
has range
Log Levelc

Data Properties

class namedp back to ToC or Data Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#className

Outputs the fully qualified class name of the caller issuing the logging request.

has domain
Log Entryc

code iddp back to ToC or Data Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#codeId

The numerical value of the code, e.g. 200, 404 or 42.

has domain
Status Codec

Logging date in datetimedp back to ToC or Data Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#date

has domain
Log Entryc
has range
datetime

Logging messagedp back to ToC or Data Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#message

has domain
Log Entryc

logLeveldp back to ToC or Data Property ToC

IRI: http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#priority

Attention: the ids here can change, they are just used to define an order over the levels!

has domain
Log Levelc
has range
int

Namespace Declarations back to ToC

dc
http://purl.org/dc/elements/1.1/
dcterms
http://purl.org/dc/terms/
example-org
http://example.org/
licenses
http://www.apache.org/licenses/
ontologies
https://github.com/NLP2RDF/persistence.uni-leipzig.org/commits/master/ontologies/
owl
http://www.w3.org/2002/07/owl#
rdf
http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs
http://www.w3.org/2000/01/rdf-schema#
rlog
http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#
vann
http://purl.org/vocab/vann/
xsd
http://www.w3.org/2001/XMLSchema#

This HTML document was obtained by processing the OWL ontology source code through LODE, Live OWL Documentation Environment, developed by Silvio Peroni.