Category:Entity: Difference between revisions

Category:Entity
(test)
Tag: Metadata slot edit
(Update package: OSW Core)
 
(19 intermediate revisions by 3 users not shown)
jsonschema
Line 1: Line 1:
{
{
     "@context": {
     "@context": {
        "bvco": "https://bvco.ontology.link/",
        "databatt": "http://www.databatt.org/",
        "emmo": "https://w3id.org/emmo#",
        "emmobattery": "https://w3id.org/emmo/domain/battery#",
        "emmochameo": "https://w3id.org/emmo/domain/chameo#",
        "emmochemicals": "https://w3id.org/emmo/domain/chemicalsubstance#",
        "emmoelch": "https://w3id.org/emmo/domain/electrochemistry#",
         "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#",
         "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": {
         "Category": {
             "@id": "wiki:Property-3A",
             "@id": "wiki:Category-3A",
            "@type": "@id",
             "@prefix": true
             "@prefix": true
         },
         },
         "File": {
         "File": {
             "@id": "https://wiki-dev.open-semantic-lab.org/wiki/Special:Redirect/file/",
             "@id": "https://wiki-dev.open-semantic-lab.org/wiki/Special:Redirect/file/",
            "@type": "@id",
             "@prefix": true
             "@prefix": true
         },
         },
         "Category": {
         "Property": {
             "@id": "wiki:Category-3A",
             "@id": "wiki:Property-3A",
            "@prefix": true
        },
        "Item": {
            "@id": "wiki:Item-3A",
             "@prefix": true
             "@prefix": true
         },
         },
         "rdf_type": {
         "attachments*": {
             "@id": "@type",
             "@id": "Property:HasFileAttachment",
             "@type": "@id"
             "@type": "@id"
         },
         },
         "rdf_type*": {
         "based_on": {
             "@id": "schema:additionalType",
             "@id": "skos:isBasedOn",
             "@type": "@id"
             "@type": "@id"
         },
         },
         "rdf_type**": {
         "based_on*": {
             "@id": "owl:sameAs",
            "@id": "Property:IsBasedOn",
            "@type": "@id"
        },
        "description": {
            "@id": "skos:definition"
        },
        "description*": {
             "@id": "Property:HasDescription"
        },
        "image": {
            "@id": "schema:image",
             "@type": "@id"
             "@type": "@id"
         },
         },
         "rdf_type***": {
         "image*": {
             "@id": "Property:Equivalent_URI",
             "@id": "Property:HasImage",
             "@type": "@id"
             "@type": "@id"
         },
         },
         "uuid*": "Property:HasUuid",
         "label": {
         "name*": "Property:HasName",
            "@id": "skos:prefLabel"
         "label": "skos:prefLabel",
        },
        "label*": "Property:HasLabel",
         "label*": {
            "@id": "Property:HasLabel"
        },
         "lang": {
            "@id": "@language"
        },
         "text": {
         "text": {
             "@id": "@value"
             "@id": "@value"
         },
         },
         "lang": {
         "uuid*": {
             "@id": "@language"
             "@id": "Property:HasUuid"
        },
        "meta": {
            "@id": "Property:HasMeta",
            "@type": "@id",
            "@context": {
                "change_id": {
                    "@id": "Property:HasChangeId",
                    "@type": "xsd:string"
                }
            }
        },
        "name*": {
            "@id": "Property:HasName"
        },
        "query_label": {
            "@id": "Property:HasLabel"
        },
        "short_name": {
            "@id": "Property:HasShortName"
         },
         },
        "query_label": "Property:HasLabel",
        "description": "skos:definition",
        "description*": "Property:HasDescription",
        "image": "schema:image",
        "image*": "Property:HasImage",
         "keywords": {
         "keywords": {
             "@id": "schema:keywords",
             "@id": "schema:keywords",
Line 65: Line 89:
             "@type": "@id"
             "@type": "@id"
         },
         },
         "based_on": "skos:isBasedOn",
         "statements": {
        "based_on*": {
             "@id": "Property:HasStatement",
             "@id": "Property:IsBasedOn",
            "@type": "@id"
        },
        "short_name": "Property:HasShortName",
        "statements": "Property:HasStatement",
        "attachments*": {
            "@id": "Property:HasFileAttachment",
             "@type": "@id"
             "@type": "@id"
         }
         }
Line 89: Line 106:
     ],
     ],
     "properties": {
     "properties": {
        "rdf_type": {
            "title": "Additional RDF type(s)",
            "title*": {
                "de": "Zusätzliche(r) RDF-Typ(en)"
            },
            "description": "Declares additional type(s) for this entity, e.g., to state that this entity has the same meaning as a term in a controlled vocabulary or ontology. This property is synonymous to the schema:additionalType and owl:sameAs. The default syntax is ontology:TermName. Full ontology IRIs are also permitted. The ontology prefix has to be defined in the @context of the Entity, the category or any of the parent categories. The term name has to be a valid identifier in the ontology.",
            "description*": {
                "de": "Gibt zusätzliche Typens für diese Entität an, z. B. um anzugeben, dass diese Entität dieselbe Bedeutung hat wie ein Begriff in einem kontrollierten Vokabular oder einer Ontologie. Diese Eigenschaft ist ein Synonym für schema:additionalType und owl:sameAs. Die Standardsyntax ist ontology:TermName. Volle Ontologie IRIs sind ebenfalls zulässig. Das Ontologie-Präfix muss im @cotext der Entität, der Kategorie oder einer der beerbten Kategorien definiert werden. Der Termname muss ein gültiger Bezeichner in der Ontologie sein."
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "RDF type",
                "title*": {
                    "de": "RDF-Typ"
                },
                "type": "string"
            },
            "uniqueItems": true
        },
         "uuid": {
         "uuid": {
             "title": "UUID",
             "title": "UUID",
Line 211: Line 208:
         },
         },
         "query_label": {
         "query_label": {
             "title": "Label",
             "title": "Query label",
             "title*": {
             "title*": {
                 "de": "Name"
                 "de": "Abfrage-Bezeichnung"
             },
             },
             "type": "string",
             "type": "string",
Line 254: Line 251:
                 "de": "Bild"
                 "de": "Bild"
             },
             },
            "propertyOrder": 1020,
             "type": "string",
             "type": "string",
             "format": "url",
             "format": "url",
Line 273: Line 271:
         "keywords": {
         "keywords": {
             "type": "array",
             "type": "array",
            "format": "table",
             "title": "Keywords / Tags",
             "title": "Keywords / Tags",
             "title*": {
             "title*": {
Line 284: Line 283:
                 "type": "mustache-wikitext",
                 "type": "mustache-wikitext",
                 "mode": "render",
                 "mode": "render",
                 "value": "{{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E  {{#keywords}}[[{{{.}}}]] \u003Cbr\u003E {{/keywords}} {{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E"
                 "value": "{{#keywords}}[[{{{.}}}]] \u003Cbr\u003E {{/keywords}}"
             },
             },
             "items": {
             "items": {
Line 344: Line 343:
                 "collapsed": true
                 "collapsed": true
             },
             },
             "propertyOrder": 1020,
             "propertyOrder": 1030,
             "items": {
             "items": {
                 "title": "Attachment",
                 "title": "Attachment",
header_template
Line 1: Line 1:
<table class="info_box">
<table class="info_box">
<tr>
<tr>
<th class="heading" colspan="2">{{#if: {{{label|}}}|{{{label|}}} [{{{id|{{PAGENAME}}}}}] | {{{id|{{PAGENAME}}}}} }}  
<th class="heading" colspan="2">{{#if: {{{label|}}}|{{{label|}}} | {{{id|{{PAGENAME}}}}} }}  
</th>
</th>
</tr>
</tr>
Line 35: Line 35:
     </tr>
     </tr>
     |<!-- don't show a row, if there is no image -->}}
     |<!-- don't show a row, if there is no image -->}}
<tr>
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
    |en=Ontology equivalents
    |de=Ontologie-Äquivalente
    }}</td>
</tr>
<tr>
<td colspan="2" style="text-align:center">
    {{{rdf_type|}}}
</td>
</tr>
<tr>
<tr>
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}}
Line 74: Line 63:
     }}</td>
     }}</td>
</tr>
</tr>
<tr>
{{#if: {{{ordering_categories|}}}|<!-- show a row if an ordering_categories exists -->
    <th>{{{_label_ordering_categories|Classification categories}}}</th>
    <td>{{{ordering_categories|}}}</td>
    </tr>
    <tr>
|}}
{{#if: {{{keywords|}}}|<!-- show a row if an keywords exists -->
     <tr>
     <tr>
     <th>{{{_keywords_name|Keywords}}}</th>
     <th>{{{_keywords_name|Keywords}}}</th>
     <td>{{{keywords|}}}</td>
     <td>{{{keywords|}}}</td>
     </tr>
     </tr>
|}}
</table>
</table>



Latest revision as of 04:33, 22 February 2025

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

Description

This is meant to be the most basic category.

Category (Class)
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/"
Category
@id"wiki:Category-3A"
@prefixtrue
File
@id"https://wiki-dev.open-semantic-lab.org/wiki/Special:Redirect/file/"
@prefixtrue
Property
@id"wiki:Property-3A"
@prefixtrue
Item
@id"wiki:Item-3A"
@prefixtrue
attachments*
@id"Property:HasFileAttachment"
@type"@id"
based_on
@id"skos:isBasedOn"
@type"@id"
based_on*
@id"Property:IsBasedOn"
@type"@id"
description
@id"skos:definition"
description*
@id"Property:HasDescription"
image
@id"schema:image"
@type"@id"
image*
@id"Property:HasImage"
@type"@id"
label
@id"skos:prefLabel"
label*
@id"Property:HasLabel"
lang
@id"@language"
text
@id"@value"
uuid*
@id"Property:HasUuid"
meta
@id"Property:HasMeta"
@type"@id"
@context
change_id
@id"Property:HasChangeId"
@type"xsd:string"
name*
@id"Property:HasName"
query_label
@id"Property:HasLabel"
short_name
@id"Property:HasShortName"
keywords
@id"schema:keywords"
@type"@id"
keywords*
@id"Property:HasKeyword"
@type"@id"
statements
@id"Property:HasStatement"
@type"@id"
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"
propertyOrder1020
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"
format"table"
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
propertyOrder1030
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 2 subcategories, out of 2 total.

I

P

Pages in category "Entity"

This category contains only the following page.