|
A DL List is a list of Description Logic operands and parameters in preorder form. There are some declaration supported, more can be added as much as needed in the DL_element() function.
The first element of the list declares the operation or the type of the element is representing, a class or a role.
```php ['class' => $classname] ['role' => $rolename] ['subclass' => [$class_or_expression1, $class_or_expression2, $others]] ['exists' => [$role, $class]] ['inverse' => $class_or_expression] ['mincard' => [$number, $role]] ['maxcard' => [$number, $role]] ['intersection' => [$class_or_expression1,$class_or_expression2, $others]] ```
|
| translate_DL ($DL_list) |
|
| DL_element ($elt) |
|
I set the common behaviour for every DocumentBuilder subclass.
I translate a single element of the DL List.
Overriding
Use $this->product
for referencing the product being built. Also, you can call the function translate_DL() for translating a subexpression.
- Parameters
-
insert_class |
( |
|
$name, |
|
|
|
$col_attrs = [] |
|
) |
| |
|
abstract |
Depending on the subclass, add an OWLlink text directly.
The documentation for this class was generated from the following file: