<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://opensemantic.world/w/index.php?action=history&amp;feed=atom&amp;title=Item%3AOSWab674d663a5b472f838d8e1eb43e6784</id>
	<title>Item:OSWab674d663a5b472f838d8e1eb43e6784 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://opensemantic.world/w/index.php?action=history&amp;feed=atom&amp;title=Item%3AOSWab674d663a5b472f838d8e1eb43e6784"/>
	<link rel="alternate" type="text/html" href="https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;action=history"/>
	<updated>2026-05-01T06:08:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=1196&amp;oldid=prev</id>
		<title>Admin: Protected &quot;Item:OSWab674d663a5b472f838d8e1eb43e6784&quot;: Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=1196&amp;oldid=prev"/>
		<updated>2026-01-13T05:09:23Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/Item:OSWab674d663a5b472f838d8e1eb43e6784&quot; title=&quot;Item:OSWab674d663a5b472f838d8e1eb43e6784&quot;&gt;OSW Schema&lt;/a&gt;&amp;quot;: Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:09, 13 January 2026&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff::1.12:old-1195:rev-1196 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=1195&amp;oldid=prev</id>
		<title>Admin: Update package: OSW Docs - Core</title>
		<link rel="alternate" type="text/html" href="https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=1195&amp;oldid=prev"/>
		<updated>2026-01-13T05:09:20Z</updated>

		<summary type="html">&lt;p&gt;Update package: OSW Docs - Core&lt;/p&gt;
&lt;a href=&quot;https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;amp;diff=1195&amp;amp;oldid=407&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=407&amp;oldid=prev</id>
		<title>Admin: Update package: OSW Docs - Core</title>
		<link rel="alternate" type="text/html" href="https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=407&amp;oldid=prev"/>
		<updated>2024-04-29T02:06:38Z</updated>

		<summary type="html">&lt;p&gt;Update package: OSW Docs - Core&lt;/p&gt;
