{"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,"_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":false,"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],"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":5975,"url":"https:\/\/smartdatamodels.org\/index.php\/mapping-with-core-public-service-vocabulary-uri-available\/","url_meta":{"origin":3255,"position":2},"title":"Mapping with core public service vocabulary URI available","author":"maestro","date":"10\/06\/2022","format":false,"excerpt":"Every data model in the Smart Data Models program can be mapped with external ontologies and there is a service on the main menu to achieve that. See main menu -> @context -> generate an external @context After the publication of data models of CPSV-AP now it is possible to\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":"CPSV-AP","src":"https:\/\/i0.wp.com\/ec.europa.eu\/isa2\/sites\/default\/files\/cpsv-ap.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":6680,"url":"https:\/\/smartdatamodels.org\/index.php\/new-customization-option-for-context\/","url_meta":{"origin":3255,"position":3},"title":"New customization option for context","author":"maestro","date":"18\/08\/2022","format":false,"excerpt":"The Smart Data Models Program does not define canonically and uniquely the terms used in the data models. There are many ontologies and vocabularies providing solutions to this issue. For those users of linked data solutions, every subject includes a context.jsonld file (see example) with long IRI for the terms\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":7671,"url":"https:\/\/smartdatamodels.org\/index.php\/release-source-code-for-some-of-the-services-for-python-developers\/","url_meta":{"origin":3255,"position":4},"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":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}]}}