Category:OSW725a3cf5458f4daea86615fcbd0029f8: Difference between revisions

Category page
Category:OSW725a3cf5458f4daea86615fcbd0029f8
(create class)
Tag: Metadata slot edit
(fix subclass of)
Tag: Metadata slot edit
 
(2 intermediate revisions by 2 users not shown)
jsondata
Line 7: Line 7:
     ],
     ],
     "uuid": "725a3cf5-458f-4dae-a866-15fcbd0029f8",
     "uuid": "725a3cf5-458f-4dae-a866-15fcbd0029f8",
    "name": "OwlClass",
     "label": [
     "label": [
         {
         {
Line 13: Line 14:
         }
         }
     ],
     ],
     "name": "OwlClass"
     "metaclass": [
        "Category:OSW725a3cf5458f4daea86615fcbd0029f8"
    ]
}
}
jsonschema
Line 3: Line 3:
         "/wiki/Category:Category?action=raw\u0026slot=jsonschema",
         "/wiki/Category:Category?action=raw\u0026slot=jsonschema",
         {
         {
            "owl": "http://www.w3.org/2002/07/owl#",
            "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
            "iri": {
                "@id": "@id"
            },
            "label": {
                "@id": "rdfs:label"
            },
            "altLabel": {
                "@id": "skos:altLabel"
            },
            "text": {
                "@id": "@value"
            },
            "lang": {
                "@id": "@language"
            },
            "disjointUnionOf": "owl:disjointUnionOf",
            "disjointWith": "owl:disjointWith",
            "equivalentClass": "owl:equivalentClass",
            "unionOf": {
                "@id": "owl:unionOf",
                "@container": "@list",
                "@type": "@id"
            },
            "comment": "rdfs:comment",
            "isDefinedBy": "rdfs:isDefinedBy",
            "seeAlso": "rdfs:seeAlso",
            "on_property": {
                "@id": "owl:onProperty",
                "@type": "@id"
            },
            "some_values_from": {
                "@id": "owl:someValuesFrom",
                "@type": "@id"
            },
            "domain": {
                "@id": "rdfs:domain",
                "@type": "@id"
            },
            "range": {
                "@id": "rdfs:range",
                "@type": "@id"
            },
            "subproperty_of": {
                "@id": "rdfs:subPropertyOf",
                "@type": "@id"
            },
            "imported_from*": "Property:Equivalent_URI",
             "restrictions": "rdfs:subClassOf",
             "restrictions": "rdfs:subClassOf",
             "on_property": "owl:onProperty",
            "restrictions*": "Property:HasRestriction",
             "all_values_from ": "owl:allValuesFrom",
             "on_property*": "Property:HasProperty",
             "some_values_from ": "owl:someValuesFrom",
             "all_values_from": "owl:allValuesFrom",
             "has_value ": "owl:hasValue",
            "all_values_from*": "Property:HasObject",
             "max_cardinality ": "owl:maxCardinality",
             "some_values_from*": "Property:HasObject",
             "min_cardinality ": "owl:minCardinality",
             "has_value": "owl:hasValue",
             "cardinality ": "owl:cardinality"
            "has_value*": "Property:HasValue",
             "max_cardinality": "owl:maxCardinality",
             "min_cardinality": "owl:minCardinality",
             "cardinality": "owl:cardinality",
            "_instances": {
                "@reverse": "Property:Category"
            },
            "ontologies": {
                "@id": "Property:IsPartOf",
                "@type": "@id"
            }
         }
         }
     ],
     ],
