Ignore:
Timestamp:
07/20/11 18:05:04 (14 years ago)
Author:
basvannuland
Message:

made some changes to way rdf database is constructed.
Made an interface class to write to db and read from db.
interface returns array with survey information in the same way it gets it from the surveyCreationTool.
TODO, override existing survey when it is modified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/rdfConstants.php

    r16 r26  
    1616
    1717// Predicates used for RDF triples
     18define('UID',SURVEYTOOL_PREDICATES_NAMESPACE . 'uid');
    1819define('CREATOR',SURVEYTOOL_PREDICATES_NAMESPACE . 'creator');
    1920define('TITLE',SURVEYTOOL_PREDICATES_NAMESPACE . 'title');
    2021define('DESCRIPTION',SURVEYTOOL_PREDICATES_NAMESPACE . 'description');
    21 define('TYPE',SURVEYTOOL_PREDICATES_NAMESPACE . 'type');
     22define('RTYPE',SURVEYTOOL_PREDICATES_NAMESPACE . 'resource_type');
     23define('QTYPE',SURVEYTOOL_PREDICATES_NAMESPACE . 'question_type');
    2224define('HAS_QUESTION',SURVEYTOOL_PREDICATES_NAMESPACE . 'has_question');
    2325define('HAS_ANSWER',SURVEYTOOL_PREDICATES_NAMESPACE . 'has_answer');
Note: See TracChangeset for help on using the changeset viewer.