Package-level declarations

Types

Link copied to clipboard
data class DTKnowledgeGraph(val dtUri: DTUri, val tripleList: List<RdfPredicateObjectPair>)

It models the Digital Twin Knowledge graph of a Digital Twin, identified by its dtUri, in an abstract way. Its objective is to serve as the base to represent semantic data, in particular its tripleList, about a Digital Twin and not to be a generic implementation of a Knowledge Graph. Its main usage will be as a DTO to be converted in different KG models of different libraries.

Link copied to clipboard
data class RdfBlankNode(val blankNodeId: String, val tripleList: List<RdfPredicateObjectPair> = listOf()) : RdfResource

It models the concept of RDF Blank Node in the context of Digital Twin Knowledge Graph. A Blank Node has a blankNodeId and it has an associated tripleList.

Link copied to clipboard
data class RdfClass(val uri: URI) : RdfUriResource

It represents an RdfClass, identified by its uri.

Link copied to clipboard
data class RdfIndividual(val uri: URI) : RdfUriResource

It represents an RdfIndividual, identified by its uri.

Link copied to clipboard
data class RdfLiteral<T : Any>(val value: T) : RdfNode

It models the concept of RDF Literal. It carries a value of type T.

Link copied to clipboard
sealed interface RdfNode

It models the concept of RDF node in the context of a Digital Twin Knowledge Graph. A Node can be anything in the Knowledge Graph from RDF Resources to Literals.

Link copied to clipboard
data class RdfPredicateObjectPair(val triplePredicate: RdfProperty, val tripleObject: RdfNode)

This class represents a triple without a subject. It is useful when we want to define the triplePredicate and the tripleObject for an external defined subject.

Link copied to clipboard
data class RdfProperty(val uri: URI) : RdfUriResource

It represents an RdfProperty, identified by its uri.

Link copied to clipboard
sealed interface RdfResource : RdfNode

It models an RDF resource in the context of a Digital Twin Knowledge Graph.

Link copied to clipboard
open class RdfUriResource(val uri: URI) : RdfResource

It represents an RDF Resource that has a uri, e.g., class, property, individual, and so on.