/*
    TITLE:       upload_data_properties.sql
    DESCRIPTION: upload DBFOntoMaestro data
                 INSERT OWL_DATA_PROPERTIES
 */

USE   DBFOntoMaestro ;

SET   TRANSACTION READ WRITE ;
START TRANSACTION ;

/*  There is a FK from TRIPLETS to OWL_DATA_PROPERTIES, and some entry
 *  in TRIPLETS does contain empty ('') value of the field data_property_IRI
 */
INSERT INTO OWL_DATA_PROPERTIES (data_property_IRI, data_property_type_IRI, super_data_property_IRI, annotated)
VALUES ('', 'http://www.w3.org/2001/XMLSchemadecimal', 'owl:topDataProperty', TRUE) ;


INSERT INTO OWL_DATA_PROPERTIES (data_property_IRI, data_property_type_IRI, super_data_property_IRI, annotated)
VALUES ('actorsEffortAtDocumentCreation', 'http://www.w3.org/2001/XMLSchemadecimal', 'owl:topDataProperty', TRUE) ;

INSERT INTO OWL_DATA_PROPERTIES (data_property_IRI, data_property_type_IRI, super_data_property_IRI, annotated)
VALUES ('approvingCompetenceAt',          'http://www.w3.org/2001/XMLSchemadecimal', 'owl:topDataProperty', TRUE) ;

INSERT INTO OWL_DATA_PROPERTIES (data_property_IRI, data_property_type_IRI, super_data_property_IRI, annotated)
VALUES ('contributingLevel',              'http://www.w3.org/2001/XMLSchemadecimal', 'owl:topDataProperty', TRUE) ;

INSERT INTO OWL_DATA_PROPERTIES (data_property_IRI, data_property_type_IRI, super_data_property_IRI, annotated)
VALUES ('documentAsActorsContribution',   'http://www.w3.org/2001/XMLSchemaString',  'owl:topDataProperty', TRUE) ;

COMMIT ;

/*
    end of upload_data_properties.sql
 */
