SetPropertyRangeRestrictionEx

Sets or unsets a specific owlClass as range restriction to an rdfProperty. The property is expected to be an object[property, i.e. relation.]
If rdfProperty is not an object property this call has no effect.

Syntax

//
//   Strong typing definition
//
void            SetPropertyRangeRestrictionEx(
                        OwlModel                model,
                        RdfProperty             rdfProperty,
                        OwlClass                owlClass,
                        int64_t                 setting
                    );


//
//   Weak typing definition
//
void    __declspec(dllexport) __stdcall SetPropertyRangeRestrictionEx(
                                                int64_t                 model,
                                                int64_t                 rdfProperty,
                                                int64_t                 owlClass,
                                                int64_t                 setting
                                            );
    

Property model

Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property rdfProperty

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the property, this can be either a datatype property (attribute), an object property (relation) or non-defined property. The handle will be static during the life-time of the model, when the model (or part of it) is saved and opened again, the handle will most probably be different.

Property owlClass

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the class. The term owl is comming from W3C, the classes follow the expression power of Semantic Web concepts, therefore classes support multiple inheritance. Technically classes can also be distributed over different resources, however for this the parametric library is required as an extension on the basic Geometry Kernel API.

Property setting

Size: 64 bit / 8 byte (value)
The setting is the data that is defined for bitwise operations, only bits set in the mask will be relevant.