check_files |
( |
|
$temporal_path, |
|
|
|
$sparqldl_path, |
|
|
|
$file_path |
|
) |
| |
Check for program and input file existance and proper permissions.
- Returns
- true always
- Exceptions
-
Exception | with proper message if any problem is founded. |
Execute Konclude with the given $document as input. Note that this function redefines run in order to convert a DOMDocumentType to DOMElement.
- Returns
- An array of SPARQL-DL answers
const PROGRAM_CMD = "de-derivo-sparqldlapi-3.0.0.jar" |
The SPARQL-DL command is for executing with all its parameters. SPARQL-DL command executes SPARQL-DL queries on an OWL 2 Ontology and writes the output into "sparqldl-out-file.json" file. This file must be created during crowd installation.
output format:
[0]=> array(2) { ["head"]=> array(1) { ["vars"]=> array(2) { [0]=> string(3) "op1" [1]=> string(3) "op2" } } ["results"]=> array(1) { ["bindings"]=> array(1) { [0]=> array(2) { ["op1"]=> array(2) { ["type"]=> string(3) "uri" ["value"]=> string(22) "http://localhost/kb1#R" } ["op2"]=> array(2) { ["type"]=> string(3) "uri" ["value"]=> string(22) "http://localhost/kb1#R" } } } } }
File include the following tags:
class -> Class objectproperty -> ObjectProperty dataproperty -> DataProperty strictsub -> StrictSubClassOf directsub -> DirectSubClassOf
const PROGRAM_LIB = "lib/*" |
const PROGRAM_PARAMS_IN = "de.derivo.sparqldlapi.examples.Sparql_dl_crowd" |
The documentation for this class was generated from the following file: