Category:Category: Difference between revisions

From OpenSemanticWorld
1,356 bytes removed ,  Thursday at 04:46
m
Protected "Category (Class)": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
(Update package: OSW Core)
m (Protected "Category (Class)": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(2 intermediate revisions by the same user not shown)
footer_template
Line 1: Line 1:
<!-- Include optional extensions of this page  -->
{{#ask: [[ExtendsDocumentationOf::{{FULLPAGENAME}}]]
|format=embedded
|embedformat=h1
|embedonly=yes
}}
=={{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}==
=={{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}==
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["SubClassOf","-SubClassOf","HasUtf8Icon"], "ignore_properties":["Subcategory_of", "-Subcategory_of"], "permalink":true, "depth":2, "edit": true, "edge_labels": false}'></div>
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["SubClassOf","HasImage","HasUtf8Icon"], "ignore_properties":["Subcategory_of", "-Subcategory_of", "Has_query", "Display_title_of", "Display_title_of_lowercase", "Display_title_of_normalized"], "permalink":true, "depth":2, "edit": true, "edge_labels": false, "query_limit":25}'></div>
<br>
<br>
<br>
<br>
jsondata
Line 1: Line 1:
{
{
    "label": [
"label": [
        {
{
            "text": "Category (Class)",
"text": "Category (Class)",
            "lang": "en"
"lang": "en"
        }
}
    ],
],
    "uuid": "89aafe6d-ae5a-4f29-97ff-df7736d4cab6",
"uuid": "89aafe6d-ae5a-4f29-97ff-df7736d4cab6",
    "description": [
"description": [
        {
{
            "text": "Meta-Category for Categories",
"text": "Meta-Category for Categories",
            "lang": "en"
"lang": "en"
        }
}
    ],
],
    "name": "CategoryClass",
"name": "CategoryClass",
    "type": [
"type": [
        "Category:Category"
"Category:Category"
    ]
]
}
}
jsonschema
Line 1: Line 1:
{
{
    "@context": [
"@context": [
        "/wiki/Category:Entity?action=raw\u0026slot=jsonschema",
{
        {
"exact_ontology_match***": {
            "subclass_of": {
"@id": "owl:equivalentClass",
                "@id": "rdf:subclass_of",
"@type": "@id"
                "@type": "@id"
},
            },
"metaclass": {
            "subclass_of*": {
"@id": "Property:HasMetaCategory",
                "@id": "Property:SubClassOf",
"@type": "@id"
                "@type": "@id"
},
            },
"subclass_of": {
            "metaclass": {
"@id": "rdfs:subClassOf",
                "@id": "Property:HasMetaCategory",
"@type": "@id"
                "@type": "@id"
},
            },
"subclass_of*": {
            "type": {
"@id": "Property:SubClassOf",
                "@id": "Property:HasType",
"@type": "@id"
                "@type": "@id"
},
            },
"utf8_icon": "Property:HasUtf8Icon"
            "utf8_icon": "Property:HasUtf8Icon"
},
        }
"/wiki/Category:Entity?action=raw\u0026slot=jsonschema"
    ],
],
    "type": "object",
"allOf": [
    "title": "Category",
{
    "title*": {
"$ref": "/wiki/Category:Entity?action=raw\u0026slot=jsonschema"
        "de": "Kategorie",
}
        "en": "Category"
],
    },
"uuid": "89aafe6d-ae5a-4f29-97ff-df7736d4cab6",
    "allOf": [
"type": "object",
        {
"title": "Category",
            "$ref": "/wiki/Category:Entity?action=raw\u0026slot=jsonschema"
"title*": {
        }
"de": "Kategorie (Klasse)",
    ],
"en": "Category (Class)"
    "required": [
},
        "subclass_of",
"required": [
        "type"
"subclass_of",
    ],
"type"
    "properties": {
],
        "metaclass": {
"properties": {
            "title": "Metaclasses/-categories",
"type": {
            "title*": {
"items": {
                "de": "Metaklassen/-kategorien"
"subclassof_range": "Category:Category",
            },
"format": "autocomplete",
            "type": "array",
"options": {
            "format": "table",
"autocomplete": {
            "items": {
"$comment": "All categories here since subclassof_range is limited by depth 5",
                "title": "Metaclass",
"query": "[[:Category:%2B]]"
                "title*": {
}
                    "de": "Metaklasse"
}
                },
},
                "type": "string",
"default": [
                "format": "autocomplete",
"Category:Category"
                "options": {
],
                    "autocomplete": {
"options": {
                        "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
"hidden": true
                    }
}
                }
},
            }
"subclass_of": {
        },
"title": "Supercategories",
        "type": {
"title*": {
            "title": "Types/Categories",
"de": "Überkategorien"
            "title*": {
},
                "de": "Typen/Kategorien"
"type": "array",
            },
"propertyOrder": -1009,
            "type": "array",
"items": {
            "format": "table",
"title": "Category",
            "items": {
"title*": {
                "title": "Type",
"de": "Kategorie"
                "title*": {
},
                    "de": "Type"
"type": "string",
                },
"format": "autocomplete",
                "type": "string",
"subclassof_range": "Category:Entity"
                "format": "autocomplete",
},
                "options": {
"default": [
                    "autocomplete": {
"Category:Entity"
                        "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
],
                    }
"options": {
                }
"hidden": false
            },
}
            "minItems": 1,
},
            "default": [
"metaclass": {
                "Category:Category"
"title": "Metaclasses/-categories",
            ],
"title*": {
            "options": {
"de": "Metaklassen/-kategorien"
                "hidden": true
},
            }
"type": "array",
        },
"format": "table",
        "subclass_of": {
"propertyOrder": -1008,
            "title": "Supercategories",
"items": {
            "title*": {
"title": "Metaclass",
                "en": "Supercategories",
"title*": {
                "de": "Überkategorien"
"de": "Metaklasse"
            },
},
            "type": "array",
"type": "string",
            "items": {
"format": "autocomplete",
                "title": "Category",
"subclassof_range": "Category:Category"
                "title*": {
}
                    "en": "Category",
},
                    "de": "Kategorie"
"utf8_icon": {
                },
"type": "array",
                "type": "string",
"title": "UTF8-Icons",
                "format": "autocomplete",
"title*": {
                "options": {
"de": "UTF8-Symbole"
                    "autocomplete": {
},
                        "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
"description": "see https://www.unicode.org/cldr/charts/latest/annotations/romance.html",
                    }
"description*": {
                }
"de": "siehe https://www.unicode.org/cldr/charts/latest/annotations/germanic.html"
            },
},
            "default": [
"items": {
                "Category:Entity"
"type": "string",
            ],
"title": "UTF8-Icon",
            "options": {
"minLength": 1,
                "hidden": false
"maxLength": 2
            }
}
        },
}
        "utf8_icon": {
}
            "type": "array",
            "title": "UTF8-Icons",
            "description": "see https://www.unicode.org/cldr/charts/latest/annotations/romance.html",
            "description*": {
                "de": "siehe https://www.unicode.org/cldr/charts/latest/annotations/germanic.html"
            },
            "items": {
                "type": "string",
                "title": "UTF8-Icon",
                "minLength": 1,
                "maxLength": 2
            }
        }
    }
}
}
schema_template
Line 26: Line 26:
     {{/each}}
     {{/each}}
     },
     },
     "required": ["type"],
     "required": [
        "type"
    ],
     "properties": {
     "properties": {
         "type": {
         "type": {
Cookies help us deliver our services. By using our services, you agree to our use of cookies.