Line 20: Line 79:
     "type": "object",
     "type": "object",
     "uuid": "725a3cf5-458f-4dae-a866-15fcbd0029f8",
     "uuid": "725a3cf5-458f-4dae-a866-15fcbd0029f8",
    "$id": "https://opensemantic.world/OSW725a3cf5458f4daea86615fcbd0029f8/0.1.0",
     "title": "OwlClass",
     "title": "OwlClass",
     "title*": {
     "title*": {
Line 28: Line 88:
     "required": [
     "required": [
         "type"
         "type"
    ],
    "defaultProperties": [
        "ontologies",
        "restrictions"
     ],
     ],
     "properties": {
     "properties": {
Line 34: Line 98:
                 "Category:OSW725a3cf5458f4daea86615fcbd0029f8"
                 "Category:OSW725a3cf5458f4daea86615fcbd0029f8"
             ]
             ]
        },
        "subclass_of": {
            "$comment": "OwlThing",
            "default": [
                "Category:OSW379d5a1589c74c82bc0de47938264d00"
            ],
            "items": {
                "range": "Category:OSW725a3cf5458f4daea86615fcbd0029f8",
                "options": {
                    "autocomplete": {
                        "query": "[[HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[HasType.SubClassOf::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[HasType.SubClassOf.SubClassOf::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[HasType.SubClassOf.SubClassOf.SubClassOf::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[HasType.SubClassOf.SubClassOf.SubClassOf.SubClassOf::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]"
                    }
                }
            }
        },
        "ontologies": {
            "type": "array",
            "title": "Ontologies",
            "description": "Ontologies that contain this term",
            "items": {
                "type": "string",
                "format": "autocomplete",
                "$comment": "range is OwlOntology",
                "range": "Category:OSW662db0a2ad0946148422245f84e82f64",
                "title": "Ontology"
            }
        },
        "imported_from": {
            "type": "string",
            "description": "A prefixed IRI defining this entry as a imported term. In OSW the prefix must be a registered imported ontology.",
            "title": "Imported from",
            "example": "schema:Person"
         },
         },
         "restrictions": {
         "restrictions": {
Line 39: Line 135:
             "description": "Relations of this class to other classes, instances or literals (OWL Restrictions)",
             "description": "Relations of this class to other classes, instances or literals (OWL Restrictions)",
             "type": "array",
             "type": "array",
            "eval_template": [
                {
                    "type": "mustache-wikitext",
                    "mode": "render",
                    "value": "{{#restrictions}}[[{{{on_property}}}]] [[:{{{some_values_from}}}{{{all_values_from}}}]]\u003Cbr\u003E{{/restrictions}}"
                }
            ],
             "items": {
             "items": {
                 "type": "object",
                 "type": "object",
                 "title": "Relation",
                 "title": "Relation",
                 "required": [
                 "required": [
                    "uuid",
                     "rdf_type",
                     "rdf_type",
                     "on_property"
                     "on_property"
                 ],
                 ],
                 "properties": {
                 "properties": {
                    "uuid": {
                        "title": "UUID",
                        "type": "string",
                        "format": "uuid",
                        "options": {
                            "hidden": true
                        }
                    },
                     "rdf_type": {
                     "rdf_type": {
                         "type": "string",
                         "type": "string",
Line 56: Line 168:
                     "on_property": {
                     "on_property": {
                         "type": "string",
                         "type": "string",
                        "format": "autocomplete",
                        "range": "Category:ObjectProperty",
                         "title": "Property",
                         "title": "Property",
                         "description": "Property to use in this relation"
                         "description": "Property to use in this relation"
Line 61: Line 175:
                     "some_values_from": {
                     "some_values_from": {
                         "type": "string",
                         "type": "string",
                        "format": "autocomplete",
                        "$comment": "Range is other OWL classes",
                        "range": "Category:OSW725a3cf5458f4daea86615fcbd0029f8",
                         "title": "Value (Class)",
                         "title": "Value (Class)",
                         "description": "Another class which is the value of this relation. Other classes for the same property are allowed."
                         "description": "Another class which is the value of this relation. Other classes for the same property are allowed.",
                        "options": {
                            "autocomplete": {
                                "$comment": "There's no simple query yet for any subclassof OwlClass, so we query 5 level explicit",
                                "query": "[[HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]OR [[SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]OR [[SubClassOf.SubClassOf.SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]"
                            }
                        }
                     },
                     },
                     "all_values_from": {
                     "all_values_from": {
                         "type": "string",
                         "type": "string",
                        "format": "autocomplete",
                        "$comment": "Range is other OWL classes",
                        "range": "Category:OSW725a3cf5458f4daea86615fcbd0029f8",
                         "title": "Value (Class, strict)",
                         "title": "Value (Class, strict)",
                         "description": "Another class which is the value of this relation. No other classes for the same property are allowed."
                         "description": "Another class which is the value of this relation. No other classes for the same property are allowed.",
                        "options": {
                            "autocomplete": {
                                "$comment": "There's no simple query yet for any subclassof OwlClass, so we query 5 level explicit",
                                "query": "[[HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]OR [[SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]OR [[SubClassOf.SubClassOf.SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]"
                            }
                        }
                     },
                     },
                     "has_value": {
                     "has_value": {
                         "type": "string",
                         "type": "string",
                         "title": "Value (Instance)",
                         "title": "Value (Instance)",
                        "format": "autocomplete",
                        "range": "Category:Item",
                         "description": "An instance which is the value of this relation"
                         "description": "An instance which is the value of this relation"
                     },
                     },
Line 90: Line 224:
                     }
                     }
                 }
                 }
            }
        },
        "_instances": {
            "type": "array",
            "items": {
                "type": "string",
                "format": "autocomplete",
                "range": "Category:Item"
             }
             }
         }
         }
     }
     }
}
}

