Category:Entity: Difference between revisions

Category page
Category:Entity
(Update package: OSW Core)
(Update package: OSW Core)
 
(12 intermediate revisions by 4 users not shown)
jsondata
Line 1: Line 1:
{
{
    "subclass_of": [
        "Category:Entity"
    ],
     "uuid": "ce353767-c628-45bd-9d88-d6eb3009aec0",
     "uuid": "ce353767-c628-45bd-9d88-d6eb3009aec0",
     "label": [
     "label": [
Line 24: Line 21:
             "lang": "de"
             "lang": "de"
         }
         }
    ],
    "type": [
        "Category:Category"
     ]
     ]
}
}
jsonschema
Line 3: Line 3:
         "schema": "https://schema.org/",
         "schema": "https://schema.org/",
         "skos": "https://www.w3.org/TR/skos-reference/",
         "skos": "https://www.w3.org/TR/skos-reference/",
        "xsd": "http://www.w3.org/2001/XMLSchema#",
         "wiki": "https://wiki-dev.open-semantic-lab.org/id/",
         "wiki": "https://wiki-dev.open-semantic-lab.org/id/",
         "Property": {
         "Property": {
Line 18: Line 19:
             "@prefix": true
             "@prefix": true
         },
         },
         "category": {
         "rdf_type": {
             "@id": "@type"
             "@id": "@type",
            "@type": "@id"
         },
         },
         "uuid*": "Property:HasUuid",
         "uuid*": "Property:HasUuid",
Line 33: Line 35:
         "query_label": "Property:HasLabel",
         "query_label": "Property:HasLabel",
         "description": "skos:definition",
         "description": "skos:definition",
         "description_": "Property:HasDecription",
         "description*": "Property:HasDescription",
         "image": "schema:image",
         "image": "schema:image",
         "image*": "Property:HasImage",
         "image*": "Property:HasImage",
        "keywords": {
            "@id": "schema:keywords",
            "@type": "@id"
        },
        "keywords*": {
            "@id": "Property:HasKeyword",
            "@type": "@id"
        },
         "based_on": "skos:isBasedOn",
         "based_on": "skos:isBasedOn",
         "based_on*": {
         "based_on*": {
Line 46: Line 56:
             "@id": "Property:HasFileAttachment",
             "@id": "Property:HasFileAttachment",
             "@type": "@id"
             "@type": "@id"
        },
        "meta": {
            "@id": "Property:HasMeta",
            "@type": "@id",
            "@context": {
                "change_id": {
                    "@id": "Property:HasChangeId",
                    "@type": "xsd:string"
                }
            }
         }
         }
     },
     },
