[14] | 1 | <?php
|
---|
[44] | 2 | define("RDFAPI_INCLUDE_DIR", "rdfapi/");
|
---|
| 3 |
|
---|
[14] | 4 | // Constants for defining namespaces, resources, predicates, datatypes, questiontypes for RDF database
|
---|
| 5 |
|
---|
| 6 | // Default namespace for survey tool
|
---|
[82] | 7 | define('SURVEYTOOL_NAMESPACE','http://tbm.tudelft.nl/researchtool/');
|
---|
[14] | 8 | define('SURVEYTOOL_RESOURCES_NAMESPACE',SURVEYTOOL_NAMESPACE . 'resources/');
|
---|
| 9 | define('SURVEYTOOL_PREDICATES_NAMESPACE',SURVEYTOOL_NAMESPACE . 'predicates/');
|
---|
| 10 |
|
---|
| 11 | // Resource used for RDF triples
|
---|
[91] | 12 | define('USER',SURVEYTOOL_RESOURCES_NAMESPACE . 'user');
|
---|
[14] | 13 | define('SURVEY',SURVEYTOOL_RESOURCES_NAMESPACE . 'survey');
|
---|
[91] | 14 | define('QUESTION',SURVEYTOOL_RESOURCES_NAMESPACE . 'question');
|
---|
[78] | 15 | define('APPLICATION',SURVEYTOOL_RESOURCES_NAMESPACE . 'application');
|
---|
| 16 | define('SESSION',SURVEYTOOL_RESOURCES_NAMESPACE . 'session');
|
---|
| 17 | define('DASHBOARD',SURVEYTOOL_RESOURCES_NAMESPACE . 'dashboard');
|
---|
[91] | 18 | define('GRAPH',SURVEYTOOL_RESOURCES_NAMESPACE . 'graph');
|
---|
[100] | 19 | define('DATA',SURVEYTOOL_RESOURCES_NAMESPACE . 'data');
|
---|
| 20 | define('APPDATA',SURVEYTOOL_RESOURCES_NAMESPACE . 'graph');
|
---|
[14] | 21 |
|
---|
| 22 | // Predicates used for RDF triples
|
---|
[26] | 23 | define('UID',SURVEYTOOL_PREDICATES_NAMESPACE . 'uid');
|
---|
[31] | 24 | define('NAME',SURVEYTOOL_PREDICATES_NAMESPACE . 'name');
|
---|
[44] | 25 | define('PASSWORD',SURVEYTOOL_PREDICATES_NAMESPACE . 'password');
|
---|
[91] | 26 | define('CREATOR',SURVEYTOOL_PREDICATES_NAMESPACE . 'creator');
|
---|
[14] | 27 | define('TITLE',SURVEYTOOL_PREDICATES_NAMESPACE . 'title');
|
---|
| 28 | define('DESCRIPTION',SURVEYTOOL_PREDICATES_NAMESPACE . 'description');
|
---|
[40] | 29 | define('PART_OF',SURVEYTOOL_PREDICATES_NAMESPACE . 'part_of');
|
---|
| 30 | define('STYLE',SURVEYTOOL_PREDICATES_NAMESPACE . 'style');
|
---|
[26] | 31 | define('RTYPE',SURVEYTOOL_PREDICATES_NAMESPACE . 'resource_type');
|
---|
| 32 | define('QTYPE',SURVEYTOOL_PREDICATES_NAMESPACE . 'question_type');
|
---|
[82] | 33 | define('QCODE',SURVEYTOOL_PREDICATES_NAMESPACE . 'question_code');
|
---|
[91] | 34 | define('ANSWERED',SURVEYTOOL_PREDICATES_NAMESPACE . 'answered');
|
---|
| 35 | define('RESPONDENT',SURVEYTOOL_PREDICATES_NAMESPACE . 'respondent');
|
---|
[82] | 36 | define('QCATEGORY',SURVEYTOOL_PREDICATES_NAMESPACE . 'question_category');
|
---|
[16] | 37 | define('HAS_QUESTION',SURVEYTOOL_PREDICATES_NAMESPACE . 'has_question');
|
---|
| 38 | define('HAS_ANSWER',SURVEYTOOL_PREDICATES_NAMESPACE . 'has_answer');
|
---|
[91] | 39 | define('HAS_GRAPH',SURVEYTOOL_PREDICATES_NAMESPACE . 'has_graph');
|
---|
[78] | 40 | define('HAS_PROCESS',SURVEYTOOL_PREDICATES_NAMESPACE . 'has_process');
|
---|
| 41 | define('INDEX',SURVEYTOOL_PREDICATES_NAMESPACE . 'index');
|
---|
[91] | 42 | define('GRAPH_TYPE',SURVEYTOOL_PREDICATES_NAMESPACE . 'graph_type');
|
---|
[100] | 43 | define('HAS_DATA',SURVEYTOOL_PREDICATES_NAMESPACE . 'has_data');
|
---|
| 44 | define('DATA_TYPE',SURVEYTOOL_PREDICATES_NAMESPACE . 'data_type');
|
---|
[14] | 45 |
|
---|
| 46 | ?> |
---|