Latest revision as of 04:51, 17 July 2024

OWL Class [OSW725a3cf5458f4daea86615fcbd0029f8]
ID OSW725a3cf5458f4daea86615fcbd0029f8
UUID 725a3cf5-458f-4dae-a866-15fcbd0029f8
Label OWL Class
Machine compatible name OwlClass
Statements (outgoing)
Statements (incoming)
Keywords

Description


📎 Select files (or drop them here)... 📷 Camera
    jsondata
    type
    "Category:Category"
    subclass_of
    "Category:Category"
    uuid"725a3cf5-458f-4dae-a866-15fcbd0029f8"
    name"OwlClass"
    label
    text"OWL Class"
    lang"en"
    metaclass
    "Category:OSW725a3cf5458f4daea86615fcbd0029f8"
    jsonschema
    @context
    "/wiki/Category:Category?action=raw&slot=jsonschema"
    owl"http://www.w3.org/2002/07/owl#"
    rdf"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    iri
    @id"@id"
    label
    @id"rdfs:label"
    altLabel
    @id"skos:altLabel"
    text
    @id"@value"
    lang
    @id"@language"
    disjointUnionOf"owl:disjointUnionOf"
    disjointWith"owl:disjointWith"
    equivalentClass"owl:equivalentClass"
    unionOf
    @id"owl:unionOf"
    @container"@list"
    @type"@id"
    comment"rdfs:comment"
    isDefinedBy"rdfs:isDefinedBy"
    seeAlso"rdfs:seeAlso"
    on_property
    @id"owl:onProperty"
    @type"@id"
    some_values_from
    @id"owl:someValuesFrom"
    @type"@id"
    domain
    @id"rdfs:domain"
    @type"@id"
    range
    @id"rdfs:range"
    @type"@id"
    subproperty_of
    @id"rdfs:subPropertyOf"
    @type"@id"
    imported_from*"Property:Equivalent_URI"
    restrictions"rdfs:subClassOf"
    restrictions*"Property:HasRestriction"
    on_property*"Property:HasProperty"
    all_values_from"owl:allValuesFrom"
    all_values_from*"Property:HasObject"
    some_values_from*"Property:HasObject"
    has_value"owl:hasValue"
    has_value*"Property:HasValue"
    max_cardinality"owl:maxCardinality"
    min_cardinality"owl:minCardinality"
    cardinality"owl:cardinality"
    _instances
    @reverse"Property:Category"
    ontologies
    @id"Property:IsPartOf"
    @type"@id"
    allOf
    $ref"/wiki/Category:Category?action=raw&slot=jsonschema"
    type"object"
    uuid"725a3cf5-458f-4dae-a866-15fcbd0029f8"
    $id"https://opensemantic.world/OSW725a3cf5458f4daea86615fcbd0029f8/0.1.0"
    title"OwlClass"
    title*
    en"OWL Class"
    description""
    description*
    Empty object
    required
    "type"
    defaultProperties
    "ontologies"
    "restrictions"
    properties
    type
    default
    "Category:OSW725a3cf5458f4daea86615fcbd0029f8"
    subclass_of
    $comment"OwlThing"
    default
    "Category:OSW379d5a1589c74c82bc0de47938264d00"
    items
    range"Category:OSW725a3cf5458f4daea86615fcbd0029f8"
    options
    autocomplete
    query"[[HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[HasType.SubClassOf::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[HasType.SubClassOf.SubClassOf::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[HasType.SubClassOf.SubClassOf.SubClassOf::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[HasType.SubClassOf.SubClassOf.SubClassOf.SubClassOf::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]"
    ontologies
    type"array"
    title"Ontologies"
    description"Ontologies that contain this term"
    items
    type"string"
    format"autocomplete"
    $comment"range is OwlOntology"
    range"Category:OSW662db0a2ad0946148422245f84e82f64"
    title"Ontology"
    imported_from
    type"string"
    description"A prefixed IRI defining this entry as a imported term. In OSW the prefix must be a registered imported ontology."
    title"Imported from"
    example"schema:Person"
    restrictions
    title"Relations"
    description"Relations of this class to other classes, instances or literals (OWL Restrictions)"
    type"array"
    eval_template
    type"mustache-wikitext"
    mode"render"
    value"{{#restrictions}}[[{{{on_property}}}]] [[:{{{some_values_from}}}{{{all_values_from}}}]]<br>{{/restrictions}}"
    items
    type"object"
    title"Relation"
    required
    "uuid"
    "rdf_type"
    "on_property"
    properties
    uuid
    title"UUID"
    type"string"
    format"uuid"
    options
    hiddentrue
    rdf_type
    type"string"
    default"owl:Restriction"
    options
    hiddentrue
    on_property
    type"string"
    format"autocomplete"
    range"Category:ObjectProperty"
    title"Property"
    description"Property to use in this relation"
    some_values_from
    type"string"
    format"autocomplete"
    $comment"Range is other OWL classes"
    range"Category:OSW725a3cf5458f4daea86615fcbd0029f8"
    title"Value (Class)"
    description"Another class which is the value of this relation. Other classes for the same property are allowed."
    options
    autocomplete
    $comment"There's no simple query yet for any subclassof OwlClass, so we query 5 level explicit"
    query"[[HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]OR [[SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]OR [[SubClassOf.SubClassOf.SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]"
    all_values_from
    type"string"
    format"autocomplete"
    $comment"Range is other OWL classes"
    range"Category:OSW725a3cf5458f4daea86615fcbd0029f8"
    title"Value (Class, strict)"
    description"Another class which is the value of this relation. No other classes for the same property are allowed."
    options
    autocomplete
    $comment"There's no simple query yet for any subclassof OwlClass, so we query 5 level explicit"
    query"[[HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]] OR [[SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]OR [[SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]OR [[SubClassOf.SubClassOf.SubClassOf.SubClassOf.HasType::Category:OSW725a3cf5458f4daea86615fcbd0029f8]]"
    has_value
    type"string"
    title"Value (Instance)"
    format"autocomplete"
    range"Category:Item"
    description"An instance which is the value of this relation"
    min_cardinality
    type"integer"
    title"Min count (Cardinality)"
    description"Minimal allowed number of relations"
    max_cardinality
    type"integer"
    title"Max count (Cardinality)"
    description"Maximal allowed number of relations"
    cardinality
    type"integer"
    title"Count (Cardinality)"
    description"Exact allowed number of relations"
    _instances
    type"array"
    items
    type"string"
    format"autocomplete"
    range"Category:Item"

    Subcategories

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

    O

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