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. Named Individuals
  6. 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 datetime (or just date)dp, Logging messagedp, an associated resourceop, class namedp, has codeop, logLevelop
has members
mylog1ni

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
has members
ALLni, DEBUGni, ERRORni, FATALni, INFOni, OFFni, TRACEni, WARNni

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 datetime (or just date)dp back to ToC or Data Property ToC

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

has domain
Log Entryc
has range
date time

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

Named Individuals

ALLni back to ToC or Named Individual ToC

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

The ALL has the lowest possible rank and is intended to turn on all logging.
belongs to
Log Levelc
has facts
logLeveldp "0"^^int

DEBUGni back to ToC or Named Individual ToC

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

The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
belongs to
Log Levelc
has facts
logLeveldp "2"^^int

ERRORni back to ToC or Named Individual ToC

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

The ERROR level designates error events that might still allow the application to continue running.
belongs to
Log Levelc
has facts
logLeveldp "5"^^int

FATALni back to ToC or Named Individual ToC

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

The FATAL level designates very severe error events that will presumably lead the application to abort.
belongs to
Log Levelc
has facts
logLeveldp "6"^^int

INFOni back to ToC or Named Individual ToC

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

The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
belongs to
Log Levelc
has facts
logLeveldp "3"^^int

mylog1ni back to ToC or Named Individual ToC

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

belongs to
Log Entryc
has facts
Logging datetime (or just date)dp "2013-06-08T17:00:00Z"^^date time
class namedp "org.nlp2rdf.core.SPARQLValidator"
Logging messagedp "Example log message, put whatever you want."@en
an associated resourceop a resource related to this log entry
logLevelop INFO

OFFni back to ToC or Named Individual ToC

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

The OFF has the highest possible rank and is intended to turn off logging.
belongs to
Log Levelc
has facts
logLeveldp "7"^^int

TRACEni back to ToC or Named Individual ToC

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

The TRACE Level designates finer-grained informational events than the DEBUG.
belongs to
Log Levelc
has facts
logLeveldp "1"^^int

WARNni back to ToC or Named Individual ToC

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

The WARN level designates potentially harmful situations.
belongs to
Log Levelc
has facts
logLeveldp "4"^^int

Namespace Declarations back to ToC

default namespace
http://persistence.uni-leipzig.org/nlp2rdf/ontologies/rlog#
dc
http://purl.org/dc/elements/1.1/
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#
terms
http://purl.org/dc/terms/
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.