Item:OSWee501c0fa6a9407d99c058b5ff9d55b4: Difference between revisions

From OpenSemanticWorld
Item:OSWee501c0fa6a9407d99c058b5ff9d55b4
(Install package: OSW Docs - Core)
 
No edit summary
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==JSON Application Tutorial==
==OO-LD==
Table of contents:
Meta-Standards that combines JSON-SCHEMA and JSON-LD [https://github.com/OO-LD/schema]
* context --> Mapping of JSON object properties to semantic properties
 
* defaultProperties --> properties that are shown in the JSON editor by default
{{Template:Editor/DrawIO
* array use cases
| file_name = diagram-json
** format: selectbox / checkbox
| page_name = Item:OSWab674d663a5b472f838d8e1eb43e6784
** format: table
| uuid = 95a74be1-e22d-4b6e-9e4f-836127d5915a
** table with autocomplete
| width = 50%
* Inheritance with "allOf": {"type": "object", "$ref": "..."}
}}
 
 
<!-- Does not render in Reveal: ==OO-LD Schema (1)==
{{#mermaid:
classDiagram
    class OOLD_Class_A {
        JSON-SCHEMA + JSON-LD
        @context: ...
        properties: a...
    }
 
    class OOLD_Class_B {
        JSON-SCHEMA + JSON-LD
        @context: ./A
        allOf: ./A
        properties: b...
    }
 
    class OOLD_Instance_B {
        JSON
        @context: ./B
        $schema: ./B
        a: ...
        b: ...
    }
 
    OOLD_Class_A <-- OOLD_Class_B: extends
 
    OOLD_Class_B <-- OOLD_Instance_B: type
|theme=neutral
}} -->
== Playground (UI) ==
[https://oo-ld.github.io/playground-yaml/?data=N4Ig9gDgLglmB2BnEAuUMDGCA2MBGqIAZglAIYDuApomALZUCsIANOHgFZUZQD62ZAJ5gArlELwwAJzplsrEIgwALKrNSgAAlnhQqAD3FpFKtWULKoUCCgD0tpatkA6aQHNbC%2BGQaFHZlG9fNjwYKShlABMhP1NZFFDw5QARMj0QAF82WChsKkIABSopWngFKEEIfJR2Lh4FKSoARxEwqkjUAG0QIPyQsIjowRAAXTYIKUhi2BoNHp9q0AqqvygpGHg3BUiaDHXoODKagDEwxCgAAjJ4SIuAGTJzi96FOg27qk2I1AAWNh2iGQRNgjCAAFLFNSCC7JaRlLIgRKDGLGZbVRRrDZbNgkGRpQjRdL%2FXb7WAIQgAFVUFyRUSEFzARAuESoFyqJXJGS5bEQyjAFF4xUmJUIGz0UjIPEO5Sc6LwYDAUHOEogPwUZA4ZH0qDWIiobAA1lQqBBeAgqIzeAA3OR65AoQHYRBUBEcUpzF41CGNOjQ2FSMr9JJDQgAJgADKGfgBacMADljAE5MhkgA%3D (open in new tab)]
<xframe height=900 key="github.io" level="oo-ld" path="playground-yaml/?data=N4Ig9gDgLglmB2BnEAuUMDGCA2MBGqIAZglAIYDuApomALZUCsIANOHgFZUZQD62ZAJ5gArlELwwAJzplsrEIgwALKrNSgAAlnhQqAD3FpFKtWULKoUCCgD0tpatkA6aQHNbC%2BGQaFHZlG9fNjwYKShlABMhP1NZFFDw5QARMj0QAF82WChsKkIABSopWngFKEEIfJR2Lh4FKSoARxEwqkjUAG0QIPyQsIjowRAAXTYIKUhi2BoNHp9q0AqqvygpGHg3BUiaDHXoODKagDEwxCgAAjJ4SIuAGTJzi96FOg27qk2I1AAWNh2iGQRNgjCAAFLFNSCC7JaRlLIgRKDGLGZbVRRrDZbNgkGRpQjRdL%2FXb7WAIQgAFVUFyRUSEFzARAuESoFyqJXJGS5bEQyjAFF4xUmJUIGz0UjIPEO5Sc6LwYDAUHOEogPwUZA4ZH0qDWIiobAA1lQqBBeAgqIzeAA3OR65AoQHYRBUBEcUpzF41CGNOjQ2FSMr9JJDQgAJgADKGfgBacMADljAE5MhkgA%3D" />
 
== Playground (Code) ==
[https://oo-ld.github.io/playground-python-yaml/?data=N4Ig9gDgLglmB2BnEAuUMDGCA2MBGqIAZglAIYDuApomALZUCsIANOHgFZUZQD62ZAJ5gArlELwwAJzplsrEIgwALKrNSgAAlnhQqAD3FpFKtWULKoUCCgD0tpatkA6aQHNbC%2BGQaFHZlG9fAF82WChsKkIABSopWngFKEEIKJR2Lh4FKSoARxEYHIATVABtECCogF02CClIONgaDQqfNNBk1L8oKRh4NwUimgxe6DhE9IAxQsQoAAIyeCK5gBkyWbnKwaoiMhFsIxAAKTi1QTmAEWlE4Nu2RGUwCl44%2BvjCPr0pMh5xpKc0iA8GAwFBZt8IAAWBRkDhkfSoHoiKhsADWVCoEF4CCoYCIvAAbnJkcgULtsIgqKEQBwEi0tulooIoI94HMAOJUeBxMh6Eq3IA (open in new tab)]
<xframe height=900 key="github.io" level="oo-ld" path="playground-python-yaml/?data=N4Ig9gDgLglmB2BnEAuUMDGCA2MBGqIAZglAIYDuApomALZUCsIANOHgFZUZQD62ZAJ5gArlELwwAJzplsrEIgwALKrNSgAAlnhQqAD3FpFKtWULKoUCCgD0tpatkA6aQHNbC%2BGQaFHZlG9fNjwYKShlABMhP1NZFFDw5QARMj0QAF82WChsKkIABSopWngFKEEIfJR2Lh4FKSoARxEwqkjUAG0QIPyQsIjowRAAXTYIKUhi2BoNHp9q0AqqvygpGHg3BUiaDHXoODKagDEwxCgAAjJ4SIuAGTJzi96FOg27qk2I1AAWNh2iGQRNgjCAAFLFNSCC7JaRlLIgRKDGLGZbVRRrDZbNgkGRpQjRdL%2FXb7WAIQgAFVUFyRUSEFzARAuESoFyqJXJGS5bEQyjAFF4xUmJUIGz0UjIPEO5Sc6LwYDAUHOEogPwUZA4ZH0qDWIiobAA1lQqBBeAgqIzeAA3OR65AoQHYRBUBEcUpzF41CGNOjQ2FSMr9JJDQgAJgADKGfgBacMADljAE5MhkgA%3D" />
 
==Try it yourself==
<div style=" column-count: 2;">
<div>[https://oo-ld.github.io/playground-yaml/?data=N4Ig9gDgLglmB2BnEAuUMDGCA2MBGqIAZglAIYDuApomALZUCsIANOHgFZUZQD62ZAJ5gArlELwwAJzplsrEIgwALKrNSgAAlnhQqAD3FpFKtWULKoUCCgD0tpatkA6aQHNbC%2BGQaFHZlG9fNjwYKShlABMhP1NZFFDw5QARMj0QAF82WChsKkIABSopWngFKEEIfJR2Lh4FKSoARxEwqkjUAG0QIPyQsIjowRAAXTYIKUhi2BoNHp9q0AqqvygpGHg3BUiaDHXoODKagDEwxCgAAjJ4SIuAGTJzi96FOg27qk2I1AAWNh2iGQRNgjCAAFLFNSCC7JaRlLIgRKDGLGZbVRRrDZbNgkGRpQjRdL%2FXb7WAIQgAFVUFyRUSEFzARAuESoFyqJXJGS5bEQyjAFF4xUmJUIGz0UjIPEO5Sc6LwYDAUHOEogPwUZA4ZH0qDWIiobAA1lQqBBeAgqIzeAA3OR65AoQHYRBUBEcUpzF41CGNOjQ2FSMr9JJDQgAJgADKGfgBacMADljAE5MhkgA%3D OO-LD Playground]
<div class="QrCodeGenerator" data-config="{
    &quot;text&quot;: &quot;https://t1p.de/oz6pr&quot;,
    &quot;image&quot;: true
}"></div>
</div>
<div>[https://oo-ld.github.io/playground-python-yaml/?data=N4Ig9gDgLglmB2BnEAuUMDGCA2MBGqIAZglAIYDuApomALZUCsIANOHgFZUZQD62ZAJ5gArlELwwAJzplsrEIgwALKrNSgAAlnhQqAD3FpFKtWULKoUCCgD0tpatkA6aQHNbC%2BGQaFHZlG9fAF82WChsKkIABSopWngFKEEIKJR2Lh4FKSoARxEYHIATVABtECCogF02CClIONgaDQqfNNBk1L8oKRh4NwUimgxe6DhE9IAxQsQoAAIyeCK5gBkyWbnKwaoiMhFsIxAAKTi1QTmAEWlE4Nu2RGUwCl44%2BvjCPr0pMh5xpKc0iA8GAwFBZt8IAAWBRkDhkfSoHoiKhsADWVCoEF4CCoYCIvAAbnJkcgULtsIgqKEQBwEi0tulooIoI94HMAOJUeBxMh6Eq3IA OO-LD Python Playground]
<div class="QrCodeGenerator" data-config="{
    &quot;text&quot;: &quot;https://t1p.de/mlt5v&quot;,
    &quot;image&quot;: true
}"></div>
</div>
</div>
 
<div style=" column-count: 2;">
<div>[https://oo-ld.github.io/playground-yaml Advanced OO-LD Playground]
<div class="QrCodeGenerator" data-config="{
    &quot;text&quot;: &quot;https://oo-ld.github.io/playground-yaml&quot;,  
    &quot;image&quot;: true
}"></div>
</div>
<div>[https://oo-ld.github.io/playground-python-yaml Advanced OO-LD Python Playground]
<div class="QrCodeGenerator" data-config="{
    &quot;text&quot;: &quot;https://oo-ld.github.io/playground-python-yaml&quot;,
    &quot;image&quot;: true
}"></div>
</div>
</div>
 
== Use case: Data collection ==
Create datasets and export them directly as linked data / RDF - and vice versa. (Hint: Select overwrite to load the latest version)
<xframe height=900 key="github.io" level="repolab" path="jupyterlite-playground/lab/index.html?fromURL=https://raw.githubusercontent.com/OO-LD/oold-python/refs/heads/main/examples/linked_data_editor.ipynb" />
 
== Use case: Workflow provenance ==
Define workflows with full provenance based on [https://github.com/OO-LD/awl-schema]. (Hint: Select overwrite to load the latest version)
<xframe height=900 key="github.io" level="repolab" path="jupyterlite-playground/lab/index.html?fromURL=https://raw.githubusercontent.com/OO-LD/awl-python/refs/heads/main/examples/human_in_the_loop_async.ipynb" />
jsondata
Line 1: Line 1:
{
{
    "type": [
"type": [
        "Category:OSW494f660e6a714a1a9681c517bbb975da"
"Category:OSW494f660e6a714a1a9681c517bbb975da"
    ],
],
    "uuid": "ee501c0f-a6a9-407d-99c0-58b5ff9d55b4",
"uuid": "ee501c0f-a6a9-407d-99c0-58b5ff9d55b4",
    "name": "JsonApplicationTutorial",
"label": [
    "label": [
{
        {
"text": "OO-LD Tutorial",
            "text": "JSON Application Tutorial",
"lang": "en"
            "lang": "en"
}
        }
],
    ],
"description": [
    "description": [
{
        {
"text": "Introduction to the Object-Oriented Linked Data (OO-LD) schema",
            "text": "Exhibits some applications of JSON and JSON Schema, focussing on the JSON Editor.",
"lang": "en"
            "lang": "en"
}
        }
],
    ],
"name": "OoLdTutorial",
    "image": "File:OSWef6806b8a17f472c9dd34bfe0c1ca6f1.png",
"image": "File:OSWef6806b8a17f472c9dd34bfe0c1ca6f1.png",
    "required_predecessor": [
"required_predecessor": [
        "Item:OSWf1df064239044b8fa3c968339fb93344",
"Item:OSWf1df064239044b8fa3c968339fb93344",
        "Item:OSWf4a9514baed04859a4c6c374a7312f10"
"Item:OSWf4a9514baed04859a4c6c374a7312f10",
    ],
"Item:OSW911488771ea449a6a34051f8213d7f2f"
    "optional_predecessor": [
],
        "Item:OSW911488771ea449a6a34051f8213d7f2f"
"optional_predecessor": [],
    ],
"recommended_successor": [],
    "recommended_successor": []
"part_of": [
"Item:OSWae8546dad40e487fa837db9c5ab07a5f"
]
}
}

Latest revision as of 05:48, 13 January 2026

OO-LD Tutorial ID: OSWee501c0fa6a9407d99c058b5ff9d55b4 | UUID: ee501c0f-a6a9-407d-99c0-58b5ff9d55b4 | 📦: world.opensemantic.meta.docs.core
ID OSWee501c0fa6a9407d99c058b5ff9d55b4
UUID ee501c0f-a6a9-407d-99c0-58b5ff9d55b4
Label OO-LD Tutorial
Machine compatible name OoLdTutorial
Types/Categories Tutorial
OSWef6806b8a17f472c9dd34bfe0c1ca6f1.png
Statements (outgoing)
Statements (incoming)
Details

Description[edit source]

Introduction to the Object-Oriented Linked Data (OO-LD) schema

Item
Type(s)/Category(s) Tutorial
Tutorial
Prerequisites (required) JSON Tutorial
JSON-SCHEMA Tutorial
JSON-LD Tutorial
Prerequisites (optional)
Follow-up (recommended)

View as slide show

OO-LD[edit | edit source]

Meta-Standards that combines JSON-SCHEMA and JSON-LD [1]


drawio: diagram-json


Playground (UI)[edit | edit source]

(open in new tab)

Playground (Code)[edit | edit source]

(open in new tab)

Try it yourself[edit | edit source]

Use case: Data collection[edit | edit source]

Create datasets and export them directly as linked data / RDF - and vice versa. (Hint: Select overwrite to load the latest version)

Use case: Workflow provenance[edit | edit source]


📎 Select files (or drop them here)... 📷 Camera
    jsondata
    type
    "Category:OSW494f660e6a714a1a9681c517bbb975da"
    uuid"ee501c0f-a6a9-407d-99c0-58b5ff9d55b4"
    label
    text"OO-LD Tutorial"
    lang"en"
    description
    text"Introduction to the Object-Oriented Linked Data (OO-LD) schema"
    lang"en"
    name"OoLdTutorial"
    image"File:OSWef6806b8a17f472c9dd34bfe0c1ca6f1.png"
    required_predecessor
    "Item:OSWf1df064239044b8fa3c968339fb93344"
    "Item:OSWf4a9514baed04859a4c6c374a7312f10"
    "Item:OSW911488771ea449a6a34051f8213d7f2f"
    optional_predecessor
    Empty array
    recommended_successor
    Empty array
    part_of
    "Item:OSWae8546dad40e487fa837db9c5ab07a5f"
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.