Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...



Sequence Diagram

Provide an overview of the real-time converter's architecture, including the components involved and their interactions. This can be depicted using a high-level architectural diagram, showcasing the main modules or layers of the converter. Note that this converter focus one "real-time" side.

Mapping

Describe the mechanism used for mapping the JSON data to RDF format. Explain how the converter identifies the relevant JSON schema and maps the data elements to RDF triples or nodes. You can provide examples or a mapping diagram to illustrate this process.

Image RemovedImage Modified

Example:


RDF Generation

Explain how the converter generates RDF data from the mapped JSON data. Describe the process of creating subject-predicate-object triples or nodes in RDF format based on the JSON schema. You can showcase an example of the JSON data and its corresponding RDF representation.


The process of RDF triple generation   are based on the triple categories:

  • 1) type assertion:   

    •  ex:Person1 rdf:type ex:Person.

  • 2) object property assertion:
    •  ex:Person1 ex:hasFriend ex:Person2.
  • 3) data property assertion :
    • ex:Person1 ex:age 25

There are two types of messages modelled in different ways which needed to treat differently.

The main difference lies in where does the types, properties and data type come from.


type assertionobject property assertiondata property assertion
VSS styleVSSo OntologyVSSo Ontologyvss.json
PDM stylePDMo SHACLPDMo SHACLPDMo SHACL
Real time JSON to RDF

VSS Tree:

PDM Tree:

Real time RDF to JSON

 

Integration with Data Middleware and Reasoner

Describe how the converter integrates with the data middleware and the reasoner. Explain any specific APIs, protocols, or connectors used for communication between the converter and these systems. You can include a deployment diagram to illustrate the integration.

  • websocket client listens to the middleware ip:port
Configuration and Extensibility

Discuss how the converter is configured and how it can be extended

Configuration:

Input

  1. Tree subscription
  2. data points subscription

Output

  1. data points required