Anonymous

Category:OSW725a3cf5458f4daea86615fcbd0029f8: Difference between revisions

From OSL Demo
create class
(OwlClass)
Tag: Metadata slot edit
 
(create class)
Tag: Metadata slot edit
jsonschema
Line 1: Line 1:
{
{
     "@context": [
     "@context": [
         "/wiki/Category:Category?action=raw\u0026slot=jsonschema"
         "/wiki/Category:Category?action=raw\u0026slot=jsonschema",
        {
            "restrictions": "rdfs:subClassOf",
            "on_property": "owl:onProperty",
            "all_values_from ": "owl:allValuesFrom",
            "some_values_from ": "owl:someValuesFrom",
            "has_value ": "owl:hasValue",
            "max_cardinality ": "owl:maxCardinality",
            "min_cardinality ": "owl:minCardinality",
            "cardinality ": "owl:cardinality"
        }
     ],
     ],
     "allOf": [
     "allOf": [
Line 24: Line 34:
                 "Category:OSW725a3cf5458f4daea86615fcbd0029f8"
                 "Category:OSW725a3cf5458f4daea86615fcbd0029f8"
             ]
             ]
        },
        "restrictions": {
            "title": "Relations",
            "description": "Relations of this class to other classes, instances or literals (OWL Restrictions)",
            "type": "array",
            "items": {
                "type": "object",
                "title": "Relation",
                "required": [
                    "rdf_type",
                    "on_property"
                ],
                "properties": {
                    "rdf_type": {
                        "type": "string",
                        "default": "owl:Restriction",
                        "options": {
                            "hidden": true
                        }
                    },
                    "on_property": {
                        "type": "string",
                        "title": "Property",
                        "description": "Property to use in this relation"
                    },
                    "some_values_from": {
                        "type": "string",
                        "title": "Value (Class)",
                        "description": "Another class which is the value of this relation. Other classes for the same property are allowed."
                    },
                    "all_values_from": {
                        "type": "string",
                        "title": "Value (Class, strict)",
                        "description": "Another class which is the value of this relation. No other classes for the same property are allowed."
                    },
                    "has_value": {
                        "type": "string",
                        "title": "Value (Instance)",
                        "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"
                    }
                }
            }
         }
         }
     }
     }
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.