{"id":1313,"date":"2023-12-09T19:18:57","date_gmt":"2023-12-09T17:18:57","guid":{"rendered":"https:\/\/www.rocworks.at\/wordpress\/?p=1313"},"modified":"2023-12-09T19:18:57","modified_gmt":"2023-12-09T17:18:57","slug":"use-the-unified-namespace-uns-as-a-graph","status":"publish","type":"post","link":"https:\/\/www.rocworks.at\/wordpress\/?p=1313","title":{"rendered":"Use the Unified Namespace (UNS) as a graph?"},"content":{"rendered":"\n<p>\ud83e\udd14 I thought about if it could make sense to connect to a MQTT broker and write the topic-path in a structured and connected way to a graph database. It could reflect a companies UNS with ISA structure in a graph with query possibilities.<br><br>\ud83e\udd1d The UNS could be enriched by adding additional meta information to the database and be linked to the MQTT nodes. Graph queries could be used to combine the enriched data with the current values of the machines&#8230;<br><br>\ud83d\udc49 I reactivated the Neo4J Logger in the <a href=\"http:\/\/automation-gateway.com\/\">Automation-Gateway.com<\/a>, and enabled MQTT for it. It creates the nodes in a neo4j graph database based on the incoming MQTT messages.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/Gateway-Neo4j.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/Gateway-Neo4j-1024x481.png\" alt=\"\" class=\"wp-image-1314\" srcset=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/Gateway-Neo4j-1024x481.png 1024w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/Gateway-Neo4j-300x141.png 300w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/Gateway-Neo4j-768x360.png 768w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/Gateway-Neo4j-1536x721.png 1536w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/Gateway-Neo4j-2048x961.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Also interesting to explore the graph of the <a href=\"http:\/\/test.mosquitto.org\/\">test.mosquitto.org<\/a> <a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=mqtt&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7135743223875985408\">hashtag#MQTT<\/a> broker&#8230;<br><br>saw some go-eChargers, some solax inverters, some json scada demos (never heard about it before), and also a &#8220;Atomkraftwerk1234567890&#8221; \ud83d\ude00<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/1701293334109.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"623\" src=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/1701293334109.jpeg\" alt=\"\" class=\"wp-image-1315\" srcset=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/1701293334109.jpeg 800w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/1701293334109-300x234.jpeg 300w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2023\/12\/1701293334109-768x598.jpeg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\ud83e\udd14 I thought about if it could make sense to connect to a MQTT broker and write the topic-path in a structured and connected way to a graph database. It could reflect a companies UNS with ISA structure in a graph with query possibilities. \ud83e\udd1d The UNS could be enriched by adding additional meta information &hellip; <a href=\"https:\/\/www.rocworks.at\/wordpress\/?p=1313\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Use the Unified Namespace (UNS) as a graph?<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[56,54,42,55],"class_list":["post-1313","post","type-post","status-publish","format-standard","hentry","category-frankenstein","tag-graph","tag-mqtt","tag-neo4j","tag-uns"],"_links":{"self":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1313"}],"version-history":[{"count":1,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1313\/revisions"}],"predecessor-version":[{"id":1316,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1313\/revisions\/1316"}],"wp:attachment":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}