&lt;a href=&quot;https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;amp;diff=407&amp;amp;oldid=235&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=235&amp;oldid=prev</id>
		<title>Admin: Update package: OSW Docs - Core</title>
		<link rel="alternate" type="text/html" href="https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=235&amp;oldid=prev"/>
		<updated>2023-09-01T10:03:12Z</updated>

		<summary type="html">&lt;p&gt;Update package: OSW Docs - Core&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:03, 1 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Overview===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Overview===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====General====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====General====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Template:Editor/DrawIO|file_name=diagram-01|page_name=Item:OSWab674d663a5b472f838d8e1eb43e6784|uuid=2f275e34-41c8-4f63-a6cb-ee2861c488f2}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Template:Editor/DrawIO&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| file_name = OSW concept and included technologies&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| page_name = Item:OSWab674d663a5b472f838d8e1eb43e6784&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| uuid = 01a91338-79e9-4df1-9a8e-617d91d28f39&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| width = 1000px&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;{{Template:Editor/DrawIO|file_name=diagram-01|page_name=Item:OSWab674d663a5b472f838d8e1eb43e6784|uuid=2f275e34-41c8-4f63-a6cb-ee2861c488f2}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Dual hierarchy example====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Dual hierarchy example====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff::1.12:old-186:rev-235 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=186&amp;oldid=prev</id>
		<title>Admin: Install package: OSW Docs - Core</title>
		<link rel="alternate" type="text/html" href="https://opensemantic.world/w/index.php?title=Item:OSWab674d663a5b472f838d8e1eb43e6784&amp;diff=186&amp;oldid=prev"/>
		<updated>2023-06-27T08:54:02Z</updated>

		<summary type="html">&lt;p&gt;Install package: OSW Docs - Core&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Schema for the dynamical Composition of nested class structures&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
Transforming Semantic Mediawiki into a knowledge base with structured data used to require PageForms and multiple template per class:&lt;br /&gt;
&lt;br /&gt;
* Template to store the data and render the page&lt;br /&gt;
* Form to edit the page&lt;br /&gt;
* Form to query for instances of the class&lt;br /&gt;
* Template to render the query results&lt;br /&gt;
* Subtemplate to handle complex data&lt;br /&gt;
&lt;br /&gt;
Reusing structures with this approach is difficult and storing data in wikicode leads to a significant lock-in regarding editing those data using existing stardards and tools.&lt;br /&gt;
&lt;br /&gt;
The new concept is based on strictly storing data in json and use wikicode just for structured text and render templates. Insteaf of distributing content among multiple pages all relevent content is stored withing different slots of the same page. Additional, inheritance is highly supported and enables a broad reuse of any structure.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
====General====&lt;br /&gt;
{{Template:Editor/DrawIO|file_name=diagram-01|page_name=Item:OSWab674d663a5b472f838d8e1eb43e6784|uuid=2f275e34-41c8-4f63-a6cb-ee2861c488f2}}&lt;br /&gt;
&lt;br /&gt;
====Dual hierarchy example====&lt;br /&gt;
{{#mermaid:&lt;br /&gt;
classDiagram&lt;br /&gt;
&lt;br /&gt;
    class Schema_Entity {&lt;br /&gt;
        String uuid&lt;br /&gt;
    }&lt;br /&gt;
    class Schema_Class {&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    Schema_Class &amp;lt;-- Schema_Entity: type&lt;br /&gt;
    Schema_Entity &amp;lt;-- Class_Entity: schema&lt;br /&gt;
&lt;br /&gt;
    class Schema_OntologyTerm{&lt;br /&gt;
    }&lt;br /&gt;
    Schema_Class &amp;lt;|-- Schema_OntologyTerm : allOf&lt;br /&gt;
    Schema_OntologyTerm &amp;lt;-- Class_OwlThing : schema&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    Class_OwlThing &amp;lt;|-- Class_Entity: subclassOf&lt;br /&gt;
&lt;br /&gt;
    class Schema_Item {&lt;br /&gt;
        String type&lt;br /&gt;
        subclassOf Class_Item category&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    class Class_Entity {&lt;br /&gt;
        Schema_Entity schema&lt;br /&gt;
    }&lt;br /&gt;
    Schema_Entity &amp;lt;|-- Schema_Item : allOf&lt;br /&gt;
    Schema_Item &amp;lt;-- Class_Item: schema&lt;br /&gt;
    Class_Entity &amp;lt;|-- Class_Item: subclassOf&lt;br /&gt;
&lt;br /&gt;
    class Schema_Physical {&lt;br /&gt;
        String location&lt;br /&gt;
    }&lt;br /&gt;
    Schema_Item &amp;lt;|-- Schema_Physical : allOf&lt;br /&gt;
&lt;br /&gt;
    Class_Item &amp;lt;|-- Class_Device : subclassOf&lt;br /&gt;
    Class_Device &amp;lt;|-- Class_MeasurementDevice : subclassOf&lt;br /&gt;
    Schema_DeviceClass &amp;lt;-- Class_Device : schema&lt;br /&gt;
&lt;br /&gt;
    class Schema_DeviceClass {&lt;br /&gt;
        String manufacturer&lt;br /&gt;
        subclassOf Class_Device category&lt;br /&gt;
    }&lt;br /&gt;
    Schema_Item &amp;lt;|-- Schema_DeviceClass : allOf&lt;br /&gt;
&lt;br /&gt;
    class Instance_DeviceType1 {&lt;br /&gt;
        manufacturer: CompanyABC&lt;br /&gt;
        category: Class_MeasurementDevice&lt;br /&gt;
    }&lt;br /&gt;
    Schema_Item &amp;lt;|-- Instance_DeviceType1 : type&lt;br /&gt;
    Schema_DeviceClass &amp;lt;-- Instance_DeviceType1 : type&lt;br /&gt;
&lt;br /&gt;
    class Schema_DeviceInstance {&lt;br /&gt;
        Schema_DeviceClass device_type&lt;br /&gt;
        String location&lt;br /&gt;
    }&lt;br /&gt;
    Schema_Physical &amp;lt;|-- Schema_DeviceInstance : allOf&lt;br /&gt;
    Schema_DeviceClass o-- Schema_DeviceInstance : device_type&lt;br /&gt;
&lt;br /&gt;
    class Instance_MyDevice {&lt;br /&gt;
        device_type: Instance_DeviceType1&lt;br /&gt;
        location: somewhere&lt;br /&gt;
    }&lt;br /&gt;
    Schema_DeviceInstance &amp;lt;-- Instance_MyDevice : type&lt;br /&gt;
    Instance_DeviceType1 o-- Instance_MyDevice : device_type&lt;br /&gt;
  |&lt;br /&gt;
  config.theme = neutral&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Why are Categories (Classes) different from Items (Instances)?&lt;br /&gt;
&lt;br /&gt;
*Pro&lt;br /&gt;
**Reflects rdf(s) and owl standard&lt;br /&gt;
**Reflects OOP in Python and other programming languages, only (?) Javascript supports a similar concepts with [https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Object_prototypes prototypes]&lt;br /&gt;
**Compatible with SMW features like rdf-export and [https://www.semantic-mediawiki.org/wiki/Help:Inferencing#Subcategories Inferencing]&lt;br /&gt;
*Contra&lt;br /&gt;
**User needs to decide before creating a term or move the term later to a different namespace (renaming/redirect)&lt;br /&gt;
&lt;br /&gt;
===Slots===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Slots&lt;br /&gt;
!Key&lt;br /&gt;
!Model&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|main&lt;br /&gt;
|wikitext&lt;br /&gt;
|default content slot, rendered between the page header and footer&lt;br /&gt;
|-&lt;br /&gt;
|jsonschema&lt;br /&gt;
|json&lt;br /&gt;
|stored within a category (=class) page, defining the schema for the jsondata slot of any category member (instance)&lt;br /&gt;
|-&lt;br /&gt;
|jsondata&lt;br /&gt;
| json&lt;br /&gt;
|structured data&lt;br /&gt;
|-&lt;br /&gt;
|schema_template&lt;br /&gt;
|text&lt;br /&gt;
|stored within a metacategory/-class, contains a handlebars template to build the jsonschema of a class from its jsondata slot&lt;br /&gt;
|-&lt;br /&gt;
|data_template&lt;br /&gt;
|wikitext&lt;br /&gt;
|stored within a category (=class) page, defining how the jsondata attributes of any category member (instance) are mapped to semantic properties&lt;br /&gt;
|-&lt;br /&gt;
|header_template&lt;br /&gt;
|wikitext&lt;br /&gt;
|stored within a category (=class) page, renders the page header of any category member (instance)&lt;br /&gt;
|-&lt;br /&gt;
|footer_template&lt;br /&gt;
|wikitext&lt;br /&gt;
|stored within a category (=class) page, renders the page footer of any category member (instance)&lt;br /&gt;
|-&lt;br /&gt;
|header&lt;br /&gt;
|wikitext&lt;br /&gt;
|renders the page header&lt;br /&gt;
|-&lt;br /&gt;
|footer&lt;br /&gt;
|wikitext&lt;br /&gt;
|renders the page footer&lt;br /&gt;
|-&lt;br /&gt;
|template/internal&lt;br /&gt;
|wikitext&lt;br /&gt;
|hidden content, not rendered. Can be used to call parser functions or lua modules&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Meta-Schemas===&lt;br /&gt;
[[:Category:Category]] ist the default Metacategory / -class for all categories / classes. Its slot schema_template contains a handlebars template that sets schema attributes like title, allOf, description, etc. from the user generated jsondata. Additional Metacategories can be created as subclasses of  [[:Category:Category]] to simplify the creation of complex schemas, e. g. [[:Category:OSWecff4345b4b049218f8d6628dc2f2f21]]. This feature is compareable to python metaclasses.&lt;br /&gt;
{{Template:Editor/DrawIO|file_name=meta-schema|page_name=Item:OSWab674d663a5b472f838d8e1eb43e6784|uuid=49d68bb7-a5de-413b-a107-7bc5f459a766|full_width=0|width=1200px}}Matecategories /-classes contain a handlebars template within the schema_template slot. The templated is evaluated with the jsondata-slot content to create / update the jsonschema-slot content of any derivated class on every edit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Json-Schema===&lt;br /&gt;
{{Template:Editor/DrawIO|file_name=diagram-json|page_name=Item:OSWab674d663a5b472f838d8e1eb43e6784|uuid=95a74be1-e22d-4b6e-9e4f-836127d5915a|full_width=0}}&lt;br /&gt;
&lt;br /&gt;
====Base====&lt;br /&gt;
https://json-schema.org/ (Draft 4)&lt;br /&gt;
&lt;br /&gt;
A Jsonschema can reference other schemas. This is equivalent to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Subcategory of::Entity]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (Semantic Mediawiki) and &amp;lt;code&amp;gt;owl:subclass_of&amp;lt;/code&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;title&amp;quot;: &amp;quot;MyEntitySubclass&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;object&amp;quot;,&lt;br /&gt;
    &amp;quot;allOf&amp;quot;: [{&amp;quot;$ref&amp;quot;: &amp;quot;/wiki/Category:Entity?action=raw&amp;amp;slot=jsonschema&amp;quot;}]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Json-Editor====&lt;br /&gt;
https://github.com/json-editor/json-editor, which is used to render edit &amp;amp; query forms based on provided jsonschema, adds additional keywords and options.&lt;br /&gt;
&lt;br /&gt;
*Basic features: see https://github.com/json-editor/json-editor#readme&lt;br /&gt;
*Further details: https://github.com/json-editor/json-editor/blob/master/README_ADDON.md&lt;br /&gt;
*Demos: https://json-editor.github.io/json-editor/, https://pmk65.github.io/jedemov2/dist/demo.html&lt;br /&gt;
* Examples: https://github.com/json-editor/json-editor/tree/master/tests/pages&lt;br /&gt;
&lt;br /&gt;
=====Autocompletion =====&lt;br /&gt;
*https://github.com/trevoreyre/autocomplete&lt;br /&gt;
*https://github.com/corejavascript/typeahead.js/blob/master/doc/jquery_typeahead.md (currently not supported)&lt;br /&gt;
Enables autocompletion in input fields. Configuration see [[Zentrales Wiki/Schema#Additional options|Additional options]]&lt;br /&gt;
&lt;br /&gt;
====Custom Extensions====&lt;br /&gt;
&lt;br /&gt;
=====Embedded i18n support:=====&lt;br /&gt;
keywords &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; can be extended with additional keywords  &amp;lt;code&amp;gt;title*&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;description*&amp;lt;/code&amp;gt;, which hold and object with lang-keys (de, en, etc.) pointing to the translated strings.&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;title&amp;quot;: &amp;quot;Default Title&amp;quot;,&lt;br /&gt;
    &amp;quot;title*&amp;quot;: {&amp;quot;en&amp;quot;: &amp;quot;Title (en)&amp;quot;, &amp;quot;de&amp;quot;: &amp;quot;Titel (de)&amp;quot;}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Additional  keywords=====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Special jsonschema attributes ($properties.&amp;lt;property&amp;gt;.*)&lt;br /&gt;
!Key&lt;br /&gt;
!Alias&lt;br /&gt;
!Subkeys&lt;br /&gt;
!Value&lt;br /&gt;
!Description&lt;br /&gt;
!Note&lt;br /&gt;
|-&lt;br /&gt;
|eval_template&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|evaluation template for the current json object (while &amp;#039;template&amp;#039; is used by jsoneditor in the UI)&lt;br /&gt;
|eval_templates are expanded before the json data is passed to render templates and property mapping&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|type&lt;br /&gt;
|mediawiki&lt;br /&gt;
|uses the wiki template parser. Cannot handle objects and arrays =&amp;gt; non-literals get stripped&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&amp;quot;&lt;br /&gt;
|mustache&lt;br /&gt;
|uses the lua mustache template parser https://github.com/OpenSemanticLab/lustache/tree/scribunto-module-pages. Can handle objects and arrays&lt;br /&gt;
|https://mustache.github.io/, https://stackblitz.com/edit/mustache-tester?file=index.js&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| &amp;quot;&lt;br /&gt;
|mustache-wikitext&lt;br /&gt;
|applies mustache first, then wikitext&lt;br /&gt;
|wikitext parts containing &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; need to be wrapped inside &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{=&amp;lt;%&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;%&amp;gt;=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;  and&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;%={{ }}=%&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|mode&lt;br /&gt;
|&amp;lt;none&amp;gt;&lt;br /&gt;
|the given template will be used to render the json object and store it&amp;#039;s semantic data&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&amp;quot;&lt;br /&gt;
|render&lt;br /&gt;
|the given template will be used to render the json object&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&amp;quot;&lt;br /&gt;
|store&lt;br /&gt;
|the given template will be used to store semantic data&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| value&lt;br /&gt;
|&amp;lt;string&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|page&lt;br /&gt;
|&amp;lt;wiki page&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|slot&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|url&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Special jsondata attributes ($.*)&lt;br /&gt;
!Key&lt;br /&gt;
!Alias&lt;br /&gt;
!Subkeys&lt;br /&gt;
!Value&lt;br /&gt;
!Description&lt;br /&gt;
!Note&lt;br /&gt;
|-&lt;br /&gt;
|type&lt;br /&gt;
|&lt;br /&gt;
| -&lt;br /&gt;
|an array of category pages&lt;br /&gt;
|if defined, the given category will be used to render the json object and store it&amp;#039;s semantic data&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====Additional options=====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
Additional options ($properties.&amp;lt;property&amp;gt;.options.*)&lt;br /&gt;
!Key&lt;br /&gt;
!Subkeys&lt;br /&gt;
!SubSubkeys&lt;br /&gt;
! Value&lt;br /&gt;
! Example&lt;br /&gt;
! Description&lt;br /&gt;
! Note&lt;br /&gt;
|-&lt;br /&gt;
|conditional_visible&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|modes&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;array&amp;gt;&lt;br /&gt;
|[&amp;quot;default&amp;quot;, &amp;quot;query&amp;quot;]&lt;br /&gt;
|Display this field only in the selected modes of the editor&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|conditional_hide&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|tbd&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|autocomplete&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|buildin option&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|mode&lt;br /&gt;
|&lt;br /&gt;
|smw&lt;br /&gt;
|&lt;br /&gt;
|query mode&lt;br /&gt;
|for now only supports semantic mediawiki&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|query&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[HasLabel::~*{{input}}*]]|?HasLabel=label&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|handlebars query template&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|range&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Category:Item&lt;br /&gt;
|creates a static query &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[Category:Item]][[HasLabel::~*{{input}}*]]|?HasLabel=label&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|property&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Property:HasLabel&lt;br /&gt;
|existing value of the property &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[HasLabel::+]]&amp;lt;/nowiki&amp;gt;&amp;lt;nowiki&amp;gt;[[HasLabel::~*{{input}}*]]&amp;lt;/nowiki&amp;gt;?HasLabel=value&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|render_template&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| how to display query results in the suggestion list&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|type&lt;br /&gt;
|&amp;lt;array&amp;gt;&lt;br /&gt;
| [&amp;quot;handlebars&amp;quot;, &amp;quot;wikitext&amp;quot;]&lt;br /&gt;
|template engines are applied in the specified order. wikitext will result in parse-API calls, which is not recommanded for large result sets&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|value&lt;br /&gt;
|template string&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[{{result.fulltext}}]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|the actual template string. Pure handlebars templates can contain html tags like links (&amp;lt;code&amp;gt;&amp;lt;a&amp;gt;&amp;lt;/code&amp;gt;) and images (&amp;lt;code&amp;gt;&amp;lt;img&amp;gt;&amp;lt;/code&amp;gt;), wikitext templates need to use the wiki-syntax &amp;lt;code&amp;gt;[[ ]]&amp;lt;/code&amp;gt;&lt;br /&gt;
|wiki-links to categories need a &amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt; prefix: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[:{{result.fulltext}}]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|label_template&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|how to display the item after getting selected by the user&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| type&lt;br /&gt;
| &amp;lt;array&amp;gt;&lt;br /&gt;
|[&amp;quot;handlebars&amp;quot;]&lt;br /&gt;
| only handlebars supported&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|value&lt;br /&gt;
| template string&lt;br /&gt;
|&amp;lt;code&amp;gt;result.printouts.label.[0]&amp;lt;/code&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|role&lt;br /&gt;
| query&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{&amp;quot;filter&amp;quot;: &amp;quot;min|max|eq&amp;quot;}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| {&amp;quot;filter&amp;quot;: &amp;quot;min&amp;quot;}&lt;br /&gt;
|Creates a semantic mediawiki query for a numerical property, e. g. if the property maps to &amp;quot;HasNumber&amp;quot;, the filter is &amp;quot;min&amp;quot; and the user provided value is 3 this results in the query &amp;quot;[[HasNumber::&amp;gt;3]]&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====Autocomplete =====&lt;br /&gt;
Default setting (planned, see also [[Zentrales Wiki/Schema#Object Properties and Data / Annotation Properties|Object Properties and Data / Annotation Properties]])&lt;br /&gt;
* for data / annotation properties: existing values of the property: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#ask:[[&amp;lt;Property&amp;gt;::+]]|?&amp;lt;Property&amp;gt;=value}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* for object properties: existing instances of the range category: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#ask:[[Category:&amp;lt;range&amp;gt;]]}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
======Shortcuts======&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt;: Populates the field with instances of the given category (and its subcategories)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
    &amp;quot;format&amp;quot;: &amp;quot;autocomplete&amp;quot;,&lt;br /&gt;
    &amp;quot;options&amp;quot;:{	&lt;br /&gt;
        &amp;quot;autocomplete&amp;quot;: {&lt;br /&gt;
            &amp;quot;category&amp;quot;:&amp;quot;Category:X&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Remote / external data import=====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;...&amp;quot;: {},&lt;br /&gt;
    &amp;quot;data_source_maps&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;id&amp;quot;: &amp;quot;pubchem.ncbi.nlm.nih.gov&amp;quot;,&lt;br /&gt;
            &amp;quot;source&amp;quot;: &amp;quot;https://pubchem.ncbi.nlm.nih.gov/rest/pug_view/data/compound/{{pubchem_cid}}/JSON&amp;quot;,&lt;br /&gt;
            &amp;quot;label&amp;quot;: &amp;quot;PubChem&amp;quot;,&lt;br /&gt;
            &amp;quot;required&amp;quot;: [&lt;br /&gt;
                &amp;quot;pubchem_cid&amp;quot;&lt;br /&gt;
            ],&lt;br /&gt;
            &amp;quot;object_map&amp;quot;: {&lt;br /&gt;
                &amp;quot;cas_numbers&amp;quot;: &amp;quot;$..[?(@.TOCHeading===&amp;#039;CAS&amp;#039;)].Information..Value.StringWithMarkup..String&amp;quot;&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;properties&amp;quot;: {&lt;br /&gt;
        &amp;quot;pubchem_cid&amp;quot;: {&lt;br /&gt;
            &amp;quot;title&amp;quot;: &amp;quot;PubChem CID&amp;quot;,&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;cas_numbers&amp;quot;: {&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;array&amp;quot;,&lt;br /&gt;
            &amp;quot;...&amp;quot;: {}&lt;br /&gt;
        },&lt;br /&gt;
        &amp;quot;...&amp;quot;: {}&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Tests could be run on various playgrounds:&lt;br /&gt;
&lt;br /&gt;
*Handlebars template: [https://handlebarsjs.com/playground.html]&lt;br /&gt;
&lt;br /&gt;
*jsonpath: [https://jsonpath-plus.github.io/JSONPath/demo/]&lt;br /&gt;
*xpath: [http://xpather.com/]&lt;br /&gt;
&lt;br /&gt;
=====Search=====&lt;br /&gt;
Properties can be marked as inputs for the categories query form by adding the conditional_visible option. Therefor a context mapping to a SWM Property is mandatory (see [[#JSON-LD]]). With &amp;lt;code&amp;gt;&amp;quot;hidden&amp;quot;: true&amp;lt;/code&amp;gt; the property is only visible in the query form. With &amp;lt;code&amp;gt;&amp;quot;hidden&amp;quot;: false&amp;lt;/code&amp;gt; it&amp;#039;s visible both in the edit and in the query form.&amp;lt;syntaxhighlight lang=&amp;quot;json-ld&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;@context&amp;quot;:&lt;br /&gt;
        &amp;quot;...&amp;quot;,&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;query_label&amp;quot;: &amp;quot;Property:HasLabel&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;...&amp;quot;: {},&lt;br /&gt;
    &amp;quot;properties&amp;quot;: {&lt;br /&gt;
        &amp;quot;query_label&amp;quot;: {&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;options&amp;quot;: {&lt;br /&gt;
                &amp;quot;hidden&amp;quot;: true,&lt;br /&gt;
                &amp;quot;conditional_visible&amp;quot;: {&lt;br /&gt;
                    &amp;quot;modes&amp;quot;: [&lt;br /&gt;
                        &amp;quot;query&amp;quot;&lt;br /&gt;
                    ]&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;The default comperator for text properties is &amp;lt;code&amp;gt;~&amp;lt;/code&amp;gt; (like), for all other properties &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; (equal). The comperator can be defined with the role filter option, e. g. &amp;lt;code&amp;gt;&amp;quot;min&amp;quot;&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;.&amp;lt;syntaxhighlight lang=&amp;quot;json-ld&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;@context&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;start_date_min&amp;quot;: &amp;quot;Property:HasStartDateAndTime&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;...&amp;quot;: &amp;quot;...&amp;quot;,&lt;br /&gt;
    &amp;quot;properties&amp;quot;: {&lt;br /&gt;
        &amp;quot;start_date_min&amp;quot;: {&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
            &amp;quot;format&amp;quot;: &amp;quot;datetime-local&amp;quot;,&lt;br /&gt;
            &amp;quot;options&amp;quot;: {&lt;br /&gt;
                &amp;quot;flatpickr&amp;quot;: {},&lt;br /&gt;
                &amp;quot;conditional_visible&amp;quot;: {&lt;br /&gt;
                    &amp;quot;modes&amp;quot;: &amp;quot;query&amp;quot;&lt;br /&gt;
                },&lt;br /&gt;
                &amp;quot;role&amp;quot;: {&lt;br /&gt;
                    &amp;quot;query&amp;quot;: {&lt;br /&gt;
                        &amp;quot;filter&amp;quot;: &amp;quot;min&amp;quot;&lt;br /&gt;
                    }&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===JSON-LD===&lt;br /&gt;
json-ld jsonschema: https://github.com/json-ld/json-ld.org/blob/main/schemas/jsonld-schema.json&lt;br /&gt;
&lt;br /&gt;
Local playground: https://wiki-dev.open-semantic-lab.org/w/extensions/MwJson/json-ld/playground/index.html&lt;br /&gt;
&lt;br /&gt;
====References====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
json-ld should be embedded into jsonschema, but has its own referencing mechanism:&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;@context&amp;quot;: [&lt;br /&gt;
        &amp;quot;/wiki/Category:Entity?action=raw&amp;amp;slot=jsonschema&amp;quot;,&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;Property&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;https://wiki-dev.open-semantic-lab.org/id/Property-3A&amp;quot;, &amp;quot;@prefix&amp;quot;: true},&lt;br /&gt;
            &amp;quot;manufacturer&amp;quot;: &amp;quot;Property:HasManufacturer&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;title&amp;quot;: &amp;quot;MyEntitySubclass&amp;quot;,&lt;br /&gt;
    &amp;quot;type&amp;quot;: &amp;quot;object&amp;quot;,&lt;br /&gt;
    &amp;quot;allOf&amp;quot;: [{&amp;quot;$ref&amp;quot;: &amp;quot;/wiki/Category:Entity?action=raw&amp;amp;slot=jsonschema&amp;quot;}],&lt;br /&gt;
    &amp;quot;properties&amp;quot;: {&lt;br /&gt;
        &amp;quot;manufacturer&amp;quot;: {&lt;br /&gt;
            &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Example: [https://json-ld.org/playground/#startTab=tab-expanded&amp;amp;json-ld=%7B%22%40context%22%3A%5B%22https%3A%2F%2Fraw.githubusercontent.com%2Fjson-ld%2Fjson-ld.org%2Fmain%2Fexamples%2Fsyntax%2Fexample-031-Combining-external-and-local-contexts.json%22%2C%7B%22pic2%22%3A%7B%22%40id%22%3A%22http%3A%2F%2Fxmlns.com%2Fcustom%2F0.1%2Fdepiction%22%2C%22%40type%22%3A%22%40id%22%7D%2C%22lit%22%3A%7B%22%40id%22%3A%22http%3A%2F%2Fxmlns.com%2Fcustom%2F0.1%2Fdepiction%22%7D%7D%5D%2C%22name%22%3A%22Manu%20Sporny%22%2C%22homepage%22%3A%22http%3A%2F%2Fmanu.sporny.org%2F%22%2C%22pic%22%3A%22http%3A%2F%2Ftwitter.com%2Faccount%2Fprofile_image%2Fmanusporny%22%2C%22pic2%22%3A%22http%3A%2F%2Ftwitter.com%2Faccount%2Fprofile_image%2Fmanusporny%22%7D&amp;amp;context=%7B%7D]&lt;br /&gt;
&lt;br /&gt;
====Property mapping====&lt;br /&gt;
Properties with a local definition (SMW Property) are automatically mapped. Jsondata of an instance of the category could then be provided with an json-ld context:&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;@context&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
          	&amp;quot;@version&amp;quot;: 1.1,&lt;br /&gt;
            &amp;quot;wiki&amp;quot;: &amp;quot;https://wiki-dev.open-semantic-lab.org/id/&amp;quot;,&lt;br /&gt;
          	&amp;quot;Property&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;wiki:Property-3A&amp;quot;, &amp;quot;@prefix&amp;quot;: true},&lt;br /&gt;
          	&amp;quot;@vocab&amp;quot;: &amp;quot;https://wiki-dev.open-semantic-lab.org/id/Property-3A&amp;quot;,&lt;br /&gt;
            &amp;quot;myproperty&amp;quot;: &amp;quot;Property:MyProperty&amp;quot;,&lt;br /&gt;
            &amp;quot;myproperty2&amp;quot;: &amp;quot;wiki:Property-3AMyProperty&amp;quot;,&lt;br /&gt;
          	&amp;quot;myproperty3&amp;quot;: &amp;quot;MyProperty&amp;quot;,&lt;br /&gt;
          	&amp;quot;Item&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;wiki:Item-3A&amp;quot;, &amp;quot;@prefix&amp;quot;: true},&lt;br /&gt;
          	&amp;quot;myObjectProperty&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;Property:MyObjectProperty&amp;quot;, &amp;quot;@type&amp;quot;: &amp;quot;@id&amp;quot;}&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  	&amp;quot;myproperty&amp;quot;: &amp;quot;Works by using &amp;#039;@prefix&amp;#039;: true (preferred)&amp;quot;,&lt;br /&gt;
  	&amp;quot;myproperty2&amp;quot;: &amp;quot;Works by using &amp;#039;wiki&amp;#039; prefix with terminating &amp;#039;/&amp;#039;&amp;quot;,&lt;br /&gt;
  	&amp;quot;myproperty3&amp;quot;: &amp;quot;Works by using &amp;#039;@vocab&amp;#039;&amp;quot;,&lt;br /&gt;
  	&amp;quot;myObjectProperty&amp;quot;: &amp;quot;Item:123456&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Currently there seems no way to express that a property has two ids (e. g. with &amp;lt;code&amp;gt;&amp;quot;label&amp;quot;: {&amp;quot;@id&amp;quot;: [&amp;quot;property:HasLabel&amp;quot;, &amp;quot;skos:prefLabel&amp;quot;]}&amp;lt;/code&amp;gt;):  https://github.com/json-ld/json-ld.org/issues/160&lt;br /&gt;
&lt;br /&gt;
As a workaround, an additional context notation is provided: &amp;lt;property&amp;gt;* pointing to a list of additional &amp;quot;@id&amp;quot; mappings:&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;@context&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;@version&amp;quot;: 1.1,&lt;br /&gt;
            &amp;quot;skos&amp;quot;: &amp;quot;https://www.w3.org/TR/skos-reference/&amp;quot;,&lt;br /&gt;
            &amp;quot;wiki&amp;quot;: &amp;quot;https://wiki-dev.open-semantic-lab.org/id/&amp;quot;,&lt;br /&gt;
          	&amp;quot;Property&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;wiki:Property-3A&amp;quot;, &amp;quot;@prefix&amp;quot;: true},&lt;br /&gt;
            &amp;quot;label&amp;quot;: &amp;quot;skos:prefLabel&amp;quot;,&lt;br /&gt;
            &amp;quot;label*&amp;quot;: &amp;quot;Property:HasLabel&amp;quot;,&lt;br /&gt;
            &amp;quot;label**&amp;quot;: &amp;quot;Property:Display_title_of&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  	&amp;quot;label&amp;quot;: &amp;quot;Maps externally to skos:prefLabel and internally to Property:HasLabel&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Object Properties and Data / Annotation Properties=====&lt;br /&gt;
Properties default to data / annotation properties (value is a literal). Object properties (value is an identifier/reference to another object) can by defined by adding &amp;lt;code&amp;gt;&amp;quot;@type&amp;quot;: &amp;quot;@id&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=====Subobjects=====&lt;br /&gt;
If the value of a mapped property is an object (after expanding all eval_templates), it will get stored as a [https://www.semantic-mediawiki.org/wiki/Subobject smw subobject] with an id derivated from the field &amp;lt;code&amp;gt;uuid&amp;lt;/code&amp;gt;, a display title from &amp;lt;code&amp;gt;label&amp;lt;/code&amp;gt; and a category from &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; (if provided).&lt;br /&gt;
&lt;br /&gt;
Example: can be selected with &amp;lt;nowiki&amp;gt;[[MyObjectProperty.MyProperty::myvalue]]&amp;lt;/nowiki&amp;gt;&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;@context&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
          	&amp;quot;@version&amp;quot;: 1.1,&lt;br /&gt;
            &amp;quot;wiki&amp;quot;: &amp;quot;https://wiki-dev.open-semantic-lab.org/id/&amp;quot;,&lt;br /&gt;
          	&amp;quot;Property&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;wiki:Property-3A&amp;quot;, &amp;quot;@prefix&amp;quot;: true},&lt;br /&gt;
            &amp;quot;myproperty&amp;quot;: &amp;quot;Property:MyProperty&amp;quot;,&lt;br /&gt;
          	&amp;quot;Item&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;wiki:Item-3A&amp;quot;, &amp;quot;@prefix&amp;quot;: true},&lt;br /&gt;
          	&amp;quot;myObjectProperty&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;Property:MyObjectProperty&amp;quot;, &amp;quot;@type&amp;quot;: &amp;quot;@id&amp;quot;}&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  	&amp;quot;myObjectProperty&amp;quot;: {&lt;br /&gt;
  	    &amp;quot;uuid&amp;quot;: &amp;quot;2ea5b605-c91f-4e5a-9559-3dff79fdd4a5&amp;quot;,&lt;br /&gt;
  	    &amp;quot;label&amp;quot;: &amp;quot;MySubobject&amp;quot;,&lt;br /&gt;
  	    &amp;quot;myproperty&amp;quot;: &amp;quot;myvalue&amp;quot;&lt;br /&gt;
  	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Labels and i18n====&lt;br /&gt;
i18n language keys can be embedded in to an label object to create a language tagged string&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;@context&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
          	&amp;quot;@version&amp;quot;: 1.1,&lt;br /&gt;
            &amp;quot;skos&amp;quot;: &amp;quot;https://www.w3.org/TR/skos-reference/&amp;quot;,&lt;br /&gt;
          	&amp;quot;label&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;skos:prefLabel&amp;quot;, &amp;quot;@container&amp;quot;: &amp;quot;@language&amp;quot;},&lt;br /&gt;
          	&amp;quot;label2&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;skos:prefLabel&amp;quot;},&lt;br /&gt;
          	&amp;quot;label_text&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;@value&amp;quot;},&lt;br /&gt;
          	&amp;quot;label_lang_key&amp;quot;: {&amp;quot;@id&amp;quot;: &amp;quot;@language&amp;quot;}&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
  	&amp;quot;label&amp;quot;: {&amp;quot;en&amp;quot;: &amp;quot;&amp;#039;Text&amp;#039; gets transformed to &amp;#039;Text@en&amp;#039; by applying @container&amp;quot;},&lt;br /&gt;
  	&amp;quot;label2&amp;quot;: {&amp;quot;label_text&amp;quot;: &amp;quot;&amp;#039;Text&amp;#039; gets transformed to &amp;#039;Text@de&amp;#039; by subkeys @id&amp;#039;s&amp;quot;, &amp;quot;label_lang_key&amp;quot;: &amp;quot;de&amp;quot;}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Ontology term import/export ====&lt;br /&gt;
Existing ontology terms can be imported/exported via json-ld directly or ttl by defining the corresponding context, e. g. for EMMO-Terms: [https://json-ld.org/playground/#startTab=tab-table&amp;amp;json-ld=%7B%22%40context%22%3A%7B%22owl%22%3A%22http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%22%2C%22rdf%22%3A%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%2C%22rdfs%22%3A%22http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%22%2C%22xsd%22%3A%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%22%2C%22skos%22%3A%22http%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%22%2C%22dc%22%3A%22http%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%22%2C%22uri%22%3A%7B%22%40id%22%3A%22%40id%22%7D%2C%22rdf_type%22%3A%7B%22%40id%22%3A%22%40type%22%7D%2C%22label%22%3A%7B%22%40id%22%3A%22skos%3AprefLabel%22%7D%2C%22altLabel%22%3A%7B%22%40id%22%3A%22skos%3AaltLabel%22%7D%2C%22text%22%3A%7B%22%40id%22%3A%22%40value%22%7D%2C%22lang%22%3A%7B%22%40id%22%3A%22%40language%22%7D%2C%22subClassOf%22%3A%7B%22%40id%22%3A%22rdfs%3AsubClassOf%22%2C%22%40type%22%3A%22%40id%22%7D%2C%22source%22%3A%22dc%3Asource%22%2C%22disjointUnionOf%22%3A%22owl%3AdisjointUnionOf%22%2C%22disjointWith%22%3A%22owl%3AdisjointWith%22%2C%22equivalentClass%22%3A%22owl%3AequivalentClass%22%2C%22unionOf%22%3A%7B%22%40id%22%3A%22owl%3AunionOf%22%2C%22%40container%22%3A%22%40list%22%2C%22%40type%22%3A%22%40id%22%7D%2C%22comment%22%3A%22rdfs%3Acomment%22%2C%22isDefinedBy%22%3A%22rdfs%3AisDefinedBy%22%2C%22seeAlso%22%3A%22rdfs%3AseeAlso%22%2C%22qudtReference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_1f1b164d_ec6a_4faa_8d5e_88bda62316cc%22%2C%22omReference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_209ba1b3_149f_4ff0_b672_941610eafd72%22%2C%22wikidataReference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_26bf1bef_d192_4da6_b0eb_d2209698fb54%22%2C%22ISO9000Reference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_3aa37f92_8dc5_4ee4_8438_e41e6ae20c62%22%2C%22IEVReference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_50c298c2_55a2_4068_b3ac_4e948c33181f%22%2C%22dbpediaReference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_6dd685dd_1895_46e4_b227_be9f7d643c25%22%2C%22etymology%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_705f27ae_954c_4f13_98aa_18473fc52b25%22%2C%22definition%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_70fe84ff_99b6_4206_a9fc_9a8931836d84%22%2C%22ISO80000Reference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_8de5d5bf_db1c_40ac_b698_095ba3b18578%22%2C%22ISO14040Reference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_964568dd_64d2_454b_a12f_ac389f1c5e7f%22%2C%22elucidation%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9%22%2C%22example%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_b432d2d5_25f4_4165_99c5_5935a7763c1a%22%2C%22VIMTerm%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_bb49844b_45d7_4f0d_8cae_8e552cbc20d6%22%2C%22emmo_comment%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_c7b62dd7_063a_4c2a_8504_42f7264ba83f%22%2C%22wikipediaReference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_c84c6752_6d64_48cc_9500_e54a3c34898d%22%2C%22iupacReference%22%3A%22http%3A%2F%2Femmo.info%2Femmo%23EMMO_fe015383_afb3_44a6_ae86_043628697aa2%22%2C%22Item%22%3A%22https%3A%2F%2Fwiki-dev.open-semantic-lab.org%2Fwiki%22%2C%22uuid%22%3A%22wiki%3AHasUuid%22%2C%22name%22%3A%22wiki%3AHasName%22%7D%2C%22type%22%3A%5B%22Category%3AOSW57beed5e1294434ba77bb6516e461456%22%5D%2C%22uuid%22%3A%22ba3f3fd5-bf6d-4aea-9563-a2c7b88b2e6b%22%2C%22label%22%3A%5B%7B%22text%22%3A%22Net%20Faradaic%20Current%22%2C%22lang%22%3A%22en%22%7D%5D%2C%22name%22%3A%22NetFaradaicCurrent%22%2C%22%40id%22%3A%22http%3A%2F%2Femmo.info%2Felectrochemistry%23electrochemistry_14577b99_a8a9_4358_9bc5_ab8c401dd34b%22%2C%22%40type%22%3A%22owl%3AClass%22%2C%22elucidation%22%3A%7B%22lang%22%3A%22en%22%2C%22text%22%3A%22Algebraic%20sum%20of%20faradaic%20currents%20flowing%20through%20an%20electrode.%22%7D%2C%22comment%22%3A%7B%22lang%22%3A%22en%22%2C%22text%22%3A%22I%22%7D%2C%22subClassOf%22%3A%5B%22http%3A%2F%2Femmo.info%2Felectrochemistry%23electrochemistry_2a2f59b7_aa16_40aa_9c8b_0de8a2720456%22%5D%2C%22prefLabel%22%3A%7B%22lang%22%3A%22en%22%2C%22text%22%3A%22NetFaradaicCurrent%22%7D%7D]&lt;br /&gt;
&lt;br /&gt;
===Recursive Parsing===&lt;br /&gt;
&lt;br /&gt;
====Module:Category====&lt;br /&gt;
&amp;lt;s&amp;gt;Called from Category:&amp;lt;UUID&amp;gt;@template&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;s&amp;gt;Synchonize Category:&amp;lt;UUID&amp;gt;@jsondata.subclass_of with Category:&amp;lt;UUID&amp;gt;@jsonschema.allOf&amp;lt;/s&amp;gt;&lt;br /&gt;
#&amp;lt;s&amp;gt;Expand Category:Category@header_template with jsondata parameters&amp;lt;/s&amp;gt;&lt;br /&gt;
#&amp;lt;s&amp;gt;Render Category:&amp;lt;UUID&amp;gt;@main&amp;lt;/s&amp;gt;&lt;br /&gt;
#&amp;lt;s&amp;gt;Expand Category:Category@footer_template with jsondata parameters&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Module:Entity====&lt;br /&gt;
Called from item@template, item = Item:&amp;lt;UUID&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Recursion=====&lt;br /&gt;
#For each Item:&amp;lt;UUID&amp;gt;@jsondata.osl_category as category:&lt;br /&gt;
## For each category@jsondata.osl_category or category@jsonschema.allOf as supercategory:&lt;br /&gt;
###For each supercategory@jsondata.osl_category or supercategory@jsonschema.allOf as supersupercategory:&lt;br /&gt;
####...&lt;br /&gt;
###Expand supercategory@header_template with item@jsondata parameters. Fallback: Render infobox&lt;br /&gt;
###Expand supercategory@data_template with item.jsondata parameters. Fallback: Use Json-LD mapping within category:jsonschema&lt;br /&gt;
##If category@header_template: Expand category@header_template with item@jsondata parameters&lt;br /&gt;
##Else: Render infobox with all attribute-value pairs&lt;br /&gt;
##Expand category@data_template with item.jsondata parameters. Fallback: Use Json-LD mapping within category:jsonschema&lt;br /&gt;
#Render item@main&lt;br /&gt;
#footer...&lt;br /&gt;
&lt;br /&gt;
=====Data Storing=====&lt;br /&gt;
&lt;br /&gt;
#template specified: use template&lt;br /&gt;
#category specified:&lt;br /&gt;
## category@data_template specified: use data_template&lt;br /&gt;
## Use Json-LD mapping&lt;br /&gt;
###mapping specified: Store semantic property&lt;br /&gt;
#### Literal value: store value&lt;br /&gt;
####Object value&lt;br /&gt;
#####Property has type text/code: Store json string&lt;br /&gt;
#####osl_category / osl_template specifided: see below&lt;br /&gt;
###Don&amp;#039;t store semantic property&lt;br /&gt;
&lt;br /&gt;
Nested objects within item@jsondata are handled&lt;br /&gt;
* osl_category: same handling as the root object, but:&lt;br /&gt;
**Rendering with category@header_template. Fallback: Nested info box&lt;br /&gt;
**Data storing with category@data_template. Fallback: Creating a subobject with Json-LD mapping + (inverse) semantic relation to the root object&lt;br /&gt;
*osl_template: expand the template, return value is asigned to the property&lt;br /&gt;
&lt;br /&gt;
===Python Code Generation===&lt;br /&gt;
see https://github.com/OpenSemanticLab/osw-python&lt;br /&gt;
&lt;br /&gt;
===Statement===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
PCB contains 10% +/- 1% Lead and Gold&lt;br /&gt;
!s&lt;br /&gt;
!p/s&lt;br /&gt;
!o/p/s&lt;br /&gt;
!o/p&lt;br /&gt;
!o...&lt;br /&gt;
|-&lt;br /&gt;
|PCB&lt;br /&gt;
|contains&lt;br /&gt;
|Lead&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|contains&lt;br /&gt;
|HasMassConcentration&lt;br /&gt;
|10%&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|HasMassConcentration&lt;br /&gt;
|HasPrecision&lt;br /&gt;
|1%&lt;br /&gt;
|-&lt;br /&gt;
|PCB&lt;br /&gt;
|contains&lt;br /&gt;
|Gold&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===File Handling===&lt;br /&gt;
&lt;br /&gt;
====Copy-Policy====&lt;br /&gt;
drop: do not copy the file&lt;br /&gt;
&lt;br /&gt;
copy: copy the file and store the reference to it&lt;br /&gt;
&lt;br /&gt;
copy-ref: store the referece to the original file&lt;br /&gt;
&lt;br /&gt;
ask-on-edit: store the reference but ask the user to copy the original file when he tries to edit it (current_page != creation_page)&lt;br /&gt;
&lt;br /&gt;
====Meta-Data====&lt;br /&gt;
HasProject=project inherit: permissions from project &lt;br /&gt;
&lt;br /&gt;
HasCreationPage=creation_page: wiki page within this file was created &lt;br /&gt;
&lt;br /&gt;
HasEditPage=edit_page: wiki page within this file was edited &lt;br /&gt;
&lt;br /&gt;
HasCreator=creator: initial creator of the file &lt;br /&gt;
&lt;br /&gt;
HasEditor=editor: editors of the file&lt;br /&gt;
===Links===&lt;br /&gt;
&lt;br /&gt;
*https://tdan.com/knowledge-graphs-vs-property-graphs-part-ii/27271&lt;br /&gt;
*https://www.uni-ulm.de/fileadmin/website_uni_ulm/iui.inst.090/Lehre/WS_2011-2012/SemWebGrundlagen/v03_handout.pdf&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>