{"id":3255,"date":"2021-10-22T08:45:00","date_gmt":"2021-10-22T06:45:00","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=3255"},"modified":"2021-10-20T00:50:26","modified_gmt":"2021-10-19T22:50:26","slug":"local-context-service","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/local-context-service\/","title":{"rendered":"Local context service"},"content":{"rendered":"<p>If you want to use data models coming from several subjects you will have to merge (somehow) their @contexts.<\/p>\n<p>In this first step, we offer you a service that allows you to choose what subjects you need to merge and to generate the @context.<\/p>\n<p>See the instructions on <a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-a-local-context-based-on-smart-data-models-iris\/\">the page<\/a>. Now in Main menu -&gt; @context -&gt; Generate a local context<\/p>\n<p>It also provides you with the conflicts in the attributes&#8217; names, in order to let you solve them manually.<\/p>\n<p>In the next step, possibly next week, you will have another service that will allow you to choose what reference ontologies and vocabularies you want to use and replace the Smart data models IRIs with those coming from these external sources.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to use data models coming from several subjects you will have to merge (somehow) their @contexts. In this first step, we offer you a service that allows you to choose what subjects you need to merge and to generate the @context. See the instructions on the page&#8230;. <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/local-context-service\/\">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,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[105,107,109,113,115,119,117,88,143,111,125,182],"tags":[],"class_list":["post-3255","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"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3192,"url":"https:\/\/smartdatamodels.org\/index.php\/local-context-available-in-all-subjects\/","url_meta":{"origin":3255,"position":0},"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":18419,"url":"https:\/\/smartdatamodels.org\/index.php\/use-smart-data-models-as-a-service-first-draft\/","url_meta":{"origin":3255,"position":1},"title":"Use smart data models as a service. First draft","author":"maestro","date":"04\/06\/2025","format":false,"excerpt":"In the data-models repository you can access to the first version to use smart data models as a service. Thanks to the works for the Cyclops project. The files available create a wrap up around pysmartdatamodels package and also add one service for the online validation of NGSI-LD payloads. Here\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":3399,"url":"https:\/\/smartdatamodels.org\/index.php\/new-ontology-mapped-gsma\/","url_meta":{"origin":3255,"position":2},"title":"New ontology mapped: GSMA","author":"maestro","date":"26\/11\/2021","format":false,"excerpt":"GSMA in their Iot Big data project has created an ontology for mapping some of the elemtens in the data models. Now in the folder data-models > context -> ontologies_files ->gsma.json you have the file you can use with the external @context generator service in the main menu.","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":7671,"url":"https:\/\/smartdatamodels.org\/index.php\/release-source-code-for-some-of-the-services-for-python-developers\/","url_meta":{"origin":3255,"position":3},"title":"Release source code for some of the services. For python developers.","author":"maestro","date":"22\/11\/2022","format":false,"excerpt":"In the tools option of the main menu, there are a few services to help you to use, create and debug your data models. Although working, some of these services are limited. We are releasing the code for some of the services to allow you to contribute with improvments. It\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-300x101.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10091,"url":"https:\/\/smartdatamodels.org\/index.php\/new-service-export-you-data-models-to-sql-schema\/","url_meta":{"origin":3255,"position":4},"title":"New service: Export you data models to SQL schema","author":"maestro","date":"30\/10\/2023","format":false,"excerpt":"We provide a service to Generate a PostgreSQL schema SQL script from the model.yaml representation of a Smart Data Model. You can access this service under this link following Tools > SQL service. You need to provide as input the standard GitHub link to the model.yaml file or the raw\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":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/10\/Screen-Shot-2023-10-30-at-17.14.41-300x201.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8195,"url":"https:\/\/smartdatamodels.org\/index.php\/new-service-for-customization-of-context-with-official-ontologies\/","url_meta":{"origin":3255,"position":5},"title":"New service for customization of @context with official ontologies","author":"maestro","date":"30\/01\/2023","format":false,"excerpt":"Some of the data models available are generated according to some ontologies (like dataModels.OSLO). The @context provided for the subject includes IRIs with the smartdatamodels by default, however, the use of official ontologies can be required. In order to allow this the file notes_context.jsonld was created and also included in\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":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/3255","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=3255"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/3255\/revisions"}],"predecessor-version":[{"id":3256,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/3255\/revisions\/3256"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=3255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=3255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=3255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}