{"id":9466,"date":"2023-09-04T16:50:46","date_gmt":"2023-09-04T14:50:46","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=9466"},"modified":"2023-10-10T17:00:38","modified_gmt":"2023-10-10T15:00:38","slug":"extension-of-the-smart-data-models","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/extension-of-the-smart-data-models\/","title":{"rendered":"Extension of the Smart Data Models"},"content":{"rendered":"<p>Hopefully you have unnoticed about several structural changes this weekend that has happen at SDM.<\/p>\n<h3>Database of attributes,<\/h3>\n<p>Now there are several additional information included.<\/p>\n<p><span class=\"break-words \"><span dir=\"ltr\">&#8212; A unique id for every attribute of a version of a data model (i.e. <\/span><\/span><\/p>\n<p>&#8212; The link to the parent&#8217;s attribute (whenever there is a parent) context link (i.e. <a href=\"https:\/\/smartdatamodels.org\/address\">https:\/\/smartdatamodels.org\/address<\/a>)<\/p>\n<p>&#8212; The unique id of the parent attribute (whenever there is a parent) (i.e. <\/p>\n<p>&#8212; The @context link of the attributes pointing to an existing web page with some details about the attribute (i.e. <a href=\"https:\/\/smartdatamodels.org\/postOfficeBoxNumber\">https:\/\/smartdatamodels.org\/postOfficeBoxNumber<\/a>)<\/p>\n<h3>Specifications<\/h3>\n<p>Now the second level of attributes is available in the specification document for all the languages (i.e. <a href=\"https:\/\/github.com\/smart-data-models\/dataModel.User\/blob\/master\/Activity\/doc\/spec.md\">https:\/\/github.com\/smart-data-models\/dataModel.User\/blob\/master\/Activity\/doc\/spec.md<\/a>)<\/p>\n<h3>Context file<\/h3>\n<p>Now the second and subsequent levels of the attributes have URI entries in the @context included in the file context.jsonld file in every subject (i.e. <a href=\"https:\/\/github.com\/smart-data-models\/dataModel.Environment\/blob\/master\/context.jsonld\">https:\/\/github.com\/smart-data-models\/dataModel.Environment\/blob\/master\/context.jsonld<\/a>)<\/p>\n<p>The URI of the data models points to a existing web page (i.e. <a href=\"https:\/\/smartdatamodels.org\/dataModel.Environment\/ambientNoiseTSA\">https:\/\/smartdatamodels.org\/dataModel.Environment\/ambientNoiseTSA<\/a>)<\/p>\n<p><span class=\"break-words \"><span dir=\"ltr\">Besides this we welcome a new member of the SDM team, <a href=\"https:\/\/www.fiware.org\/governance\/team\/\">Rihab Feki<\/a>. <\/span><\/span><\/p>\n<p><img decoding=\"async\" class=\"city-photo\" src=\"https:\/\/www.fiware.org\/wp-content\/directories\/people\/images\/200px\/rihab-feki.jpg\" alt=\"\" \/><\/p>\n<p><span class=\"break-words \"><span dir=\"ltr\"><br \/>\nquestions\/suggestions to <a href=\"mailto:info@smartdatamodels.org\" data-attribute-index=\"1\">info@smartdatamodels.org<\/a><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hopefully you have unnoticed about several structural changes this weekend that has happen at SDM. Database of attributes, Now there are several additional information included. &#8212; A unique id for every attribute of a version of a data model (i.e. &#8212; The link to the parent&#8217;s attribute (whenever there is&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/extension-of-the-smart-data-models\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[105,107,109,113,115,119,117,88,143,111,125,182,201],"tags":[],"class_list":["post-9466","post","type-post","status-publish","format-standard","hentry","category-cross-sector","category-smart-cities","category-smart-energy-domain","category-smart-environment","category-smart-manufacturing","category-smart-robotics","category-smart-water","category-smart-sensoring","category-smartaeronautics","category-smart-agrifood","category-smartdestinations","category-smarthealth","category-smartlogistics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":8157,"url":"https:\/\/smartdatamodels.org\/index.php\/the-data-models-available-for-python-developers-pysmartdatamodels-0-5-40-published-beta-version\/","url_meta":{"origin":9466,"position":0},"title":"The data models available for python developers. pysmartdatamodels 0.5.40 published. Beta version.","author":"maestro","date":"27\/01\/2023","format":false,"excerpt":"Now you can find in pypi.org the python package pysmartdatamodels with 13 functions for the integrators of the data models (more than 800) in external systems and applications. It is a beta version. There is a function, update_data() that whenever is run, it updates the data models to the last\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7846,"url":"https:\/\/smartdatamodels.org\/index.php\/draft-of-a-python-package-available\/","url_meta":{"origin":9466,"position":1},"title":"Draft of a python package available","author":"maestro","date":"12\/12\/2022","format":false,"excerpt":"Now we have a draft version of a python package to integrate the smart data models with your developments. It is a beta version so you can expect some issues when using it. We will be glad if you report it at info@smartdatamodels.org or suggest new features. Thanks to Anthony\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/11\/python-logo-master-v3-TM-flattened.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/11\/python-logo-master-v3-TM-flattened.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/11\/python-logo-master-v3-TM-flattened.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3192,"url":"https:\/\/smartdatamodels.org\/index.php\/local-context-available-in-all-subjects\/","url_meta":{"origin":9466,"position":2},"title":"Local context available in all subjects","author":"maestro","date":"08\/10\/2021","format":false,"excerpt":"We the middle of a reorganization of the @context resources. Our first priority is to not touch the @context that is currently available. We grant you we keep it. Why is this new option being created?, because otherwise is not possible to solve the conflicts in the IRI when we\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8527,"url":"https:\/\/smartdatamodels.org\/index.php\/entities-have-their-own-pages\/","url_meta":{"origin":9466,"position":3},"title":"Entities have their own pages","author":"maestro","date":"11\/04\/2023","format":false,"excerpt":"In the context.jsonld of every subject there are long IRI for every first-level attribute and for the names of the entities. See this example. formerly the link of the attributes took you to an existing web page while the links of the entities take you nowhere. Strictly there is not\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-11-at-01-13-45-https-__smartdatamodels.org_.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-11-at-01-13-45-https-__smartdatamodels.org_.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-11-at-01-13-45-https-__smartdatamodels.org_.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-11-at-01-13-45-https-__smartdatamodels.org_.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-11-at-01-13-45-https-__smartdatamodels.org_.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-11-at-01-13-45-https-__smartdatamodels.org_.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":7921,"url":"https:\/\/smartdatamodels.org\/index.php\/sql-export-available-for-postgresql\/","url_meta":{"origin":9466,"position":4},"title":"SQL export available for Postgresql","author":"maestro","date":"21\/12\/2022","format":false,"excerpt":"There is a new file 'schema.sql' in all the directories of the data models. It is a SQL script for PostgreSQL. The script creates the structure of a relational table containing the attributes defined in the data model. It also creates the data types for those attributes with an enumeration\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":913,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-the-contribution-manual\/","url_meta":{"origin":9466,"position":5},"title":"updated the contribution manual","author":"maestro","date":"02\/12\/2020","format":false,"excerpt":"The contribution manual (link in the upper menu of main page) is updated due to the change in the approach for documenting the data models. Main changes: Properties' definitions are now included as an attribute in the json schema The specification is generated automatically based on the json schema Json\u2026","rel":"","context":"In &quot;Smart Cities domain&quot;","block_context":{"text":"Smart Cities domain","link":"https:\/\/smartdatamodels.org\/index.php\/category\/smart-cities\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/9466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/comments?post=9466"}],"version-history":[{"count":4,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/9466\/revisions"}],"predecessor-version":[{"id":9932,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/9466\/revisions\/9932"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=9466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=9466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=9466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}