Line 55: Line 75:
         "uuid",
         "uuid",
         "label"
         "label"
    ],
    "defaultProperties": [
        "description"
     ],
     ],
     "properties": {
     "properties": {
Line 61: Line 84:
             "type": "string",
             "type": "string",
             "format": "uuid",
             "format": "uuid",
            "options": {
                "hidden": true
            }
        },
        "iri": {
            "title": "IRI",
            "description": "The Internationalized Resource Identifier (IRI) of this entity",
            "description*": {
                "de": "Der internationalisierte Ressourcenbezeichner (IRI) dieser Entität"
            },
            "type": "string",
            "format": "url",
             "options": {
             "options": {
                 "hidden": true
                 "hidden": true
Line 66: Line 101:
         },
         },
         "name": {
         "name": {
             "title": "Name",
             "title": "Technical name",
            "title*": {
                "de": "Technischer Name"
            },
             "description": "Technical / Machine compatible name",
             "description": "Technical / Machine compatible name",
             "description*": {
             "description*": {
Line 78: Line 116:
         "label": {
         "label": {
             "type": "array",
             "type": "array",
             "title": "Labels",
             "title": "Label(s)",
             "title*": {
             "title*": {
                 "de": "Namen"
                 "de": "Bezeichnung(en)"
             },
             },
             "description": "Human readable names. You have to assign at least one.",
             "description": "At least one label is required.",
             "description*": {
             "description*": {
                 "de": "Menschenlesbarer Namen. Du musst mindestens einen vergeben."
                 "de": "Mindestens eine Bezeichnung ist erforderlich."
             },
             },
             "format": "table",
             "format": "table",
Line 91: Line 129:
                     "type": "mustache-wikitext",
                     "type": "mustache-wikitext",
                     "mode": "render",
                     "mode": "render",
                     "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%={{ }}=%\u003E {{#label}} |{{lang}}={{text}} {{/label}} {{=\u003C% %\u003E=}} }}"
                    "$comment": "Displays value according to user language with eng as fallback option. Note: {{=\u003C% %\u003E=}} changes mustache expression from {{..}} to \u003C% %\u003E for mixing with wikitext templates",
                     "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%#label%\u003E | {{#ifeq: \u003C%lang%\u003E|en|#default|\u003C%lang%\u003E}} = \u003C%text%\u003E \u003C%/label%\u003E }}"
                 }
                 }
             ],
             ],
Line 97: Line 136:
                 "title": "Label",
                 "title": "Label",
                 "title*": {
                 "title*": {
                     "de": "Name"
                     "de": "Bezeichnung"
                 },
                 },
                 "eval_template": [
                 "eval_template": [
Line 112: Line 151:
         "short_name": {
         "short_name": {
             "type": "array",
             "type": "array",
             "title": "Short name",
             "title": "Short name(s)",
             "title*": {
             "title*": {
                 "de": "Kurzname"
                 "de": "Kurzname(n)"
             },
             },
             "description": "Abbreviation, Acronym, etc.",
             "description": "Abbreviation, Acronym, etc.",
Line 124: Line 163:
                 "type": "mustache-wikitext",
                 "type": "mustache-wikitext",
                 "mode": "render",
                 "mode": "render",
                 "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%={{ }}=%\u003E {{#short_name}} |{{lang}}={{text}} {{/short_name}} {{=\u003C% %\u003E=}} }}"
                "$comment": "Displays value according to user language with eng as fallback option. Note: {{=\u003C% %\u003E=}} changes mustache expression from {{..}} to \u003C% %\u003E for mixing with wikitext templates",
                 "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%#short_name%\u003E | {{#ifeq: \u003C%lang%\u003E|en|#default|\u003C%lang%\u003E}} = \u003C%text%\u003E \u003C%/short_name%\u003E }}"
             },
             },
             "items": {
             "items": {
                 "title": "Acronym",
                 "title": "Short name",
                 "title*": {
                 "title*": {
                     "de": "Kurzname"
                     "de": "Kurzname"
                 },
                 },
                "eval_template": [
                    {
                        "type": "wikitext",
                        "mode": "store",
                        "value": "{{{text}}}@{{{lang}}}"
                    }
                ],
                 "$ref": "/wiki/JsonSchema:Label?action=raw"
                 "$ref": "/wiki/JsonSchema:Label?action=raw"
             }
             }
         },
         },
         "query_label": {
         "query_label": {
             "title": "Label",
             "title": "Query label",
             "title*": {
             "title*": {
                 "de": "Name"
                 "de": "Abfrage-Bezeichnung"
             },
             },
             "type": "string",
             "type": "string",
Line 158: Line 205:
             "eval_template": {
             "eval_template": {
                 "type": "mustache-wikitext",
                 "type": "mustache-wikitext",
                 "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%={{ }}=%\u003E {{#description}} |{{lang}}={{text}} {{/description}} {{=\u003C% %\u003E=}} }}"
                "mode": "render",
                "$comment": "Displays value according to user language with eng as fallback option. Note: {{=\u003C% %\u003E=}} changes mustache expression from {{..}} to \u003C% %\u003E for mixing with wikitext templates",
                 "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%#description%\u003E | {{#ifeq: \u003C%lang%\u003E|en|#default|\u003C%lang%\u003E}} = \u003C%text%\u003E \u003C%/description%\u003E }}"
             },
             },
             "items": {
             "items": {
                "eval_template": [
                    {
                        "type": "wikitext",
                        "mode": "store",
                        "value": "{{{text}}}@{{{lang}}}"
                    }
                ],
                 "$ref": "/wiki/JsonSchema:Description?action=raw"
                 "$ref": "/wiki/JsonSchema:Description?action=raw"
             }
             }
Line 185: Line 241:
                 }
                 }
             ]
             ]
        },
        "keywords": {
            "type": "array",
            "title": "Keywords / Tags",
            "title*": {
                "de": "Schlagworte / Tags"
            },
            "description": "Designated to the user defined categorization of this element",
            "description*": {
                "de": "Dient der nutzerdefinierten Kategorisierung des Elements"
            },
            "eval_template": {
                "type": "mustache-wikitext",
                "mode": "render",
                "value": "{{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E  {{#keywords}}[[{{{.}}}]] \u003Cbr\u003E {{/keywords}} {{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E"
            },
            "items": {
                "title": "Keyword",
                "title*": {
                    "de": "Schlagwort"
                },
                "type": "string",
                "format": "autocomplete",
                "range": "Category:OSW09f6cdd54bc54de786eafced5f675cbe"
            }
         },
         },
         "based_on": {
         "based_on": {
Line 229: Line 310:
                 "type": "mustache-wikitext",
                 "type": "mustache-wikitext",
                 "mode": "render",
                 "mode": "render",
                 "value": "{{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E {{#attachments}} [[{{{.}}}]] \u003Cbr\u003E {{/attachments}} {{=\u003C% %\u003E=}}"
                 "value": "{{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E {{#attachments}}{{{.}}};{{/attachments}} {{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E"
             },
             },
             "options": {
             "options": {
Line 246: Line 327:
                 },
                 },
                 "links": [
                 "links": [
                    {
                        "href": "{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}\u0026width=200\u0026height=200{{/if}}",
                        "mediaType": "image"
                    },
                     {
                     {
                         "href": "{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}{{/if}}",
                         "href": "{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}{{/if}}",
Line 256: Line 333:
                     }
                     }
                 ]
                 ]
            }
        },
        "meta": {
            "$ref": "/wiki/JsonSchema:Meta?action=raw",
            "options": {
                "hidden": true
             }
             }
         }
         }
     }
     }
}
}
footer_template
Line 1: Line 1:
{{#if: {{{attachments|}}} |
 
{{#if: {{#ask: [[IsPartOf::{{FULLPAGENAME}}]]|format=plain|limit=1|searchlabel=}} |
=={{{_label_attachments| {{#switch:{{USERLANGUAGECODE}}|en=Structure|de=Struktur|#default=Structure}} }}}==
 
{{#tree:
{{#ask:
[[{{FULLPAGENAME}}]]
OR [[IsPartOf::{{FULLPAGENAME}}]]
OR [[IsPartOf.IsPartOf::{{FULLPAGENAME}}]]
OR [[IsPartOf.IsPartOf.IsPartOf::{{FULLPAGENAME}}]]
|format=tree
|parent=IsPartOf
}}
}}
|}}<!-- {{#if: {{{attachments|}}} |-->
 
=={{{_label_attachments| {{#switch:{{USERLANGUAGECODE}}|en=Attachments|de=Anhang|#default=Attachments}} }}}==
=={{{_label_attachments| {{#switch:{{USERLANGUAGECODE}}|en=Attachments|de=Anhang|#default=Attachments}} }}}==
<!-- {{#ask: [[IsFileAttachmentOf::{{FULLPAGENAME}}]] -->
{{#tag: gallery
{{#ask: [[-HasFileAttachment::{{FULLPAGENAME}}]]
|{{#arraymap: {{{attachments|}}} |;|__FILE__|__FILE__{{!}}[[:__FILE__]]|\n}}
|?HasName
}}
<!-- |?HasName #=Name
|?HasUrl=Link
|?Modification date=Zuletzt geändert  -->
|?HasUrl
|format=gallery
|redirects=HasUrl<!-- Links direct to download -->
|captionproperty=HasName
}} <!-- With format=table chem and math formular fail to render on page!?! -->
<!-- With format=datatable VE page safe fails!?! -->
<!-- <div class="fileupload-auto-reload">{{#batchupload:OslTemplate:ELN/Attachment|{{FULLPAGENAME}}|{{REVISIONUSER}}}}</div> -->
<!-- <div class="fileupload-auto-reload">{{#batchupload:OslTemplate:ELN/Attachment|{{FULLPAGENAME}}|{{REVISIONUSER}}}}</div> -->
{{#batchupload:}}
{{#batchupload:}}
|}}
<!--|}}-->
header_template
Line 1: Line 1:
<table class="info_box" style="height: 33px;border: 0;background-color: unset;">
<tr><td style="border: 0; display: flex;justify-content: right;" colspan="2">
    <div class="pagebot-button" data-config='{
    "action": "edit",
    "class": "btn btn-outline-secondary",
    "icon_class": "icon icon-edit",
    "label": "",
    "tooltip": "Edit page"
}'></div><div class="pagebot-button" data-config='{
    "action": "edit-data",
    "class": "btn btn-outline-secondary",
    "icon_class": "icon icon-menu",
    "label": ""
}'></div><div class="pagebot-button" data-config='{
    "action": "copy",
    "class": "btn btn-outline-secondary",
    "icon_class": "icon icon-copy",
    "label": ""
}'></div><div class="pagebot-button" data-config='{
    "action": "export",
    "class": "btn btn-outline-secondary",
    "icon_class": "icon icon-download",
    "label": ""
}'></div>{{#ifeq: {{NAMESPACE}}|Category|<div class="pagebot-button" data-config='{
    "action": "create-subcategory",
    "class": "btn btn-light",
    "icon_class": "icon icon-arrow-down",
    "label": ""
}'></div><div class="pagebot-button" data-config='{
    "action": "create-instance",
    "class": "btn btn-light",
    "icon_class": "icon icon-plus",
    "label": ""
}'></div><div class="pagebot-button" data-config='{
    "action": "query-instance",
    "class": "btn btn-light",
    "icon_class": "icon icon-search",
    "label": ""
}'></div>|}}</th>
</td>
</table>
<table class="info_box">
<table class="info_box">
<tr>
<tr>
Line 104: Line 63:
     }}</td>
     }}</td>
</tr>
</tr>
    <tr>
    <th>{{{_keywords_name|Keywords}}}</th>
    <td>{{{keywords|}}}</td>
    </tr>
</table>
</table>



Latest revision as of 06:50, 22 November 2024

Entity [Entity]
ID Entity
UUID ce353767-c628-45bd-9d88-d6eb3009aec0
Label Entity
Machine compatible name Entity
Statements (outgoing)
Statements (incoming)
Keywords

Description


📎 Select files (or drop them here)... 📷 Camera


    jsondata
    uuid"ce353767-c628-45bd-9d88-d6eb3009aec0"
    label
    text"Entity"
    lang"en"
    text"Entität"
    lang"de"
    name"Entity"
    description
    text"This is meant to be the most basic category."
    lang"en"
    text"Dies soll die aller grundlegendste Kategorie sein."
    lang"de"
    type
    "Category:Category"
    jsonschema
    @context
    schema"https://schema.org/"
    skos"https://www.w3.org/TR/skos-reference/"
    xsd"http://www.w3.org/2001/XMLSchema#"
    wiki"https://wiki-dev.open-semantic-lab.org/id/"
    Property
    @id"wiki:Property-3A"
    @type"@id"
    @prefixtrue
    File
    @id"https://wiki-dev.open-semantic-lab.org/wiki/Special:Redirect/file/"
    @type"@id"
    @prefixtrue
    Category
    @id"wiki:Category-3A"
    @prefixtrue
    rdf_type
    @id"@type"
    @type"@id"
    uuid*"Property:HasUuid"
    name*"Property:HasName"
    label"skos:prefLabel"
    label*"Property:HasLabel"
    text
    @id"@value"
    lang
    @id"@language"
    query_label"Property:HasLabel"
    description"skos:definition"
    description*"Property:HasDescription"
    image"schema:image"
    image*"Property:HasImage"
    keywords
    @id"schema:keywords"
    @type"@id"
    keywords*
    @id"Property:HasKeyword"
    @type"@id"
    based_on"skos:isBasedOn"
    based_on*
    @id"Property:IsBasedOn"
    @type"@id"
    short_name"Property:HasShortName"
    statements"Property:HasStatement"
    attachments*
    @id"Property:HasFileAttachment"
    @type"@id"
    meta
    @id"Property:HasMeta"
    @type"@id"
    @context
    change_id
    @id"Property:HasChangeId"
    @type"xsd:string"
    uuid"ce353767-c628-45bd-9d88-d6eb3009aec0"
    title"Entity"
    type"object"
    id"entity"
    required
    "uuid"
    "label"
    defaultProperties
    "description"
    properties
    uuid
    title"UUID"
    type"string"
    format"uuid"
    options
    hiddentrue
    iri
    title"IRI"
    description"The Internationalized Resource Identifier (IRI) of this entity"
    description*
    de"Der internationalisierte Ressourcenbezeichner (IRI) dieser Entität"
    type"string"
    format"url"
    options
    hiddentrue
    name
    title"Technical name"
    title*
    de"Technischer Name"
    description"Technical / Machine compatible name"
    description*
    de"Technischer / Maschinenkompatibler Name"
    type"string"
    options
    hiddentrue
    label
    type"array"
    title"Label(s)"
    title*
    de"Bezeichnung(en)"
    description"At least one label is required."
    description*
    de"Mindestens eine Bezeichnung ist erforderlich."
    format"table"
    eval_template
    type"mustache-wikitext"
    mode"render"
    $comment"Displays value according to user language with eng as fallback option. Note: {{=<% %>=}} changes mustache expression from {{..}} to <% %> for mixing with wikitext templates"
    value"{{=<% %>=}} {{#switch:{{USERLANGUAGECODE}} <%#label%> | {{#ifeq: <%lang%>|en|#default|<%lang%>}} = <%text%> <%/label%> }}"
    items
    title"Label"
    title*
    de"Bezeichnung"
    eval_template
    type"wikitext"
    mode"store"
    value"{{{text}}}@{{{lang}}}"
    $ref"/wiki/JsonSchema:Label?action=raw"
    minItems1
    short_name
    type"array"
    title"Short name(s)"
    title*
    de"Kurzname(n)"
    description"Abbreviation, Acronym, etc."
    description*
    de"Abkürzung, Akronym, etc."
    format"table"
    eval_template
    type"mustache-wikitext"
    mode"render"
    $comment"Displays value according to user language with eng as fallback option. Note: {{=<% %>=}} changes mustache expression from {{..}} to <% %> for mixing with wikitext templates"
    value"{{=<% %>=}} {{#switch:{{USERLANGUAGECODE}} <%#short_name%> | {{#ifeq: <%lang%>|en|#default|<%lang%>}} = <%text%> <%/short_name%> }}"
    items
    title"Short name"
    title*
    de"Kurzname"
    eval_template
    type"wikitext"
    mode"store"
    value"{{{text}}}@{{{lang}}}"
    $ref"/wiki/JsonSchema:Label?action=raw"
    query_label
    title"Query label"
    title*
    de"Abfrage-Bezeichnung"
    type"string"
    options
    hiddentrue
    conditional_visible
    modes
    "query"
    description
    title"Description"
    title*
    de"Beschreibung"
    type"array"
    format"table"
    eval_template
    type"mustache-wikitext"
    mode"render"
    $comment"Displays value according to user language with eng as fallback option. Note: {{=<% %>=}} changes mustache expression from {{..}} to <% %> for mixing with wikitext templates"
    value"{{=<% %>=}} {{#switch:{{USERLANGUAGECODE}} <%#description%> | {{#ifeq: <%lang%>|en|#default|<%lang%>}} = <%text%> <%/description%> }}"
    items
    eval_template
    type"wikitext"
    mode"store"
    value"{{{text}}}@{{{lang}}}"
    $ref"/wiki/JsonSchema:Description?action=raw"
    image
    title"Image"
    title*
    de"Bild"
    type"string"
    format"url"
    options
    upload
    Empty object
    links
    href"{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}&width=200&height=200{{/if}}"
    mediaType"image"
    href"{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}{{/if}}"
    rel"{{#if self}}download{{/if}}"
    downloadtrue
    keywords
    type"array"
    title"Keywords / Tags"
    title*
    de"Schlagworte / Tags"
    description"Designated to the user defined categorization of this element"
    description*
    de"Dient der nutzerdefinierten Kategorisierung des Elements"
    eval_template
    type"mustache-wikitext"
    mode"render"
    value"{{=<% %>=}} <%={{ }}=%> {{#keywords}}[[{{{.}}}]] <br> {{/keywords}} {{=<% %>=}} <%={{ }}=%>"
    items
    title"Keyword"
    title*
    de"Schlagwort"
    type"string"
    format"autocomplete"
    range"Category:OSW09f6cdd54bc54de786eafced5f675cbe"
    based_on
    type"array"
    title"Based on"
    title*
    de"Basierend auf"
    description"Other entities on which this one is based, e.g. when it is created by copying"
    description*
    de"Andere Entitäten auf die diese basiert, z. B. wenn sie durch Kopieren entstanden ist"
    items
    type"string"
    options
    hidden"true"
    statements
    type"array"
    title"Statements"
    title*
    de"Aussagen"
    format"tabs"
    propertyOrder1010
    eval_template
    type"mustache-wikitext"
    mode"render"
    value"{{#statements}}.. {{#predicate}}[[{{predicate}}]]{{/predicate}}{{#property}}[[{{property}}]]{{/property}}{{#quantity}}[[{{quantity}}]]{{/quantity}} {{#object}}[[{{object}}]]{{/object}}{{#value}}{{value}}{{/value}}<br>{{/statements}}"
    items
    $ref"/wiki/JsonSchema:Statement?action=raw"
    attachments
    type"array"
    title"File attachments"
    title*
    de"Dateianhänge"
    eval_template
    type"mustache-wikitext"
    mode"render"
    value"{{=<% %>=}} <%={{ }}=%> {{#attachments}}{{{.}}};{{/attachments}} {{=<% %>=}} <%={{ }}=%>"
    options
    collapsedtrue
    propertyOrder1020
    items
    title"Attachment"
    title*
    de"Anhang"
    type"string"
    format"url"
    options
    upload
    Empty object
    links
    href"{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}{{/if}}"
    rel"{{#if self}}download{{/if}}"
    downloadtrue
    meta
    $ref"/wiki/JsonSchema:Meta?action=raw"
    options
    hiddentrue

    Subcategories

    This category has the following 4 subcategories, out of 4 total.

    I

    • Item(26 C, 5 P, 1 F)

    O

    P

    Pages in category "Entity"

    This category contains only the following page.

    O

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.