{"id":8391,"date":"2023-03-02T18:31:05","date_gmt":"2023-03-02T17:31:05","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=8391"},"modified":"2023-03-02T18:31:05","modified_gmt":"2023-03-02T17:31:05","slug":"extended-context-jsonld-in-all-data-models","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/extended-context-jsonld-in-all-data-models\/","title":{"rendered":"Extended context.jsonld in all data models"},"content":{"rendered":"<p>Every subject &#8212; a group of data models &#8212; has a file named <a href=\"https:\/\/github.com\/smart-data-models\/dataModel.Weather\/blob\/master\/context.jsonld\">contex.jsonld<\/a> at their root.<\/p>\n<p>This file contains the @context with automatically generated IRI for the terms used in the data model.<\/p>\n<p>The Entity types are also available in this file with their long IRI.\u00a0 In the pointed example are the entries for &#8220;SeaConditions&#8221;, &#8220;WeatherAlert&#8221;, &#8220;WeatherForecast&#8221;, and &#8220;WeatherObserved&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-3686\" src=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon.png\" alt=\"\" width=\"194\" height=\"194\" srcset=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon.png 400w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-300x300.png 300w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-150x150.png 150w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-350x350.png 350w\" sizes=\"auto, (max-width: 194px) 100vw, 194px\" \/><\/p>\n<p>Remember that if you want to use other IRI coming, for example, from existing ontologies you can use the service on the Home -&gt; Tools -&gt; <a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-acontext-based-on-external-ontologies-iris\/\">Mapper @context with external ontologies<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every subject &#8212; a group of data models &#8212; has a file named contex.jsonld at their root. This file contains the @context with automatically generated IRI for the terms used in the data model. The Entity types are also available in this file with their long IRI.\u00a0 In the pointed&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/extended-context-jsonld-in-all-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":[84],"tags":[],"class_list":["post-8391","post","type-post","status-publish","format-standard","hentry","category-governance"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":6680,"url":"https:\/\/smartdatamodels.org\/index.php\/new-customization-option-for-context\/","url_meta":{"origin":8391,"position":0},"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":3192,"url":"https:\/\/smartdatamodels.org\/index.php\/local-context-available-in-all-subjects\/","url_meta":{"origin":8391,"position":1},"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":8195,"url":"https:\/\/smartdatamodels.org\/index.php\/new-service-for-customization-of-context-with-official-ontologies\/","url_meta":{"origin":8391,"position":2},"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":[]},{"id":7220,"url":"https:\/\/smartdatamodels.org\/index.php\/release-the-script-for-subjects-context-consolidation\/","url_meta":{"origin":8391,"position":3},"title":"Release the script for subjects&#8217; context consolidation.","author":"maestro","date":"28\/09\/2022","format":false,"excerpt":"The utils directory at the data models compiles some scripts we use internally. Now you have available a script for consolidating several @contexts from several subjects. It is the script called by the main menu options Home->tools -> Subjects' @context merger the help of the script # This file takes\u2026","rel":"","context":"In &quot;Governance&quot;","block_context":{"text":"Governance","link":"https:\/\/smartdatamodels.org\/index.php\/category\/governance\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/SmartDataModels_logo.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3454,"url":"https:\/\/smartdatamodels.org\/index.php\/local-context-now-have-existing-url\/","url_meta":{"origin":8391,"position":4},"title":"Local @context now have existing URL","author":"maestro","date":"09\/12\/2021","format":false,"excerpt":"In the root of every subject in the Smart Data Models program there is a file named context.jsonld (example from environment subject) It compiles long IRI for every term in the subject (But for those which are general terms). their URLs match this pattern \"https:\/\/smartdatamodels.org\/ 'subject'\u00a0 \/ term\" e.g.\u00a0 \"aqiMajorPollutant\":\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":3281,"url":"https:\/\/smartdatamodels.org\/index.php\/added-all-the-ontologies-coming-from-saref-to-the-external-context-options\/","url_meta":{"origin":8391,"position":5},"title":"Added all the ontologies coming from SAREF to the external context options","author":"maestro","date":"25\/10\/2021","format":false,"excerpt":"The new service for the generation of externally referenced @context has now available the mapping of the 13 SAREF ontologies. Check them out in the ontologies_files directory in the data-models repo.","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\/8391","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=8391"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/8391\/revisions"}],"predecessor-version":[{"id":8392,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/8391\/revisions\/8392"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=8391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=8391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=8391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}