IsModel

Returns OwlModel if the argument rdfsResource is an actual active model. It returns 0 in all other cases, i.e. this could mean the model is already closed or the session is closed. It could also mean it represents a handle to another resource, for example a property, instance or class.

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "IsModel")]
public static extern Int64 x86_IsModel(Int64 rdfsResource);

[DllImport(enginedll, EntryPoint = "IsModel")]
public static extern Int64 x64_IsModel(Int64 rdfsResource);

public static Int64 IsModel(Int64 rdfsResource)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_IsModel(rdfsResource);
				return _result;
			}
			else
			{
				return x64_IsModel(rdfsResource);
			}
		}    

Property rdfsResource

Size: 64 bit / 8 byte (value)
???.