        INSERT INTO "dbrdf_AdministrativeRegion_delta_new"(s) SELECT t1.o FROM "dbrdf_AdministrativeRegion_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28115);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28114 FROM "dbrdf_AdministrativeArea_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_AdministrativeArea_delta_old";
        INSERT INTO "dbrdf_AdministrativeArea_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_AdministrativeArea_delta_new" t0;
        TRUNCATE TABLE "dbrdf_AdministrativeArea_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28115 FROM "dbrdf_AdministrativeRegion_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_AdministrativeRegion_delta_old";
        INSERT INTO "dbrdf_AdministrativeRegion_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_AdministrativeRegion_delta_new" t0;
        TRUNCATE TABLE "dbrdf_AdministrativeRegion_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1623
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_pastor_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_pastor_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28116;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_pastor_delta_old" ON "dbrdf_pastor_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_pastor_delta_old" ON "dbrdf_pastor_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_pastor_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/pastor$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/pastor$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_pastor_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_pastor_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28116 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/pastor$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/pastor$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_pastor_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_pastor_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28116 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28116, t0.o FROM "dbrdf_pastor_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_pastor_delta_old";
        INSERT INTO "dbrdf_pastor_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_pastor_delta_new" t0;
        TRUNCATE TABLE "dbrdf_pastor_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1624
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_formationDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_formationDate_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28117;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_formationDate_delta_old" ON "dbrdf_formationDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_formationDate_delta_old" ON "dbrdf_formationDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_formationDate_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/formationDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/formationDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_formationDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_formationDate_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28117 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/formationDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/formationDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_formationDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_formationDate_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28117 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28117, t0.o FROM "dbrdf_formationDate_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_formationDate_delta_old";
        INSERT INTO "dbrdf_formationDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_formationDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_formationDate_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1625
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_agencyStationCode_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_agencyStationCode_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28118;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_agencyStationCode_delta_old" ON "dbrdf_agencyStationCode_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_agencyStationCode_delta_old" ON "dbrdf_agencyStationCode_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_agencyStationCode_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/agencyStationCode$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/agencyStationCode$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_agencyStationCode_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_agencyStationCode_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28118 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/agencyStationCode$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/agencyStationCode$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_agencyStationCode_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_agencyStationCode_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28118 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28118, t0.o FROM "dbrdf_agencyStationCode_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_agencyStationCode_delta_old";
        INSERT INTO "dbrdf_agencyStationCode_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_agencyStationCode_delta_new" t0;
        TRUNCATE TABLE "dbrdf_agencyStationCode_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1626
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_collection_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_collection_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28119;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_collection_delta_old" ON "dbrdf_collection_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_collection_delta_old" ON "dbrdf_collection_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_collection_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/collection$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/collection$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_collection_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_collection_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28119 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/collection$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/collection$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_collection_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_collection_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28119 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28119, t0.o FROM "dbrdf_collection_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_collection_delta_old";
        INSERT INTO "dbrdf_collection_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_collection_delta_new" t0;
        TRUNCATE TABLE "dbrdf_collection_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1627
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_lessPopulatedCountry_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lessPopulatedCountry_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28120;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_lessPopulatedCountry_delta_old" ON "dbrdf_lessPopulatedCountry_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lessPopulatedCountry_delta_old" ON "dbrdf_lessPopulatedCountry_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lessPopulatedCountry_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/lessPopulatedCountry$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lessPopulatedCountry$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lessPopulatedCountry_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lessPopulatedCountry_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28120 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/lessPopulatedCountry$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lessPopulatedCountry$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lessPopulatedCountry_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lessPopulatedCountry_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28120 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28120, t0.o FROM "dbrdf_lessPopulatedCountry_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_lessPopulatedCountry_delta_old";
        INSERT INTO "dbrdf_lessPopulatedCountry_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lessPopulatedCountry_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lessPopulatedCountry_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1628
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_launches_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_launches_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28121;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_launches_delta_old" ON "dbrdf_launches_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_launches_delta_old" ON "dbrdf_launches_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_launches_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/launches$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/launches$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_launches_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_launches_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28121 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/launches$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/launches$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_launches_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_launches_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28121 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28121, t0.o FROM "dbrdf_launches_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_launches_delta_old";
        INSERT INTO "dbrdf_launches_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_launches_delta_new" t0;
        TRUNCATE TABLE "dbrdf_launches_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1629
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_rightAscension_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_rightAscension_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28122;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_rightAscension_delta_old" ON "dbrdf_rightAscension_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_rightAscension_delta_old" ON "dbrdf_rightAscension_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_rightAscension_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/rightAscension$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/rightAscension$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_rightAscension_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_rightAscension_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28122 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/rightAscension$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/rightAscension$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_rightAscension_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_rightAscension_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28122 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28122, t0.o FROM "dbrdf_rightAscension_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_rightAscension_delta_old";
        INSERT INTO "dbrdf_rightAscension_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_rightAscension_delta_new" t0;
        TRUNCATE TABLE "dbrdf_rightAscension_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1630
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_weight_delta_old3"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_weight_delta_old3"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28123;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_weight_delta_old3" ON "dbrdf_weight_delta_old3"(s, o); CREATE INDEX "IDX_1_dbrdf_weight_delta_old3" ON "dbrdf_weight_delta_old3"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_weight_delta_new3"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Weapon/weight$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/Weapon/weight$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_weight_delta_new3"(s, o) SELECT t1.o, t0.o FROM "dbrdf_weight_delta_old3" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28123 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/Weapon/weight$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/Weapon/weight$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_weight_delta_new3"(s, o) SELECT t0.s, t1.o FROM "dbrdf_weight_delta_old3" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28123 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28123, t0.o FROM "dbrdf_weight_delta_new3" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_weight_delta_old3";
        INSERT INTO "dbrdf_weight_delta_old3"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_weight_delta_new3" t0;
        TRUNCATE TABLE "dbrdf_weight_delta_new3";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1631
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_stateOfOrigin_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_stateOfOrigin_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28124;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_stateOfOrigin_delta_old" ON "dbrdf_stateOfOrigin_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_stateOfOrigin_delta_old" ON "dbrdf_stateOfOrigin_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_stateOfOrigin_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/stateOfOrigin$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/stateOfOrigin$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_stateOfOrigin_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_stateOfOrigin_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28124 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/stateOfOrigin$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/stateOfOrigin$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_stateOfOrigin_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_stateOfOrigin_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28124 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28124, t0.o FROM "dbrdf_stateOfOrigin_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_stateOfOrigin_delta_old";
        INSERT INTO "dbrdf_stateOfOrigin_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_stateOfOrigin_delta_new" t0;
        TRUNCATE TABLE "dbrdf_stateOfOrigin_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1632
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_crewSize_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_crewSize_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28125;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_crewSize_delta_old" ON "dbrdf_crewSize_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_crewSize_delta_old" ON "dbrdf_crewSize_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_crewSize_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/crewSize$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/crewSize$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_crewSize_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_crewSize_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28125 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/crewSize$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/crewSize$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_crewSize_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_crewSize_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28125 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28125, t0.o FROM "dbrdf_crewSize_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_crewSize_delta_old";
        INSERT INTO "dbrdf_crewSize_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_crewSize_delta_new" t0;
        TRUNCATE TABLE "dbrdf_crewSize_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1633
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_employer_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_employer_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28126;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_employer_delta_old" ON "dbrdf_employer_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_employer_delta_old" ON "dbrdf_employer_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_employer_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/employer$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/employer$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_employer_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_employer_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28126 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/employer$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/employer$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_employer_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_employer_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28126 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28126, t0.o FROM "dbrdf_employer_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_employer_delta_old";
        INSERT INTO "dbrdf_employer_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_employer_delta_new" t0;
        TRUNCATE TABLE "dbrdf_employer_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1634
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_compiler_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_compiler_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28127;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_compiler_delta_old" ON "dbrdf_compiler_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_compiler_delta_old" ON "dbrdf_compiler_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_compiler_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/compiler$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/compiler$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_compiler_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_compiler_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28127 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/compiler$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/compiler$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_compiler_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_compiler_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28127 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28127, t0.o FROM "dbrdf_compiler_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_compiler_delta_old";
        INSERT INTO "dbrdf_compiler_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_compiler_delta_new" t0;
        TRUNCATE TABLE "dbrdf_compiler_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1635
    ---- DEPENDS ON: 1634, 943, 920, 664, 264, 88, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Album>(?X) :- <http://dbpedia.org/ontology/review>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28129 FROM "__triples" t0 WHERE t0.p = 27430 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28129);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Album>(?X) :- <http://dbpedia.org/ontology/compiler>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28129 FROM "__triples" t0 WHERE t0.p = 28127 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28129);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Album>(?X) :- <http://dbpedia.org/ontology/totalDiscs>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28129 FROM "__triples" t0 WHERE t0.p = 27148 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28129);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Album>(?X) :- <http://dbpedia.org/ontology/longtype>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28129 FROM "__triples" t0 WHERE t0.p = 26746 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28129);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Album>(?X) :- <http://dbpedia.org/ontology/totalTracks>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28129 FROM "__triples" t0 WHERE t0.p = 27407 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28129);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Album>(?X1) :- <http://dbpedia.org/ontology/album>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28129 FROM "__triples" t0 WHERE t0.p = 26570 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28129);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_MusicAlbum_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_MusicAlbum_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28128;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_MusicAlbum_delta_old" ON "dbrdf_MusicAlbum_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_MusicAlbum_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Album_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Album_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28129;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Album_delta_old" ON "dbrdf_Album_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Album_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://schema.org/MusicAlbum$delta_new>(?X) :- <http://dbpedia.org/ontology/Album$delta_old>(?X) .
        INSERT INTO "dbrdf_MusicAlbum_delta_new"(s) SELECT t0.s FROM "dbrdf_Album_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28128);


        -- <http://schema.org/MusicAlbum$delta_new>(?Y) :- <http://schema.org/MusicAlbum$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_MusicAlbum_delta_new"(s) SELECT t1.o FROM "dbrdf_MusicAlbum_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28128);


        -- <http://dbpedia.org/ontology/Album$delta_new>(?X) :- <http://schema.org/MusicAlbum$delta_old>(?X) .
        INSERT INTO "dbrdf_Album_delta_new"(s) SELECT t0.s FROM "dbrdf_MusicAlbum_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28129);


        -- <http://dbpedia.org/ontology/Album$delta_new>(?Y) :- <http://dbpedia.org/ontology/Album$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Album_delta_new"(s) SELECT t1.o FROM "dbrdf_Album_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28129);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28128 FROM "dbrdf_MusicAlbum_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_MusicAlbum_delta_old";
        INSERT INTO "dbrdf_MusicAlbum_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_MusicAlbum_delta_new" t0;
        TRUNCATE TABLE "dbrdf_MusicAlbum_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28129 FROM "dbrdf_Album_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Album_delta_old";
        INSERT INTO "dbrdf_Album_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Album_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Album_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1636
    ---- DEPENDS ON: 1635, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://schema.org/MusicAlbumR>(?X,?X) :- <http://schema.org/MusicAlbum>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28130, t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28128 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28130 AND ex.o = t0.s);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_MusicAlbumR_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_MusicAlbumR_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28130;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_MusicAlbumR_delta_old" ON "dbrdf_MusicAlbumR_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_MusicAlbumR_delta_old" ON "dbrdf_MusicAlbumR_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_MusicAlbumR_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://schema.org/MusicAlbumR$delta_new>(?Y,?X1) :- <http://schema.org/MusicAlbumR$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_MusicAlbumR_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_MusicAlbumR_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28130 AND ex.o = t0.o);


        -- <http://schema.org/MusicAlbumR$delta_new>(?X0,?Y) :- <http://schema.org/MusicAlbumR$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_MusicAlbumR_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_MusicAlbumR_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28130 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28130, t0.o FROM "dbrdf_MusicAlbumR_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_MusicAlbumR_delta_old";
        INSERT INTO "dbrdf_MusicAlbumR_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_MusicAlbumR_delta_new" t0;
        TRUNCATE TABLE "dbrdf_MusicAlbumR_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1637
    ---- DEPENDS ON: 1494, 1493, 1636, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/albumHasGenre>(?X0,?X3) :- <http://schema.org/MusicAlbumR>(?X0,?X1), <http://dbpedia.org/ontology/genre>(?X1,?X2), <http://dbpedia.org/ontology/MusicGenreR>(?X2,?X3) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28131, t2.o FROM "__triples" t0, "__triples" t1, "__triples" t2 WHERE t0.o = t1.s AND t1.o = t2.s AND t0.p = 28130 AND t1.p = 27986 AND t2.p = 27985 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28131 AND ex.o = t2.o);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_albumHasGenre_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_albumHasGenre_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28131;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_albumHasGenre_delta_old" ON "dbrdf_albumHasGenre_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_albumHasGenre_delta_old" ON "dbrdf_albumHasGenre_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_albumHasGenre_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/albumHasGenre$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/albumHasGenre$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_albumHasGenre_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_albumHasGenre_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28131 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/albumHasGenre$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/albumHasGenre$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_albumHasGenre_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_albumHasGenre_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28131 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28131, t0.o FROM "dbrdf_albumHasGenre_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_albumHasGenre_delta_old";
        INSERT INTO "dbrdf_albumHasGenre_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_albumHasGenre_delta_new" t0;
        TRUNCATE TABLE "dbrdf_albumHasGenre_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1638
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_latestPreviewVersion_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_latestPreviewVersion_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28132;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_latestPreviewVersion_delta_old" ON "dbrdf_latestPreviewVersion_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_latestPreviewVersion_delta_old" ON "dbrdf_latestPreviewVersion_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_latestPreviewVersion_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/latestPreviewVersion$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/latestPreviewVersion$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_latestPreviewVersion_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_latestPreviewVersion_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28132 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/latestPreviewVersion$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/latestPreviewVersion$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_latestPreviewVersion_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_latestPreviewVersion_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28132 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28132, t0.o FROM "dbrdf_latestPreviewVersion_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_latestPreviewVersion_delta_old";
        INSERT INTO "dbrdf_latestPreviewVersion_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_latestPreviewVersion_delta_new" t0;
        TRUNCATE TABLE "dbrdf_latestPreviewVersion_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1639
    ---- DEPENDS ON: 171, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/GivenName>(?X) :- <http://dbpedia.org/ontology/nameDay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28133 FROM "__triples" t0 WHERE t0.p = 26653 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28133);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_GivenName_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_GivenName_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28133;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_GivenName_delta_old" ON "dbrdf_GivenName_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_GivenName_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/GivenName$delta_new>(?Y) :- <http://dbpedia.org/ontology/GivenName$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_GivenName_delta_new"(s) SELECT t1.o FROM "dbrdf_GivenName_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28133);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28133 FROM "dbrdf_GivenName_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_GivenName_delta_old";
        INSERT INTO "dbrdf_GivenName_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_GivenName_delta_new" t0;
        TRUNCATE TABLE "dbrdf_GivenName_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1640
    ---- DEPENDS ON: 1639, 1286, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Name>(?X) :- <http://dbpedia.org/ontology/GivenName>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28134 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28133 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28134);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Name>(?X) :- <http://dbpedia.org/ontology/Surname>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28134 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27775 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28134);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Name_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Name_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28134;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Name_delta_old" ON "dbrdf_Name_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Name_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Name$delta_new>(?Y) :- <http://dbpedia.org/ontology/Name$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Name_delta_new"(s) SELECT t1.o FROM "dbrdf_Name_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28134);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28134 FROM "dbrdf_Name_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Name_delta_old";
        INSERT INTO "dbrdf_Name_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Name_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Name_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1641
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_lieutenancyArea_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lieutenancyArea_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28135;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_lieutenancyArea_delta_old" ON "dbrdf_lieutenancyArea_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lieutenancyArea_delta_old" ON "dbrdf_lieutenancyArea_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lieutenancyArea_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/lieutenancyArea$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lieutenancyArea$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lieutenancyArea_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lieutenancyArea_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28135 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/lieutenancyArea$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lieutenancyArea$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lieutenancyArea_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lieutenancyArea_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28135 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28135, t0.o FROM "dbrdf_lieutenancyArea_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_lieutenancyArea_delta_old";
        INSERT INTO "dbrdf_lieutenancyArea_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lieutenancyArea_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lieutenancyArea_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1642
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_guest_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_guest_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28136;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_guest_delta_old" ON "dbrdf_guest_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_guest_delta_old" ON "dbrdf_guest_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_guest_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/guest$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/guest$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_guest_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_guest_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28136 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/guest$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/guest$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_guest_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_guest_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28136 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28136, t0.o FROM "dbrdf_guest_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_guest_delta_old";
        INSERT INTO "dbrdf_guest_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_guest_delta_new" t0;
        TRUNCATE TABLE "dbrdf_guest_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1643
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_managementRegion_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_managementRegion_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28137;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_managementRegion_delta_old" ON "dbrdf_managementRegion_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_managementRegion_delta_old" ON "dbrdf_managementRegion_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_managementRegion_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/managementRegion$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/managementRegion$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_managementRegion_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_managementRegion_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28137 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/managementRegion$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/managementRegion$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_managementRegion_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_managementRegion_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28137 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28137, t0.o FROM "dbrdf_managementRegion_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_managementRegion_delta_old";
        INSERT INTO "dbrdf_managementRegion_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_managementRegion_delta_new" t0;
        TRUNCATE TABLE "dbrdf_managementRegion_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1644
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_effectiveRadiatedPower_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_effectiveRadiatedPower_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28138;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_effectiveRadiatedPower_delta_old" ON "dbrdf_effectiveRadiatedPower_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_effectiveRadiatedPower_delta_old" ON "dbrdf_effectiveRadiatedPower_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_effectiveRadiatedPower_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/effectiveRadiatedPower$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/effectiveRadiatedPower$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_effectiveRadiatedPower_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_effectiveRadiatedPower_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28138 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/effectiveRadiatedPower$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/effectiveRadiatedPower$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_effectiveRadiatedPower_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_effectiveRadiatedPower_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28138 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28138, t0.o FROM "dbrdf_effectiveRadiatedPower_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_effectiveRadiatedPower_delta_old";
        INSERT INTO "dbrdf_effectiveRadiatedPower_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_effectiveRadiatedPower_delta_new" t0;
        TRUNCATE TABLE "dbrdf_effectiveRadiatedPower_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1645
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_principal_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_principal_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28139;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_principal_delta_old" ON "dbrdf_principal_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_principal_delta_old" ON "dbrdf_principal_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_principal_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/principal$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/principal$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_principal_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_principal_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28139 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/principal$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/principal$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_principal_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_principal_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28139 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28139, t0.o FROM "dbrdf_principal_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_principal_delta_old";
        INSERT INTO "dbrdf_principal_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_principal_delta_new" t0;
        TRUNCATE TABLE "dbrdf_principal_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1646
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_seniority_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_seniority_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28140;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_seniority_delta_old" ON "dbrdf_seniority_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_seniority_delta_old" ON "dbrdf_seniority_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_seniority_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/seniority$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/seniority$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_seniority_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_seniority_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28140 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/seniority$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/seniority$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_seniority_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_seniority_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28140 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28140, t0.o FROM "dbrdf_seniority_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_seniority_delta_old";
        INSERT INTO "dbrdf_seniority_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_seniority_delta_new" t0;
        TRUNCATE TABLE "dbrdf_seniority_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1647
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_campus_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_campus_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28141;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_campus_delta_old" ON "dbrdf_campus_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_campus_delta_old" ON "dbrdf_campus_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_campus_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/campus$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/campus$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_campus_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_campus_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28141 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/campus$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/campus$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_campus_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_campus_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28141 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28141, t0.o FROM "dbrdf_campus_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_campus_delta_old";
        INSERT INTO "dbrdf_campus_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_campus_delta_new" t0;
        TRUNCATE TABLE "dbrdf_campus_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1648
    ---- DEPENDS ON: 1647, 1591, 1068, 1013, 520, 415, 321, 223, 107, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/College>(?X) :- <http://dbpedia.org/ontology/sisterCollege>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28142 FROM "__triples" t0 WHERE t0.p = 27500 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28142);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/College>(?X1) :- <http://dbpedia.org/ontology/college>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28142 FROM "__triples" t0 WHERE t0.p = 26803 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28142);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/College>(?X1) :- <http://dbpedia.org/ontology/sisterCollege>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28142 FROM "__triples" t0 WHERE t0.p = 27500 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28142);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/University>(?X) :- <http://dbpedia.org/ontology/campus>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28144 FROM "__triples" t0 WHERE t0.p = 28141 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28144);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/University>(?X) :- <http://dbpedia.org/ontology/numberOfPostgraduateStudents>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28144 FROM "__triples" t0 WHERE t0.p = 27555 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28144);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/University>(?X) :- <http://dbpedia.org/ontology/officerInCharge>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28144 FROM "__triples" t0 WHERE t0.p = 27003 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28144);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/University>(?X) :- <http://dbpedia.org/ontology/other>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28144 FROM "__triples" t0 WHERE t0.p = 26898 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28144);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/University>(?X) :- <http://dbpedia.org/ontology/numberOfDoctoralStudents>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28144 FROM "__triples" t0 WHERE t0.p = 26705 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28144);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/University>(?X) :- <http://dbpedia.org/ontology/provost>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28144 FROM "__triples" t0 WHERE t0.p = 28083 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28144);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/University>(?X) :- <http://dbpedia.org/ontology/athletics>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28144 FROM "__triples" t0 WHERE t0.p = 26589 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28144);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_College_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_College_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28142;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_College_delta_old" ON "dbrdf_College_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_College_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_CollegeOrUniversity_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_CollegeOrUniversity_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28143;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_CollegeOrUniversity_delta_old" ON "dbrdf_CollegeOrUniversity_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_CollegeOrUniversity_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_University_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_University_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28144;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_University_delta_old" ON "dbrdf_University_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_University_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/College$delta_new>(?X) :- <http://schema.org/CollegeOrUniversity$delta_old>(?X) .
        INSERT INTO "dbrdf_College_delta_new"(s) SELECT t0.s FROM "dbrdf_CollegeOrUniversity_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28142);


        -- <http://dbpedia.org/ontology/College$delta_new>(?Y) :- <http://dbpedia.org/ontology/College$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_College_delta_new"(s) SELECT t1.o FROM "dbrdf_College_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28142);


        -- <http://schema.org/CollegeOrUniversity$delta_new>(?X) :- <http://dbpedia.org/ontology/University$delta_old>(?X) .
        INSERT INTO "dbrdf_CollegeOrUniversity_delta_new"(s) SELECT t0.s FROM "dbrdf_University_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28143);


        -- <http://schema.org/CollegeOrUniversity$delta_new>(?X) :- <http://dbpedia.org/ontology/College$delta_old>(?X) .
        INSERT INTO "dbrdf_CollegeOrUniversity_delta_new"(s) SELECT t0.s FROM "dbrdf_College_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28143);


        -- <http://schema.org/CollegeOrUniversity$delta_new>(?Y) :- <http://schema.org/CollegeOrUniversity$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_CollegeOrUniversity_delta_new"(s) SELECT t1.o FROM "dbrdf_CollegeOrUniversity_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28143);


        -- <http://dbpedia.org/ontology/University$delta_new>(?X) :- <http://schema.org/CollegeOrUniversity$delta_old>(?X) .
        INSERT INTO "dbrdf_University_delta_new"(s) SELECT t0.s FROM "dbrdf_CollegeOrUniversity_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28144);


        -- <http://dbpedia.org/ontology/University$delta_new>(?Y) :- <http://dbpedia.org/ontology/University$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_University_delta_new"(s) SELECT t1.o FROM "dbrdf_University_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28144);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28142 FROM "dbrdf_College_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_College_delta_old";
        INSERT INTO "dbrdf_College_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_College_delta_new" t0;
        TRUNCATE TABLE "dbrdf_College_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28143 FROM "dbrdf_CollegeOrUniversity_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_CollegeOrUniversity_delta_old";
        INSERT INTO "dbrdf_CollegeOrUniversity_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_CollegeOrUniversity_delta_new" t0;
        TRUNCATE TABLE "dbrdf_CollegeOrUniversity_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28144 FROM "dbrdf_University_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_University_delta_old";
        INSERT INTO "dbrdf_University_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_University_delta_new" t0;
        TRUNCATE TABLE "dbrdf_University_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1649
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_decommissioningDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_decommissioningDate_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28145;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_decommissioningDate_delta_old" ON "dbrdf_decommissioningDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_decommissioningDate_delta_old" ON "dbrdf_decommissioningDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_decommissioningDate_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/decommissioningDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/decommissioningDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_decommissioningDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_decommissioningDate_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28145 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/decommissioningDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/decommissioningDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_decommissioningDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_decommissioningDate_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28145 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28145, t0.o FROM "dbrdf_decommissioningDate_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_decommissioningDate_delta_old";
        INSERT INTO "dbrdf_decommissioningDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_decommissioningDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_decommissioningDate_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1650
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_riverMouth_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_riverMouth_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28146;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_riverMouth_delta_old" ON "dbrdf_riverMouth_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_riverMouth_delta_old" ON "dbrdf_riverMouth_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_riverMouth_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/riverMouth$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/riverMouth$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_riverMouth_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_riverMouth_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28146 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/riverMouth$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/riverMouth$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_riverMouth_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_riverMouth_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28146 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28146, t0.o FROM "dbrdf_riverMouth_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_riverMouth_delta_old";
        INSERT INTO "dbrdf_riverMouth_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_riverMouth_delta_new" t0;
        TRUNCATE TABLE "dbrdf_riverMouth_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1651
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_minimumDischarge_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_minimumDischarge_delta_old0"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28147;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_minimumDischarge_delta_old0" ON "dbrdf_minimumDischarge_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_minimumDischarge_delta_old0" ON "dbrdf_minimumDischarge_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_minimumDischarge_delta_new0"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/minimumDischarge$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/minimumDischarge$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_minimumDischarge_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_minimumDischarge_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28147 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/minimumDischarge$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/minimumDischarge$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_minimumDischarge_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_minimumDischarge_delta_old0" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28147 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28147, t0.o FROM "dbrdf_minimumDischarge_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_minimumDischarge_delta_old0";
        INSERT INTO "dbrdf_minimumDischarge_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_minimumDischarge_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_minimumDischarge_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1652
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_lunarLandingSite_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lunarLandingSite_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28148;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_lunarLandingSite_delta_old" ON "dbrdf_lunarLandingSite_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lunarLandingSite_delta_old" ON "dbrdf_lunarLandingSite_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lunarLandingSite_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/lunarLandingSite$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lunarLandingSite$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lunarLandingSite_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lunarLandingSite_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28148 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/lunarLandingSite$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lunarLandingSite$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lunarLandingSite_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lunarLandingSite_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28148 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28148, t0.o FROM "dbrdf_lunarLandingSite_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_lunarLandingSite_delta_old";
        INSERT INTO "dbrdf_lunarLandingSite_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lunarLandingSite_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lunarLandingSite_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1653
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_visitorsPercentageChange_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_visitorsPercentageChange_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28149;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_visitorsPercentageChange_delta_old" ON "dbrdf_visitorsPercentageChange_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_visitorsPercentageChange_delta_old" ON "dbrdf_visitorsPercentageChange_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_visitorsPercentageChange_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/visitorsPercentageChange$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/visitorsPercentageChange$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_visitorsPercentageChange_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_visitorsPercentageChange_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28149 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/visitorsPercentageChange$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/visitorsPercentageChange$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_visitorsPercentageChange_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_visitorsPercentageChange_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28149 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28149, t0.o FROM "dbrdf_visitorsPercentageChange_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_visitorsPercentageChange_delta_old";
        INSERT INTO "dbrdf_visitorsPercentageChange_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_visitorsPercentageChange_delta_new" t0;
        TRUNCATE TABLE "dbrdf_visitorsPercentageChange_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1654
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_rgbCoordinateGreen_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_rgbCoordinateGreen_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28150;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_rgbCoordinateGreen_delta_old" ON "dbrdf_rgbCoordinateGreen_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_rgbCoordinateGreen_delta_old" ON "dbrdf_rgbCoordinateGreen_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_rgbCoordinateGreen_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/rgbCoordinateGreen$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/rgbCoordinateGreen$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_rgbCoordinateGreen_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_rgbCoordinateGreen_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28150 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/rgbCoordinateGreen$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/rgbCoordinateGreen$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_rgbCoordinateGreen_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_rgbCoordinateGreen_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28150 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28150, t0.o FROM "dbrdf_rgbCoordinateGreen_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_rgbCoordinateGreen_delta_old";
        INSERT INTO "dbrdf_rgbCoordinateGreen_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_rgbCoordinateGreen_delta_new" t0;
        TRUNCATE TABLE "dbrdf_rgbCoordinateGreen_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1655
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_diameter_delta_old3"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_diameter_delta_old3"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28151;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_diameter_delta_old3" ON "dbrdf_diameter_delta_old3"(s, o); CREATE INDEX "IDX_1_dbrdf_diameter_delta_old3" ON "dbrdf_diameter_delta_old3"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_diameter_delta_new3"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Weapon/diameter$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/Weapon/diameter$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_diameter_delta_new3"(s, o) SELECT t1.o, t0.o FROM "dbrdf_diameter_delta_old3" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28151 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/Weapon/diameter$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/Weapon/diameter$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_diameter_delta_new3"(s, o) SELECT t0.s, t1.o FROM "dbrdf_diameter_delta_old3" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28151 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28151, t0.o FROM "dbrdf_diameter_delta_new3" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_diameter_delta_old3";
        INSERT INTO "dbrdf_diameter_delta_old3"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_diameter_delta_new3" t0;
        TRUNCATE TABLE "dbrdf_diameter_delta_new3";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1656
    ---- DEPENDS ON: 1655, 1630, 1087, 487, 334, 72, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Weapon>(?X) :- <http://dbpedia.org/ontology/Weapon/diameter>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28152 FROM "__triples" t0 WHERE t0.p = 28151 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28152);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Weapon>(?X) :- <http://dbpedia.org/ontology/Weapon/weight>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28152 FROM "__triples" t0 WHERE t0.p = 28123 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28152);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Weapon>(?X) :- <http://dbpedia.org/ontology/usedInWar>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28152 FROM "__triples" t0 WHERE t0.p = 27574 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28152);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Weapon>(?X) :- <http://dbpedia.org/ontology/Weapon/width>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28152 FROM "__triples" t0 WHERE t0.p = 26970 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28152);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Weapon>(?X) :- <http://dbpedia.org/ontology/Weapon/length>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28152 FROM "__triples" t0 WHERE t0.p = 26817 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28152);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Weapon>(?X) :- <http://dbpedia.org/ontology/Weapon/height>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28152 FROM "__triples" t0 WHERE t0.p = 26554 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28152);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Weapon_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Weapon_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28152;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Weapon_delta_old" ON "dbrdf_Weapon_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Weapon_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Weapon$delta_new>(?Y) :- <http://dbpedia.org/ontology/Weapon$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Weapon_delta_new"(s) SELECT t1.o FROM "dbrdf_Weapon_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28152);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28152 FROM "dbrdf_Weapon_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Weapon_delta_old";
        INSERT INTO "dbrdf_Weapon_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Weapon_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Weapon_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1657
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_casSupplemental_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_casSupplemental_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28153;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_casSupplemental_delta_old" ON "dbrdf_casSupplemental_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_casSupplemental_delta_old" ON "dbrdf_casSupplemental_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_casSupplemental_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/casSupplemental$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/casSupplemental$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_casSupplemental_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_casSupplemental_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28153 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/casSupplemental$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/casSupplemental$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_casSupplemental_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_casSupplemental_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28153 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28153, t0.o FROM "dbrdf_casSupplemental_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_casSupplemental_delta_old";
        INSERT INTO "dbrdf_casSupplemental_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_casSupplemental_delta_new" t0;
        TRUNCATE TABLE "dbrdf_casSupplemental_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1658
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_shoreLength_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_shoreLength_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28154;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_shoreLength_delta_old" ON "dbrdf_shoreLength_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_shoreLength_delta_old" ON "dbrdf_shoreLength_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_shoreLength_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Lake/shoreLength$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/Lake/shoreLength$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_shoreLength_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_shoreLength_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28154 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/Lake/shoreLength$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/Lake/shoreLength$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_shoreLength_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_shoreLength_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28154 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28154, t0.o FROM "dbrdf_shoreLength_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_shoreLength_delta_old";
        INSERT INTO "dbrdf_shoreLength_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_shoreLength_delta_new" t0;
        TRUNCATE TABLE "dbrdf_shoreLength_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1659
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_baftaAward_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_baftaAward_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28155;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_baftaAward_delta_old" ON "dbrdf_baftaAward_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_baftaAward_delta_old" ON "dbrdf_baftaAward_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_baftaAward_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/baftaAward$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/baftaAward$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_baftaAward_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_baftaAward_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28155 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/baftaAward$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/baftaAward$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_baftaAward_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_baftaAward_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28155 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28155, t0.o FROM "dbrdf_baftaAward_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_baftaAward_delta_old";
        INSERT INTO "dbrdf_baftaAward_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_baftaAward_delta_new" t0;
        TRUNCATE TABLE "dbrdf_baftaAward_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1660
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_shoreLength_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_shoreLength_delta_old0"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28156;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_shoreLength_delta_old0" ON "dbrdf_shoreLength_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_shoreLength_delta_old0" ON "dbrdf_shoreLength_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_shoreLength_delta_new0"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/shoreLength$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/shoreLength$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_shoreLength_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_shoreLength_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28156 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/shoreLength$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/shoreLength$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_shoreLength_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_shoreLength_delta_old0" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28156 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28156, t0.o FROM "dbrdf_shoreLength_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_shoreLength_delta_old0";
        INSERT INTO "dbrdf_shoreLength_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_shoreLength_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_shoreLength_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1661
    ---- DEPENDS ON: 1660, 1658, 1616, 1230, 1078, 794, 277, 119, 98, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/shoreLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 28156 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/Lake/shoreLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 28154 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/inflow>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 28108 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/Lake/volume>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 27280 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/island>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 27719 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/areaOfCatchment>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 27565 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/Lake/areaOfCatchment>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 26601 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/frozen>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 26759 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Lake>(?X) :- <http://dbpedia.org/ontology/outflow>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "__triples" t0 WHERE t0.p = 26580 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_LakeBodyOfWater_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_LakeBodyOfWater_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28157;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_LakeBodyOfWater_delta_old" ON "dbrdf_LakeBodyOfWater_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_LakeBodyOfWater_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Lake_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Lake_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28158;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Lake_delta_old" ON "dbrdf_Lake_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Lake_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://schema.org/LakeBodyOfWater$delta_new>(?X) :- <http://dbpedia.org/ontology/Lake$delta_old>(?X) .
        INSERT INTO "dbrdf_LakeBodyOfWater_delta_new"(s) SELECT t0.s FROM "dbrdf_Lake_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28157);


        -- <http://schema.org/LakeBodyOfWater$delta_new>(?Y) :- <http://schema.org/LakeBodyOfWater$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_LakeBodyOfWater_delta_new"(s) SELECT t1.o FROM "dbrdf_LakeBodyOfWater_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28157);


        -- <http://dbpedia.org/ontology/Lake$delta_new>(?X) :- <http://schema.org/LakeBodyOfWater$delta_old>(?X) .
        INSERT INTO "dbrdf_Lake_delta_new"(s) SELECT t0.s FROM "dbrdf_LakeBodyOfWater_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28158);


        -- <http://dbpedia.org/ontology/Lake$delta_new>(?Y) :- <http://dbpedia.org/ontology/Lake$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Lake_delta_new"(s) SELECT t1.o FROM "dbrdf_Lake_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28158);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28157 FROM "dbrdf_LakeBodyOfWater_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_LakeBodyOfWater_delta_old";
        INSERT INTO "dbrdf_LakeBodyOfWater_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_LakeBodyOfWater_delta_new" t0;
        TRUNCATE TABLE "dbrdf_LakeBodyOfWater_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28158 FROM "dbrdf_Lake_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Lake_delta_old";
        INSERT INTO "dbrdf_Lake_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Lake_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Lake_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1662
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_course_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_course_delta_old0"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28159;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_course_delta_old0" ON "dbrdf_course_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_course_delta_old0" ON "dbrdf_course_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_course_delta_new0"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/course$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/course$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_course_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_course_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28159 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/course$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/course$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_course_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_course_delta_old0" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28159 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28159, t0.o FROM "dbrdf_course_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_course_delta_old0";
        INSERT INTO "dbrdf_course_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_course_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_course_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1663
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_sourceCountry_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_sourceCountry_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28160;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_sourceCountry_delta_old" ON "dbrdf_sourceCountry_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_sourceCountry_delta_old" ON "dbrdf_sourceCountry_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_sourceCountry_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/sourceCountry$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/sourceCountry$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_sourceCountry_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_sourceCountry_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28160 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/sourceCountry$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/sourceCountry$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_sourceCountry_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_sourceCountry_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28160 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28160, t0.o FROM "dbrdf_sourceCountry_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_sourceCountry_delta_old";
        INSERT INTO "dbrdf_sourceCountry_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_sourceCountry_delta_new" t0;
        TRUNCATE TABLE "dbrdf_sourceCountry_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1664
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_number_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_number_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28161;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_number_delta_old" ON "dbrdf_number_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_number_delta_old" ON "dbrdf_number_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_number_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/number$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/number$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_number_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_number_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28161 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/number$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/number$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_number_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_number_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28161 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28161, t0.o FROM "dbrdf_number_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_number_delta_old";
        INSERT INTO "dbrdf_number_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_number_delta_new" t0;
        TRUNCATE TABLE "dbrdf_number_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1665
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_formerChannel_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_formerChannel_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28162;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_formerChannel_delta_old" ON "dbrdf_formerChannel_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_formerChannel_delta_old" ON "dbrdf_formerChannel_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_formerChannel_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/formerChannel$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/formerChannel$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_formerChannel_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_formerChannel_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28162 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/formerChannel$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/formerChannel$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_formerChannel_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_formerChannel_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28162 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28162, t0.o FROM "dbrdf_formerChannel_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_formerChannel_delta_old";
        INSERT INTO "dbrdf_formerChannel_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_formerChannel_delta_new" t0;
        TRUNCATE TABLE "dbrdf_formerChannel_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1666
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_NationalSoccerClub_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_NationalSoccerClub_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28163;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_NationalSoccerClub_delta_old" ON "dbrdf_NationalSoccerClub_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_NationalSoccerClub_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/NationalSoccerClub$delta_new>(?Y) :- <http://dbpedia.org/ontology/NationalSoccerClub$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_NationalSoccerClub_delta_new"(s) SELECT t1.o FROM "dbrdf_NationalSoccerClub_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28163);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28163 FROM "dbrdf_NationalSoccerClub_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_NationalSoccerClub_delta_old";
        INSERT INTO "dbrdf_NationalSoccerClub_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_NationalSoccerClub_delta_new" t0;
        TRUNCATE TABLE "dbrdf_NationalSoccerClub_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1667
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_shuttle_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_shuttle_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28164;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_shuttle_delta_old" ON "dbrdf_shuttle_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_shuttle_delta_old" ON "dbrdf_shuttle_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_shuttle_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/shuttle$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/shuttle$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_shuttle_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_shuttle_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28164 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/shuttle$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/shuttle$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_shuttle_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_shuttle_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28164 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28164, t0.o FROM "dbrdf_shuttle_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_shuttle_delta_old";
        INSERT INTO "dbrdf_shuttle_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_shuttle_delta_new" t0;
        TRUNCATE TABLE "dbrdf_shuttle_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1668
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_crownDependency_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_crownDependency_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28165;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_crownDependency_delta_old" ON "dbrdf_crownDependency_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_crownDependency_delta_old" ON "dbrdf_crownDependency_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_crownDependency_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/crownDependency$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/crownDependency$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_crownDependency_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_crownDependency_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28165 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/crownDependency$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/crownDependency$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_crownDependency_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_crownDependency_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28165 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28165, t0.o FROM "dbrdf_crownDependency_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_crownDependency_delta_old";
        INSERT INTO "dbrdf_crownDependency_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_crownDependency_delta_new" t0;
        TRUNCATE TABLE "dbrdf_crownDependency_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1669
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_naacpImageAward_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_naacpImageAward_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28166;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_naacpImageAward_delta_old" ON "dbrdf_naacpImageAward_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_naacpImageAward_delta_old" ON "dbrdf_naacpImageAward_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_naacpImageAward_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/naacpImageAward$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/naacpImageAward$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_naacpImageAward_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_naacpImageAward_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28166 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/naacpImageAward$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/naacpImageAward$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_naacpImageAward_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_naacpImageAward_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28166 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28166, t0.o FROM "dbrdf_naacpImageAward_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_naacpImageAward_delta_old";
        INSERT INTO "dbrdf_naacpImageAward_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_naacpImageAward_delta_new" t0;
        TRUNCATE TABLE "dbrdf_naacpImageAward_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1670
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_fastestDriverTeam_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_fastestDriverTeam_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28167;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_fastestDriverTeam_delta_old" ON "dbrdf_fastestDriverTeam_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_fastestDriverTeam_delta_old" ON "dbrdf_fastestDriverTeam_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_fastestDriverTeam_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/fastestDriverTeam$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/fastestDriverTeam$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_fastestDriverTeam_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_fastestDriverTeam_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28167 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/fastestDriverTeam$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/fastestDriverTeam$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_fastestDriverTeam_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_fastestDriverTeam_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28167 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28167, t0.o FROM "dbrdf_fastestDriverTeam_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_fastestDriverTeam_delta_old";
        INSERT INTO "dbrdf_fastestDriverTeam_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_fastestDriverTeam_delta_new" t0;
        TRUNCATE TABLE "dbrdf_fastestDriverTeam_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1671
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_priceMoney_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_priceMoney_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28168;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_priceMoney_delta_old" ON "dbrdf_priceMoney_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_priceMoney_delta_old" ON "dbrdf_priceMoney_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_priceMoney_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/priceMoney$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/priceMoney$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_priceMoney_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_priceMoney_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28168 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/priceMoney$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/priceMoney$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_priceMoney_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_priceMoney_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28168 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28168, t0.o FROM "dbrdf_priceMoney_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_priceMoney_delta_old";
        INSERT INTO "dbrdf_priceMoney_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_priceMoney_delta_new" t0;
        TRUNCATE TABLE "dbrdf_priceMoney_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1672
    ---- DEPENDS ON: 1202, 83, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/RadioStation>(?X) :- <http://dbpedia.org/ontology/facilityId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28170 FROM "__triples" t0 WHERE t0.p = 27691 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28170);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/RadioStation>(?X) :- <http://dbpedia.org/ontology/airDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28170 FROM "__triples" t0 WHERE t0.p = 26565 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28170);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_RadioStation_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_RadioStation_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28169;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_RadioStation_delta_old" ON "dbrdf_RadioStation_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_RadioStation_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_RadioStation_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_RadioStation_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28170;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_RadioStation_delta_old0" ON "dbrdf_RadioStation_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_RadioStation_delta_new0"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://schema.org/RadioStation$delta_new>(?X) :- <http://dbpedia.org/ontology/RadioStation$delta_old>(?X) .
        INSERT INTO "dbrdf_RadioStation_delta_new"(s) SELECT t0.s FROM "dbrdf_RadioStation_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28169);


        -- <http://schema.org/RadioStation$delta_new>(?Y) :- <http://schema.org/RadioStation$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_RadioStation_delta_new"(s) SELECT t1.o FROM "dbrdf_RadioStation_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28169);


        -- <http://dbpedia.org/ontology/RadioStation$delta_new>(?X) :- <http://schema.org/RadioStation$delta_old>(?X) .
        INSERT INTO "dbrdf_RadioStation_delta_new0"(s) SELECT t0.s FROM "dbrdf_RadioStation_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28170);


        -- <http://dbpedia.org/ontology/RadioStation$delta_new>(?Y) :- <http://dbpedia.org/ontology/RadioStation$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_RadioStation_delta_new0"(s) SELECT t1.o FROM "dbrdf_RadioStation_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28170);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28169 FROM "dbrdf_RadioStation_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_RadioStation_delta_old";
        INSERT INTO "dbrdf_RadioStation_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_RadioStation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_RadioStation_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28170 FROM "dbrdf_RadioStation_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_RadioStation_delta_old0";
        INSERT INTO "dbrdf_RadioStation_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_RadioStation_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_RadioStation_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1673
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_targetAirport_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_targetAirport_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28171;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_targetAirport_delta_old" ON "dbrdf_targetAirport_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_targetAirport_delta_old" ON "dbrdf_targetAirport_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_targetAirport_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/targetAirport$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/targetAirport$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_targetAirport_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_targetAirport_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28171 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/targetAirport$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/targetAirport$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_targetAirport_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_targetAirport_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28171 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28171, t0.o FROM "dbrdf_targetAirport_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_targetAirport_delta_old";
        INSERT INTO "dbrdf_targetAirport_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_targetAirport_delta_new" t0;
        TRUNCATE TABLE "dbrdf_targetAirport_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1674
    ---- DEPENDS ON: 1673, 1291, 1207, 869, 824, 731, 463, 453, 248, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X1) :- <http://dbpedia.org/ontology/hubAirport>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28173 FROM "__triples" t0 WHERE t0.p = 27780 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X) :- <http://dbpedia.org/ontology/airportUsing>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28173 FROM "__triples" t0 WHERE t0.p = 27696 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X) :- <http://dbpedia.org/ontology/locationIdentifier>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28173 FROM "__triples" t0 WHERE t0.p = 27356 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X) :- <http://dbpedia.org/ontology/runwaySurface>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28173 FROM "__triples" t0 WHERE t0.p = 26936 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X) :- <http://dbpedia.org/ontology/runwayDesignation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28173 FROM "__triples" t0 WHERE t0.p = 26946 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X) :- <http://dbpedia.org/ontology/icaoLocationIdentifier>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28173 FROM "__triples" t0 WHERE t0.p = 26730 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X) :- <http://dbpedia.org/ontology/runwayLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28173 FROM "__triples" t0 WHERE t0.p = 27311 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X1) :- <http://dbpedia.org/ontology/targetAirport>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28173 FROM "__triples" t0 WHERE t0.p = 28171 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airport>(?X) :- <http://dbpedia.org/ontology/faaLocationIdentifier>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28173 FROM "__triples" t0 WHERE t0.p = 27215 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28173);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Airport_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Airport_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28172;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Airport_delta_old" ON "dbrdf_Airport_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Airport_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Airport_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Airport_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28173;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Airport_delta_old0" ON "dbrdf_Airport_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Airport_delta_new0"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://schema.org/Airport$delta_new>(?X) :- <http://dbpedia.org/ontology/Airport$delta_old>(?X) .
        INSERT INTO "dbrdf_Airport_delta_new"(s) SELECT t0.s FROM "dbrdf_Airport_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28172);


        -- <http://schema.org/Airport$delta_new>(?Y) :- <http://schema.org/Airport$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Airport_delta_new"(s) SELECT t1.o FROM "dbrdf_Airport_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28172);


        -- <http://dbpedia.org/ontology/Airport$delta_new>(?X) :- <http://schema.org/Airport$delta_old>(?X) .
        INSERT INTO "dbrdf_Airport_delta_new0"(s) SELECT t0.s FROM "dbrdf_Airport_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28173);


        -- <http://dbpedia.org/ontology/Airport$delta_new>(?Y) :- <http://dbpedia.org/ontology/Airport$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Airport_delta_new0"(s) SELECT t1.o FROM "dbrdf_Airport_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28173);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28172 FROM "dbrdf_Airport_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Airport_delta_old";
        INSERT INTO "dbrdf_Airport_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Airport_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Airport_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28173 FROM "dbrdf_Airport_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Airport_delta_old0";
        INSERT INTO "dbrdf_Airport_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Airport_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Airport_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1675
    ---- DEPENDS ON: 1673, 1455, 1291, 556, 30, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Airline>(?X) :- <http://dbpedia.org/ontology/targetAirport>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28174 FROM "__triples" t0 WHERE t0.p = 28171 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28174);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airline>(?X) :- <http://dbpedia.org/ontology/alliance>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28174 FROM "__triples" t0 WHERE t0.p = 27946 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28174);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airline>(?X) :- <http://dbpedia.org/ontology/hubAirport>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28174 FROM "__triples" t0 WHERE t0.p = 27780 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28174);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airline>(?X) :- <http://dbpedia.org/ontology/lounge>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28174 FROM "__triples" t0 WHERE t0.p = 27039 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28174);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Airline>(?X) :- <http://dbpedia.org/ontology/destination>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28174 FROM "__triples" t0 WHERE t0.p = 26511 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28174);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Airline_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Airline_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28174;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Airline_delta_old" ON "dbrdf_Airline_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Airline_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Airline$delta_new>(?Y) :- <http://dbpedia.org/ontology/Airline$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Airline_delta_new"(s) SELECT t1.o FROM "dbrdf_Airline_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28174);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28174 FROM "dbrdf_Airline_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Airline_delta_old";
        INSERT INTO "dbrdf_Airline_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Airline_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Airline_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1676
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_setupTime_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_setupTime_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28175;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_setupTime_delta_old" ON "dbrdf_setupTime_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_setupTime_delta_old" ON "dbrdf_setupTime_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_setupTime_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/setupTime$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/setupTime$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_setupTime_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_setupTime_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28175 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/setupTime$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/setupTime$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_setupTime_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_setupTime_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28175 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28175, t0.o FROM "dbrdf_setupTime_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_setupTime_delta_old";
        INSERT INTO "dbrdf_setupTime_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_setupTime_delta_new" t0;
        TRUNCATE TABLE "dbrdf_setupTime_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1677
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_lunarModule_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lunarModule_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28176;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_lunarModule_delta_old" ON "dbrdf_lunarModule_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lunarModule_delta_old" ON "dbrdf_lunarModule_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lunarModule_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/lunarModule$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lunarModule$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lunarModule_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lunarModule_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28176 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/lunarModule$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lunarModule$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lunarModule_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lunarModule_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28176 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28176, t0.o FROM "dbrdf_lunarModule_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_lunarModule_delta_old";
        INSERT INTO "dbrdf_lunarModule_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lunarModule_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lunarModule_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1678
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_currentPartner_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_currentPartner_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28177;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_currentPartner_delta_old" ON "dbrdf_currentPartner_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_currentPartner_delta_old" ON "dbrdf_currentPartner_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_currentPartner_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/currentPartner$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/currentPartner$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_currentPartner_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_currentPartner_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28177 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/currentPartner$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/currentPartner$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_currentPartner_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_currentPartner_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28177 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28177, t0.o FROM "dbrdf_currentPartner_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_currentPartner_delta_old";
        INSERT INTO "dbrdf_currentPartner_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_currentPartner_delta_new" t0;
        TRUNCATE TABLE "dbrdf_currentPartner_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1679
    ---- DEPENDS ON: 1678, 1096, 658, 342, 294, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/FigureSkater>(?X) :- <http://dbpedia.org/ontology/choreographer>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28178 FROM "__triples" t0 WHERE t0.p = 27142 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28178);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/FigureSkater>(?X) :- <http://dbpedia.org/ontology/formerCoach>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28178 FROM "__triples" t0 WHERE t0.p = 27583 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28178);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/FigureSkater>(?X) :- <http://dbpedia.org/ontology/currentPartner>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28178 FROM "__triples" t0 WHERE t0.p = 28177 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28178);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/FigureSkater>(?X) :- <http://dbpedia.org/ontology/formerPartner>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28178 FROM "__triples" t0 WHERE t0.p = 26776 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28178);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/FigureSkater>(?X) :- <http://dbpedia.org/ontology/formerChoreographer>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28178 FROM "__triples" t0 WHERE t0.p = 26825 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28178);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_FigureSkater_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_FigureSkater_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28178;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_FigureSkater_delta_old" ON "dbrdf_FigureSkater_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_FigureSkater_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/FigureSkater$delta_new>(?Y) :- <http://dbpedia.org/ontology/FigureSkater$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_FigureSkater_delta_new"(s) SELECT t1.o FROM "dbrdf_FigureSkater_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28178);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28178 FROM "dbrdf_FigureSkater_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_FigureSkater_delta_old";
        INSERT INTO "dbrdf_FigureSkater_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_FigureSkater_delta_new" t0;
        TRUNCATE TABLE "dbrdf_FigureSkater_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1680
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_routeDirection_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_routeDirection_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28179;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_routeDirection_delta_old" ON "dbrdf_routeDirection_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_routeDirection_delta_old" ON "dbrdf_routeDirection_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_routeDirection_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/routeDirection$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/routeDirection$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_routeDirection_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_routeDirection_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28179 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/routeDirection$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/routeDirection$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_routeDirection_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_routeDirection_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28179 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28179, t0.o FROM "dbrdf_routeDirection_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_routeDirection_delta_old";
        INSERT INTO "dbrdf_routeDirection_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_routeDirection_delta_new" t0;
        TRUNCATE TABLE "dbrdf_routeDirection_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1681
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_sport_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_sport_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28180;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_sport_delta_old" ON "dbrdf_sport_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_sport_delta_old" ON "dbrdf_sport_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_sport_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/sport$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/sport$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_sport_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_sport_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28180 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/sport$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/sport$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_sport_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_sport_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28180 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28180, t0.o FROM "dbrdf_sport_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_sport_delta_old";
        INSERT INTO "dbrdf_sport_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_sport_delta_new" t0;
        TRUNCATE TABLE "dbrdf_sport_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1682
    ---- DEPENDS ON: 1681, 1490, 1431, 269, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Sport>(?X1) :- <http://dbpedia.org/ontology/sport>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28181 FROM "__triples" t0 WHERE t0.p = 28180 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28181);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Sport>(?X1) :- <http://dbpedia.org/ontology/sportSpecialty>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28181 FROM "__triples" t0 WHERE t0.p = 27922 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28181);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Sport>(?X) :- <http://dbpedia.org/ontology/footedness>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28181 FROM "__triples" t0 WHERE t0.p = 27982 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28181);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Sport>(?X1) :- <http://dbpedia.org/ontology/sportDiscipline>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28181 FROM "__triples" t0 WHERE t0.p = 26751 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28181);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Sport_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Sport_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28181;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Sport_delta_old" ON "dbrdf_Sport_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Sport_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Sport$delta_new>(?Y) :- <http://dbpedia.org/ontology/Sport$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Sport_delta_new"(s) SELECT t1.o FROM "dbrdf_Sport_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28181);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28181 FROM "dbrdf_Sport_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Sport_delta_old";
        INSERT INTO "dbrdf_Sport_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Sport_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Sport_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1683
    ---- DEPENDS ON: 1682, 202, 22, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Activity>(?X) :- <http://dbpedia.org/ontology/Sport>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28182 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28181 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28182);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Activity>(?X) :- <http://dbpedia.org/ontology/equipment>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28182 FROM "__triples" t0 WHERE t0.p = 26684 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28182);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Activity>(?X) :- <http://dbpedia.org/ontology/Game>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28182 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26503 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28182);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Activity_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Activity_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28182;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Activity_delta_old" ON "dbrdf_Activity_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Activity_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Activity$delta_new>(?Y) :- <http://dbpedia.org/ontology/Activity$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Activity_delta_new"(s) SELECT t1.o FROM "dbrdf_Activity_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28182);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28182 FROM "dbrdf_Activity_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Activity_delta_old";
        INSERT INTO "dbrdf_Activity_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Activity_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Activity_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1684
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_rival_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_rival_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28183;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_rival_delta_old" ON "dbrdf_rival_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_rival_delta_old" ON "dbrdf_rival_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_rival_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/rival$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/rival$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_rival_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_rival_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28183 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/rival$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/rival$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_rival_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_rival_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28183 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28183, t0.o FROM "dbrdf_rival_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_rival_delta_old";
        INSERT INTO "dbrdf_rival_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_rival_delta_new" t0;
        TRUNCATE TABLE "dbrdf_rival_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1685
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_recordLabel_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_recordLabel_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28184;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_recordLabel_delta_old" ON "dbrdf_recordLabel_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_recordLabel_delta_old" ON "dbrdf_recordLabel_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_recordLabel_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/recordLabel$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/recordLabel$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_recordLabel_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_recordLabel_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28184 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/recordLabel$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/recordLabel$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_recordLabel_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_recordLabel_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28184 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28184, t0.o FROM "dbrdf_recordLabel_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_recordLabel_delta_old";
        INSERT INTO "dbrdf_recordLabel_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_recordLabel_delta_new" t0;
        TRUNCATE TABLE "dbrdf_recordLabel_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1686
    ---- DEPENDS ON: 1685, 1347, 600, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/RecordLabel>(?X1) :- <http://dbpedia.org/ontology/recordLabel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28185 FROM "__triples" t0 WHERE t0.p = 28184 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28185);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/RecordLabel>(?X1) :- <http://dbpedia.org/ontology/distributingLabel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28185 FROM "__triples" t0 WHERE t0.p = 27837 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28185);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/RecordLabel>(?X) :- <http://dbpedia.org/ontology/distributingCompany>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28185 FROM "__triples" t0 WHERE t0.p = 27084 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28185);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/RecordLabel>(?X) :- <http://dbpedia.org/ontology/distributingLabel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28185 FROM "__triples" t0 WHERE t0.p = 27837 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28185);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_RecordLabel_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_RecordLabel_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28185;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_RecordLabel_delta_old" ON "dbrdf_RecordLabel_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_RecordLabel_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/RecordLabel$delta_new>(?Y) :- <http://dbpedia.org/ontology/RecordLabel$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_RecordLabel_delta_new"(s) SELECT t1.o FROM "dbrdf_RecordLabel_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28185);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28185 FROM "dbrdf_RecordLabel_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_RecordLabel_delta_old";
        INSERT INTO "dbrdf_RecordLabel_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_RecordLabel_delta_new" t0;
        TRUNCATE TABLE "dbrdf_RecordLabel_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1687
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_actingHeadteacher_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_actingHeadteacher_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28186;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_actingHeadteacher_delta_old" ON "dbrdf_actingHeadteacher_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_actingHeadteacher_delta_old" ON "dbrdf_actingHeadteacher_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_actingHeadteacher_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/actingHeadteacher$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/actingHeadteacher$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_actingHeadteacher_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_actingHeadteacher_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28186 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/actingHeadteacher$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/actingHeadteacher$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_actingHeadteacher_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_actingHeadteacher_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28186 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28186, t0.o FROM "dbrdf_actingHeadteacher_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_actingHeadteacher_delta_old";
        INSERT INTO "dbrdf_actingHeadteacher_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_actingHeadteacher_delta_new" t0;
        TRUNCATE TABLE "dbrdf_actingHeadteacher_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1688
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_functionEndYear_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_functionEndYear_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28187;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_functionEndYear_delta_old" ON "dbrdf_functionEndYear_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_functionEndYear_delta_old" ON "dbrdf_functionEndYear_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_functionEndYear_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/functionEndYear$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/functionEndYear$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_functionEndYear_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_functionEndYear_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28187 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/functionEndYear$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/functionEndYear$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_functionEndYear_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_functionEndYear_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28187 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28187, t0.o FROM "dbrdf_functionEndYear_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_functionEndYear_delta_old";
        INSERT INTO "dbrdf_functionEndYear_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_functionEndYear_delta_new" t0;
        TRUNCATE TABLE "dbrdf_functionEndYear_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1689
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_callsignMeaning_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_callsignMeaning_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28188;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_callsignMeaning_delta_old" ON "dbrdf_callsignMeaning_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_callsignMeaning_delta_old" ON "dbrdf_callsignMeaning_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_callsignMeaning_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/callsignMeaning$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/callsignMeaning$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_callsignMeaning_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_callsignMeaning_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28188 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/callsignMeaning$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/callsignMeaning$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_callsignMeaning_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_callsignMeaning_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28188 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28188, t0.o FROM "dbrdf_callsignMeaning_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_callsignMeaning_delta_old";
        INSERT INTO "dbrdf_callsignMeaning_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_callsignMeaning_delta_new" t0;
        TRUNCATE TABLE "dbrdf_callsignMeaning_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1690
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_schoolCode_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_schoolCode_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28189;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_schoolCode_delta_old" ON "dbrdf_schoolCode_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_schoolCode_delta_old" ON "dbrdf_schoolCode_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_schoolCode_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/schoolCode$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/schoolCode$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_schoolCode_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_schoolCode_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28189 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/schoolCode$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/schoolCode$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_schoolCode_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_schoolCode_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28189 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28189, t0.o FROM "dbrdf_schoolCode_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_schoolCode_delta_old";
        INSERT INTO "dbrdf_schoolCode_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_schoolCode_delta_new" t0;
        TRUNCATE TABLE "dbrdf_schoolCode_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1691
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_numberOfFilms_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_numberOfFilms_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28190;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_numberOfFilms_delta_old" ON "dbrdf_numberOfFilms_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_numberOfFilms_delta_old" ON "dbrdf_numberOfFilms_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_numberOfFilms_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/numberOfFilms$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/numberOfFilms$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_numberOfFilms_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_numberOfFilms_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28190 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/numberOfFilms$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/numberOfFilms$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_numberOfFilms_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_numberOfFilms_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28190 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28190, t0.o FROM "dbrdf_numberOfFilms_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_numberOfFilms_delta_old";
        INSERT INTO "dbrdf_numberOfFilms_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_numberOfFilms_delta_new" t0;
        TRUNCATE TABLE "dbrdf_numberOfFilms_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1692
    ---- DEPENDS ON: 1691, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/AdultActor>(?X) :- <http://dbpedia.org/ontology/numberOfFilms>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28191 FROM "__triples" t0 WHERE t0.p = 28190 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28191);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_AdultActor_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_AdultActor_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28191;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_AdultActor_delta_old" ON "dbrdf_AdultActor_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_AdultActor_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/AdultActor$delta_new>(?Y) :- <http://dbpedia.org/ontology/AdultActor$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_AdultActor_delta_new"(s) SELECT t1.o FROM "dbrdf_AdultActor_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28191);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28191 FROM "dbrdf_AdultActor_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_AdultActor_delta_old";
        INSERT INTO "dbrdf_AdultActor_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_AdultActor_delta_new" t0;
        TRUNCATE TABLE "dbrdf_AdultActor_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1693
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_lastRace_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lastRace_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28192;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_lastRace_delta_old" ON "dbrdf_lastRace_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lastRace_delta_old" ON "dbrdf_lastRace_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lastRace_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/lastRace$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lastRace$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lastRace_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lastRace_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28192 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/lastRace$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lastRace$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lastRace_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lastRace_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28192 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28192, t0.o FROM "dbrdf_lastRace_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_lastRace_delta_old";
        INSERT INTO "dbrdf_lastRace_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lastRace_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lastRace_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1694
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_regime_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_regime_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28193;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_regime_delta_old" ON "dbrdf_regime_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_regime_delta_old" ON "dbrdf_regime_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_regime_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/regime$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/regime$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_regime_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_regime_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28193 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/regime$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/regime$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_regime_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_regime_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28193 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28193, t0.o FROM "dbrdf_regime_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_regime_delta_old";
        INSERT INTO "dbrdf_regime_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_regime_delta_new" t0;
        TRUNCATE TABLE "dbrdf_regime_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1695
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_timeshiftChannel_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_timeshiftChannel_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28194;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_timeshiftChannel_delta_old" ON "dbrdf_timeshiftChannel_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_timeshiftChannel_delta_old" ON "dbrdf_timeshiftChannel_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_timeshiftChannel_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/timeshiftChannel$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/timeshiftChannel$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_timeshiftChannel_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_timeshiftChannel_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28194 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/timeshiftChannel$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/timeshiftChannel$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_timeshiftChannel_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_timeshiftChannel_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28194 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28194, t0.o FROM "dbrdf_timeshiftChannel_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_timeshiftChannel_delta_old";
        INSERT INTO "dbrdf_timeshiftChannel_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_timeshiftChannel_delta_new" t0;
        TRUNCATE TABLE "dbrdf_timeshiftChannel_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1696
    ---- DEPENDS ON: 1695, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/TelevisionStation>(?X) :- <http://dbpedia.org/ontology/timeshiftChannel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28196 FROM "__triples" t0 WHERE t0.p = 28194 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28196);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_TelevisionStation_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_TelevisionStation_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28195;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_TelevisionStation_delta_old" ON "dbrdf_TelevisionStation_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_TelevisionStation_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_TelevisionStation_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_TelevisionStation_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28196;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_TelevisionStation_delta_old0" ON "dbrdf_TelevisionStation_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_TelevisionStation_delta_new0"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://schema.org/TelevisionStation$delta_new>(?X) :- <http://dbpedia.org/ontology/TelevisionStation$delta_old>(?X) .
        INSERT INTO "dbrdf_TelevisionStation_delta_new"(s) SELECT t0.s FROM "dbrdf_TelevisionStation_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28195);


        -- <http://schema.org/TelevisionStation$delta_new>(?Y) :- <http://schema.org/TelevisionStation$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_TelevisionStation_delta_new"(s) SELECT t1.o FROM "dbrdf_TelevisionStation_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28195);


        -- <http://dbpedia.org/ontology/TelevisionStation$delta_new>(?X) :- <http://schema.org/TelevisionStation$delta_old>(?X) .
        INSERT INTO "dbrdf_TelevisionStation_delta_new0"(s) SELECT t0.s FROM "dbrdf_TelevisionStation_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28196);


        -- <http://dbpedia.org/ontology/TelevisionStation$delta_new>(?Y) :- <http://dbpedia.org/ontology/TelevisionStation$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_TelevisionStation_delta_new0"(s) SELECT t1.o FROM "dbrdf_TelevisionStation_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28196);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28195 FROM "dbrdf_TelevisionStation_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_TelevisionStation_delta_old";
        INSERT INTO "dbrdf_TelevisionStation_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_TelevisionStation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_TelevisionStation_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28196 FROM "dbrdf_TelevisionStation_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_TelevisionStation_delta_old0";
        INSERT INTO "dbrdf_TelevisionStation_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_TelevisionStation_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_TelevisionStation_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1697
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_curator_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_curator_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28197;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_curator_delta_old" ON "dbrdf_curator_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_curator_delta_old" ON "dbrdf_curator_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_curator_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/curator$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/curator$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_curator_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_curator_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28197 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/curator$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/curator$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_curator_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_curator_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28197 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28197, t0.o FROM "dbrdf_curator_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_curator_delta_old";
        INSERT INTO "dbrdf_curator_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_curator_delta_new" t0;
        TRUNCATE TABLE "dbrdf_curator_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1698
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_afdbId_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_afdbId_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28198;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_afdbId_delta_old" ON "dbrdf_afdbId_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_afdbId_delta_old" ON "dbrdf_afdbId_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_afdbId_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/afdbId$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/afdbId$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_afdbId_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_afdbId_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28198 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/afdbId$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/afdbId$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_afdbId_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_afdbId_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28198 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28198, t0.o FROM "dbrdf_afdbId_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_afdbId_delta_old";
        INSERT INTO "dbrdf_afdbId_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_afdbId_delta_new" t0;
        TRUNCATE TABLE "dbrdf_afdbId_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1699
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_spike_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_spike_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28199;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_spike_delta_old" ON "dbrdf_spike_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_spike_delta_old" ON "dbrdf_spike_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_spike_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/spike$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/spike$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_spike_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_spike_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28199 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/spike$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/spike$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_spike_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_spike_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28199 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28199, t0.o FROM "dbrdf_spike_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_spike_delta_old";
        INSERT INTO "dbrdf_spike_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_spike_delta_new" t0;
        TRUNCATE TABLE "dbrdf_spike_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1700
    ---- DEPENDS ON: 1699, 1299, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/VolleyballPlayer>(?X) :- <http://dbpedia.org/ontology/spike>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28200 FROM "__triples" t0 WHERE t0.p = 28199 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28200);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/VolleyballPlayer>(?X) :- <http://dbpedia.org/ontology/block>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28200 FROM "__triples" t0 WHERE t0.p = 27789 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28200);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_VolleyballPlayer_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_VolleyballPlayer_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28200;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_VolleyballPlayer_delta_old" ON "dbrdf_VolleyballPlayer_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_VolleyballPlayer_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/VolleyballPlayer$delta_new>(?Y) :- <http://dbpedia.org/ontology/VolleyballPlayer$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_VolleyballPlayer_delta_new"(s) SELECT t1.o FROM "dbrdf_VolleyballPlayer_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28200);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28200 FROM "dbrdf_VolleyballPlayer_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_VolleyballPlayer_delta_old";
        INSERT INTO "dbrdf_VolleyballPlayer_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_VolleyballPlayer_delta_new" t0;
        TRUNCATE TABLE "dbrdf_VolleyballPlayer_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1701
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_races_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_races_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28201;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_races_delta_old" ON "dbrdf_races_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_races_delta_old" ON "dbrdf_races_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_races_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/races$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/races$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_races_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_races_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28201 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/races$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/races$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_races_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_races_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28201 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28201, t0.o FROM "dbrdf_races_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_races_delta_old";
        INSERT INTO "dbrdf_races_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_races_delta_new" t0;
        TRUNCATE TABLE "dbrdf_races_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1702
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_spouse_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_spouse_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28202;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_spouse_delta_old" ON "dbrdf_spouse_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_spouse_delta_old" ON "dbrdf_spouse_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_spouse_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/spouse$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/spouse$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_spouse_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_spouse_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28202 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/spouse$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/spouse$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_spouse_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_spouse_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28202 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28202, t0.o FROM "dbrdf_spouse_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_spouse_delta_old";
        INSERT INTO "dbrdf_spouse_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_spouse_delta_new" t0;
        TRUNCATE TABLE "dbrdf_spouse_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1703
    ---- DEPENDS ON: 706, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Hospital>(?X) :- <http://dbpedia.org/ontology/bedCount>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28203 FROM "__triples" t0 WHERE t0.p = 27190 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28203);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Hospital_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Hospital_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28203;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Hospital_delta_old" ON "dbrdf_Hospital_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Hospital_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Hospital_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Hospital_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28204;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Hospital_delta_old0" ON "dbrdf_Hospital_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Hospital_delta_new0"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Hospital$delta_new>(?X) :- <http://schema.org/Hospital$delta_old>(?X) .
        INSERT INTO "dbrdf_Hospital_delta_new"(s) SELECT t0.s FROM "dbrdf_Hospital_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28203);


        -- <http://dbpedia.org/ontology/Hospital$delta_new>(?Y) :- <http://dbpedia.org/ontology/Hospital$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Hospital_delta_new"(s) SELECT t1.o FROM "dbrdf_Hospital_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28203);


        -- <http://schema.org/Hospital$delta_new>(?X) :- <http://dbpedia.org/ontology/Hospital$delta_old>(?X) .
        INSERT INTO "dbrdf_Hospital_delta_new0"(s) SELECT t0.s FROM "dbrdf_Hospital_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28204);


        -- <http://schema.org/Hospital$delta_new>(?Y) :- <http://schema.org/Hospital$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Hospital_delta_new0"(s) SELECT t1.o FROM "dbrdf_Hospital_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28204);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28203 FROM "dbrdf_Hospital_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Hospital_delta_old";
        INSERT INTO "dbrdf_Hospital_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Hospital_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Hospital_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28204 FROM "dbrdf_Hospital_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Hospital_delta_old0";
        INSERT INTO "dbrdf_Hospital_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Hospital_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Hospital_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1704
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_aircraftElectronic_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_aircraftElectronic_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28205;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_aircraftElectronic_delta_old" ON "dbrdf_aircraftElectronic_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_aircraftElectronic_delta_old" ON "dbrdf_aircraftElectronic_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_aircraftElectronic_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/aircraftElectronic$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/aircraftElectronic$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_aircraftElectronic_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_aircraftElectronic_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28205 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/aircraftElectronic$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/aircraftElectronic$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_aircraftElectronic_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_aircraftElectronic_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28205 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28205, t0.o FROM "dbrdf_aircraftElectronic_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_aircraftElectronic_delta_old";
        INSERT INTO "dbrdf_aircraftElectronic_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_aircraftElectronic_delta_new" t0;
        TRUNCATE TABLE "dbrdf_aircraftElectronic_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1705
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_orbitalPeriod_delta_old1"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_orbitalPeriod_delta_old1"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28206;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_orbitalPeriod_delta_old1" ON "dbrdf_orbitalPeriod_delta_old1"(s, o); CREATE INDEX "IDX_1_dbrdf_orbitalPeriod_delta_old1" ON "dbrdf_orbitalPeriod_delta_old1"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_orbitalPeriod_delta_new1"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Galaxy/orbitalPeriod$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/Galaxy/orbitalPeriod$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_orbitalPeriod_delta_new1"(s, o) SELECT t1.o, t0.o FROM "dbrdf_orbitalPeriod_delta_old1" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28206 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/Galaxy/orbitalPeriod$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/Galaxy/orbitalPeriod$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_orbitalPeriod_delta_new1"(s, o) SELECT t0.s, t1.o FROM "dbrdf_orbitalPeriod_delta_old1" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28206 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28206, t0.o FROM "dbrdf_orbitalPeriod_delta_new1" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_orbitalPeriod_delta_old1";
        INSERT INTO "dbrdf_orbitalPeriod_delta_old1"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_orbitalPeriod_delta_new1" t0;
        TRUNCATE TABLE "dbrdf_orbitalPeriod_delta_new1";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1706
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_alpsGroup_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_alpsGroup_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28207;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_alpsGroup_delta_old" ON "dbrdf_alpsGroup_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_alpsGroup_delta_old" ON "dbrdf_alpsGroup_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_alpsGroup_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/alpsGroup$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/alpsGroup$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_alpsGroup_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_alpsGroup_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28207 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/alpsGroup$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/alpsGroup$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_alpsGroup_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_alpsGroup_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28207 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28207, t0.o FROM "dbrdf_alpsGroup_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_alpsGroup_delta_old";
        INSERT INTO "dbrdf_alpsGroup_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_alpsGroup_delta_new" t0;
        TRUNCATE TABLE "dbrdf_alpsGroup_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1707
    ---- DEPENDS ON: 1706, 1544, 1423, 1361, 1304, 1043, 891, 266, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/MountainRange>(?X1) :- <http://dbpedia.org/ontology/alpsGroup>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28208 FROM "__triples" t0 WHERE t0.p = 28207 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28208);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/MountainRange>(?X1) :- <http://dbpedia.org/ontology/alpsSubsection>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28208 FROM "__triples" t0 WHERE t0.p = 28036 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28208);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/MountainRange>(?X1) :- <http://dbpedia.org/ontology/alpsSupergroup>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28208 FROM "__triples" t0 WHERE t0.p = 27913 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28208);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/MountainRange>(?X1) :- <http://dbpedia.org/ontology/alpsMainPart>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28208 FROM "__triples" t0 WHERE t0.p = 27851 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28208);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/MountainRange>(?X1) :- <http://dbpedia.org/ontology/alpsMajorSector>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28208 FROM "__triples" t0 WHERE t0.p = 27794 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28208);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/MountainRange>(?X1) :- <http://dbpedia.org/ontology/alpsSubgroup>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28208 FROM "__triples" t0 WHERE t0.p = 27530 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28208);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/MountainRange>(?X1) :- <http://dbpedia.org/ontology/mountainRange>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28208 FROM "__triples" t0 WHERE t0.p = 27378 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28208);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/MountainRange>(?X1) :- <http://dbpedia.org/ontology/alpsSection>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28208 FROM "__triples" t0 WHERE t0.p = 26748 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28208);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_MountainRange_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_MountainRange_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28208;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_MountainRange_delta_old" ON "dbrdf_MountainRange_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_MountainRange_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/MountainRange$delta_new>(?Y) :- <http://dbpedia.org/ontology/MountainRange$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_MountainRange_delta_new"(s) SELECT t1.o FROM "dbrdf_MountainRange_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28208);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28208 FROM "dbrdf_MountainRange_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_MountainRange_delta_old";
        INSERT INTO "dbrdf_MountainRange_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_MountainRange_delta_new" t0;
        TRUNCATE TABLE "dbrdf_MountainRange_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1708
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_draftTeam_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_draftTeam_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28209;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_draftTeam_delta_old" ON "dbrdf_draftTeam_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_draftTeam_delta_old" ON "dbrdf_draftTeam_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_draftTeam_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/draftTeam$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/draftTeam$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_draftTeam_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_draftTeam_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28209 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/draftTeam$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/draftTeam$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_draftTeam_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_draftTeam_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28209 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28209, t0.o FROM "dbrdf_draftTeam_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_draftTeam_delta_old";
        INSERT INTO "dbrdf_draftTeam_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_draftTeam_delta_new" t0;
        TRUNCATE TABLE "dbrdf_draftTeam_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1709
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_perCapitaIncome_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_perCapitaIncome_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28210;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_perCapitaIncome_delta_old" ON "dbrdf_perCapitaIncome_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_perCapitaIncome_delta_old" ON "dbrdf_perCapitaIncome_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_perCapitaIncome_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/perCapitaIncome$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/perCapitaIncome$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_perCapitaIncome_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_perCapitaIncome_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28210 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/perCapitaIncome$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/perCapitaIncome$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_perCapitaIncome_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_perCapitaIncome_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28210 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28210, t0.o FROM "dbrdf_perCapitaIncome_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_perCapitaIncome_delta_old";
        INSERT INTO "dbrdf_perCapitaIncome_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_perCapitaIncome_delta_new" t0;
        TRUNCATE TABLE "dbrdf_perCapitaIncome_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1710
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_office_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_office_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28211;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_office_delta_old" ON "dbrdf_office_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_office_delta_old" ON "dbrdf_office_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_office_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/office$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/office$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_office_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_office_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28211 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/office$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/office$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_office_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_office_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28211 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28211, t0.o FROM "dbrdf_office_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_office_delta_old";
        INSERT INTO "dbrdf_office_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_office_delta_new" t0;
        TRUNCATE TABLE "dbrdf_office_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1711
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_leftChild_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_leftChild_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28212;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_leftChild_delta_old" ON "dbrdf_leftChild_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_leftChild_delta_old" ON "dbrdf_leftChild_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_leftChild_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/leftChild$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/leftChild$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_leftChild_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_leftChild_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28212 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/leftChild$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/leftChild$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_leftChild_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_leftChild_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28212 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28212, t0.o FROM "dbrdf_leftChild_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_leftChild_delta_old";
        INSERT INTO "dbrdf_leftChild_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_leftChild_delta_new" t0;
        TRUNCATE TABLE "dbrdf_leftChild_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1712
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_conservationStatus_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_conservationStatus_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28213;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_conservationStatus_delta_old" ON "dbrdf_conservationStatus_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_conservationStatus_delta_old" ON "dbrdf_conservationStatus_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_conservationStatus_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/conservationStatus$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/conservationStatus$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_conservationStatus_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_conservationStatus_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28213 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/conservationStatus$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/conservationStatus$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_conservationStatus_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_conservationStatus_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28213 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28213, t0.o FROM "dbrdf_conservationStatus_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_conservationStatus_delta_old";
        INSERT INTO "dbrdf_conservationStatus_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_conservationStatus_delta_new" t0;
        TRUNCATE TABLE "dbrdf_conservationStatus_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1713
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_dateAct_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_dateAct_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28214;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_dateAct_delta_old" ON "dbrdf_dateAct_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_dateAct_delta_old" ON "dbrdf_dateAct_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_dateAct_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/dateAct$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/dateAct$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_dateAct_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_dateAct_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28214 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/dateAct$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/dateAct$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_dateAct_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_dateAct_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28214 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28214, t0.o FROM "dbrdf_dateAct_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_dateAct_delta_old";
        INSERT INTO "dbrdf_dateAct_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_dateAct_delta_new" t0;
        TRUNCATE TABLE "dbrdf_dateAct_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1714
    ---- DEPENDS ON: 1713, 1558, 1489, 1466, 1373, 1340, 1288, 1218, 1127, 1020, 974, 927, 799, 700, 693, 683, 644, 526, 9, 3, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/Canal/maximumBoatLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 28050 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/principalEngineer>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27981 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/startPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27957 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/originalMaximumBoatLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27863 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/hasJunctionWith>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27830 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/dateCompleted>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27614 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/dateUse>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27507 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/Canal/maximumBoatBeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27414 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/dateExtended>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27286 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/originalStartPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27184 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/endPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27177 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/dateConstruction>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27167 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/originalEndPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27128 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/maximumBoatBeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27777 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/originalMaximumBoatBeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27707 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/maximumBoatLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27009 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/dateAct>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 28214 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X1) :- <http://dbpedia.org/ontology/hasJunctionWith>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27830 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/dateClosed>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27461 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/Canal/originalMaximumBoatLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 26490 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Canal>(?X) :- <http://dbpedia.org/ontology/Canal/originalMaximumBoatBeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 26484 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Canal_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Canal_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28215;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Canal_delta_old" ON "dbrdf_Canal_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Canal_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Canal_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Canal_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28216;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Canal_delta_old0" ON "dbrdf_Canal_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Canal_delta_new0"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://schema.org/Canal$delta_new>(?X) :- <http://dbpedia.org/ontology/Canal$delta_old>(?X) .
        INSERT INTO "dbrdf_Canal_delta_new"(s) SELECT t0.s FROM "dbrdf_Canal_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28215);


        -- <http://schema.org/Canal$delta_new>(?Y) :- <http://schema.org/Canal$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Canal_delta_new"(s) SELECT t1.o FROM "dbrdf_Canal_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28215);


        -- <http://dbpedia.org/ontology/Canal$delta_new>(?X) :- <http://schema.org/Canal$delta_old>(?X) .
        INSERT INTO "dbrdf_Canal_delta_new0"(s) SELECT t0.s FROM "dbrdf_Canal_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28216);


        -- <http://dbpedia.org/ontology/Canal$delta_new>(?Y) :- <http://dbpedia.org/ontology/Canal$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Canal_delta_new0"(s) SELECT t1.o FROM "dbrdf_Canal_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28216);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28215 FROM "dbrdf_Canal_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Canal_delta_old";
        INSERT INTO "dbrdf_Canal_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Canal_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Canal_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "dbrdf_Canal_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Canal_delta_old0";
        INSERT INTO "dbrdf_Canal_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Canal_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Canal_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1715
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_introductionDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_introductionDate_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28217;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_introductionDate_delta_old" ON "dbrdf_introductionDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_introductionDate_delta_old" ON "dbrdf_introductionDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_introductionDate_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/introductionDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/introductionDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_introductionDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_introductionDate_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28217 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/introductionDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/introductionDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_introductionDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_introductionDate_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28217 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28217, t0.o FROM "dbrdf_introductionDate_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_introductionDate_delta_old";
        INSERT INTO "dbrdf_introductionDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_introductionDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_introductionDate_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1716
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_poleDriverCountry_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_poleDriverCountry_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28218;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_poleDriverCountry_delta_old" ON "dbrdf_poleDriverCountry_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_poleDriverCountry_delta_old" ON "dbrdf_poleDriverCountry_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_poleDriverCountry_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/poleDriverCountry$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/poleDriverCountry$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_poleDriverCountry_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_poleDriverCountry_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28218 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/poleDriverCountry$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/poleDriverCountry$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_poleDriverCountry_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_poleDriverCountry_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28218 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28218, t0.o FROM "dbrdf_poleDriverCountry_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_poleDriverCountry_delta_old";
        INSERT INTO "dbrdf_poleDriverCountry_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_poleDriverCountry_delta_new" t0;
        TRUNCATE TABLE "dbrdf_poleDriverCountry_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1717
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_month_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_month_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28219;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_month_delta_old" ON "dbrdf_month_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_month_delta_old" ON "dbrdf_month_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_month_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/month$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/month$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_month_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_month_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28219 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/month$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/month$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_month_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_month_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28219 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28219, t0.o FROM "dbrdf_month_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_month_delta_old";
        INSERT INTO "dbrdf_month_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_month_delta_new" t0;
        TRUNCATE TABLE "dbrdf_month_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1718
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_foundationPlace_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_foundationPlace_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28220;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_foundationPlace_delta_old" ON "dbrdf_foundationPlace_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_foundationPlace_delta_old" ON "dbrdf_foundationPlace_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_foundationPlace_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/foundationPlace$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/foundationPlace$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_foundationPlace_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_foundationPlace_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28220 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/foundationPlace$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/foundationPlace$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_foundationPlace_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_foundationPlace_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28220 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28220, t0.o FROM "dbrdf_foundationPlace_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_foundationPlace_delta_old";
        INSERT INTO "dbrdf_foundationPlace_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_foundationPlace_delta_new" t0;
        TRUNCATE TABLE "dbrdf_foundationPlace_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1719
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_overallRecord_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_overallRecord_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28221;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_overallRecord_delta_old" ON "dbrdf_overallRecord_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_overallRecord_delta_old" ON "dbrdf_overallRecord_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_overallRecord_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/overallRecord$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/overallRecord$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_overallRecord_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_overallRecord_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28221 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/overallRecord$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/overallRecord$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_overallRecord_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_overallRecord_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28221 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28221, t0.o FROM "dbrdf_overallRecord_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_overallRecord_delta_old";
        INSERT INTO "dbrdf_overallRecord_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_overallRecord_delta_new" t0;
        TRUNCATE TABLE "dbrdf_overallRecord_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1720
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_bridgeCarries_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_bridgeCarries_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28222;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_bridgeCarries_delta_old" ON "dbrdf_bridgeCarries_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_bridgeCarries_delta_old" ON "dbrdf_bridgeCarries_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_bridgeCarries_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/bridgeCarries$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/bridgeCarries$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_bridgeCarries_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_bridgeCarries_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28222 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/bridgeCarries$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/bridgeCarries$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_bridgeCarries_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_bridgeCarries_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28222 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28222, t0.o FROM "dbrdf_bridgeCarries_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_bridgeCarries_delta_old";
        INSERT INTO "dbrdf_bridgeCarries_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_bridgeCarries_delta_new" t0;
        TRUNCATE TABLE "dbrdf_bridgeCarries_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1721
    ---- DEPENDS ON: 1720, 1508, 751, 648, 578, 542, 389, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Bridge>(?X) :- <http://dbpedia.org/ontology/bridgeCarries>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 28222 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28223);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Bridge>(?X) :- <http://dbpedia.org/ontology/loadLimit>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 27025 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28223);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Bridge>(?X) :- <http://dbpedia.org/ontology/mainspan>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 27132 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28223);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Bridge>(?X) :- <http://dbpedia.org/ontology/unitedStatesNationalBridgeId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 28000 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28223);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Bridge>(?X) :- <http://dbpedia.org/ontology/numberOfSpans>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 27235 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28223);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Bridge>(?X) :- <http://dbpedia.org/ontology/numberOfPiersInWater>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 26872 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28223);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Bridge>(?X) :- <http://dbpedia.org/ontology/crosses>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 27062 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28223);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Bridge_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Bridge_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28223;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Bridge_delta_old" ON "dbrdf_Bridge_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Bridge_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Bridge$delta_new>(?Y) :- <http://dbpedia.org/ontology/Bridge$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Bridge_delta_new"(s) SELECT t1.o FROM "dbrdf_Bridge_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28223);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28223 FROM "dbrdf_Bridge_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Bridge_delta_old";
        INSERT INTO "dbrdf_Bridge_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Bridge_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Bridge_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1722
    ---- DEPENDS ON: 1537, 1401, 978, 442, 424, 164, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Protein>(?X) :- <http://dbpedia.org/ontology/arm>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28224 FROM "__triples" t0 WHERE t0.p = 27891 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28224);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Protein>(?X) :- <http://dbpedia.org/ontology/refseq>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28224 FROM "__triples" t0 WHERE t0.p = 28029 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28224);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Protein>(?X) :- <http://dbpedia.org/ontology/band>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28224 FROM "__triples" t0 WHERE t0.p = 26925 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28224);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Protein>(?X) :- <http://dbpedia.org/ontology/locusSupplementaryData>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28224 FROM "__triples" t0 WHERE t0.p = 26907 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28224);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Protein>(?X) :- <http://dbpedia.org/ontology/pdb>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28224 FROM "__triples" t0 WHERE t0.p = 26646 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28224);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Protein>(?X) :- <http://dbpedia.org/ontology/chromosome>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28224 FROM "__triples" t0 WHERE t0.p = 27465 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28224);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Protein_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Protein_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28224;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Protein_delta_old" ON "dbrdf_Protein_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Protein_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Protein$delta_new>(?Y) :- <http://dbpedia.org/ontology/Protein$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Protein_delta_new"(s) SELECT t1.o FROM "dbrdf_Protein_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28224);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28224 FROM "dbrdf_Protein_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Protein_delta_old";
        INSERT INTO "dbrdf_Protein_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Protein_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Protein_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1723
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_trainerClub_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_trainerClub_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28225;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_trainerClub_delta_old" ON "dbrdf_trainerClub_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_trainerClub_delta_old" ON "dbrdf_trainerClub_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_trainerClub_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/trainerClub$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/trainerClub$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_trainerClub_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_trainerClub_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28225 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/trainerClub$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/trainerClub$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_trainerClub_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_trainerClub_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28225 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28225, t0.o FROM "dbrdf_trainerClub_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_trainerClub_delta_old";
        INSERT INTO "dbrdf_trainerClub_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_trainerClub_delta_new" t0;
        TRUNCATE TABLE "dbrdf_trainerClub_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1724
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_creatorOfDish_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_creatorOfDish_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28226;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_creatorOfDish_delta_old" ON "dbrdf_creatorOfDish_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_creatorOfDish_delta_old" ON "dbrdf_creatorOfDish_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_creatorOfDish_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/creatorOfDish$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/creatorOfDish$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_creatorOfDish_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_creatorOfDish_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28226 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/creatorOfDish$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/creatorOfDish$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_creatorOfDish_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_creatorOfDish_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28226 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28226, t0.o FROM "dbrdf_creatorOfDish_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_creatorOfDish_delta_old";
        INSERT INTO "dbrdf_creatorOfDish_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_creatorOfDish_delta_new" t0;
        TRUNCATE TABLE "dbrdf_creatorOfDish_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1725
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_buildingEndDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_buildingEndDate_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28227;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_buildingEndDate_delta_old" ON "dbrdf_buildingEndDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_buildingEndDate_delta_old" ON "dbrdf_buildingEndDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_buildingEndDate_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/buildingEndDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/buildingEndDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_buildingEndDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_buildingEndDate_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28227 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/buildingEndDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/buildingEndDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_buildingEndDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_buildingEndDate_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28227 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28227, t0.o FROM "dbrdf_buildingEndDate_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_buildingEndDate_delta_old";
        INSERT INTO "dbrdf_buildingEndDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_buildingEndDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_buildingEndDate_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1726
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_lowerEarthOrbitPayload_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lowerEarthOrbitPayload_delta_old0"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28228;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_lowerEarthOrbitPayload_delta_old0" ON "dbrdf_lowerEarthOrbitPayload_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_lowerEarthOrbitPayload_delta_old0" ON "dbrdf_lowerEarthOrbitPayload_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lowerEarthOrbitPayload_delta_new0"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/lowerEarthOrbitPayload$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lowerEarthOrbitPayload$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lowerEarthOrbitPayload_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lowerEarthOrbitPayload_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28228 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/lowerEarthOrbitPayload$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lowerEarthOrbitPayload$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lowerEarthOrbitPayload_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lowerEarthOrbitPayload_delta_old0" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28228 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28228, t0.o FROM "dbrdf_lowerEarthOrbitPayload_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_lowerEarthOrbitPayload_delta_old0";
        INSERT INTO "dbrdf_lowerEarthOrbitPayload_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lowerEarthOrbitPayload_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_lowerEarthOrbitPayload_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1727
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_thirdDriverCountry_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_thirdDriverCountry_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28229;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_thirdDriverCountry_delta_old" ON "dbrdf_thirdDriverCountry_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_thirdDriverCountry_delta_old" ON "dbrdf_thirdDriverCountry_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_thirdDriverCountry_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/thirdDriverCountry$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/thirdDriverCountry$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_thirdDriverCountry_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_thirdDriverCountry_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28229 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/thirdDriverCountry$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/thirdDriverCountry$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_thirdDriverCountry_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_thirdDriverCountry_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28229 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28229, t0.o FROM "dbrdf_thirdDriverCountry_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_thirdDriverCountry_delta_old";
        INSERT INTO "dbrdf_thirdDriverCountry_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_thirdDriverCountry_delta_new" t0;
        TRUNCATE TABLE "dbrdf_thirdDriverCountry_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1728
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_fcRuns_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_fcRuns_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28230;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_fcRuns_delta_old" ON "dbrdf_fcRuns_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_fcRuns_delta_old" ON "dbrdf_fcRuns_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_fcRuns_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/fcRuns$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/fcRuns$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_fcRuns_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_fcRuns_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28230 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/fcRuns$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/fcRuns$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_fcRuns_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_fcRuns_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28230 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28230, t0.o FROM "dbrdf_fcRuns_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_fcRuns_delta_old";
        INSERT INTO "dbrdf_fcRuns_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_fcRuns_delta_new" t0;
        TRUNCATE TABLE "dbrdf_fcRuns_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1729
    ---- DEPENDS ON: 1728, 307, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Cricketer>(?X) :- <http://dbpedia.org/ontology/fcRuns>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28231 FROM "__triples" t0 WHERE t0.p = 28230 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28231);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Cricketer>(?X) :- <http://dbpedia.org/ontology/fc>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28231 FROM "__triples" t0 WHERE t0.p = 26789 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28231);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Cricketer_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Cricketer_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28231;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Cricketer_delta_old" ON "dbrdf_Cricketer_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Cricketer_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Cricketer$delta_new>(?Y) :- <http://dbpedia.org/ontology/Cricketer$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Cricketer_delta_new"(s) SELECT t1.o FROM "dbrdf_Cricketer_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28231);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28231 FROM "dbrdf_Cricketer_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Cricketer_delta_old";
        INSERT INTO "dbrdf_Cricketer_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Cricketer_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Cricketer_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1730
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_child_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_child_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28232;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_child_delta_old" ON "dbrdf_child_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_child_delta_old" ON "dbrdf_child_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_child_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/child$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/child$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_child_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_child_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28232 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/child$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/child$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_child_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_child_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28232 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28232, t0.o FROM "dbrdf_child_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_child_delta_old";
        INSERT INTO "dbrdf_child_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_child_delta_new" t0;
        TRUNCATE TABLE "dbrdf_child_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1731
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_headChef_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_headChef_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28233;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_headChef_delta_old" ON "dbrdf_headChef_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_headChef_delta_old" ON "dbrdf_headChef_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_headChef_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/headChef$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/headChef$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_headChef_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_headChef_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28233 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/headChef$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/headChef$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_headChef_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_headChef_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28233 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28233, t0.o FROM "dbrdf_headChef_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_headChef_delta_old";
        INSERT INTO "dbrdf_headChef_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_headChef_delta_new" t0;
        TRUNCATE TABLE "dbrdf_headChef_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1732
    ---- DEPENDS ON: 1731, 1262, 614, 544, 211, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Restaurant>(?X) :- <http://dbpedia.org/ontology/cuisine>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28235 FROM "__triples" t0 WHERE t0.p = 27027 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28235);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Restaurant>(?X) :- <http://dbpedia.org/ontology/headChef>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28235 FROM "__triples" t0 WHERE t0.p = 28233 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28235);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Restaurant>(?X) :- <http://dbpedia.org/ontology/dressCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28235 FROM "__triples" t0 WHERE t0.p = 27751 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28235);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Restaurant>(?X) :- <http://dbpedia.org/ontology/reservations>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28235 FROM "__triples" t0 WHERE t0.p = 27098 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28235);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Restaurant>(?X) :- <http://dbpedia.org/ontology/chef>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28235 FROM "__triples" t0 WHERE t0.p = 26693 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28235);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Restaurant_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Restaurant_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28234;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Restaurant_delta_old" ON "dbrdf_Restaurant_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Restaurant_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Restaurant_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Restaurant_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28235;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Restaurant_delta_old0" ON "dbrdf_Restaurant_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Restaurant_delta_new0"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://schema.org/Restaurant$delta_new>(?X) :- <http://dbpedia.org/ontology/Restaurant$delta_old>(?X) .
        INSERT INTO "dbrdf_Restaurant_delta_new"(s) SELECT t0.s FROM "dbrdf_Restaurant_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28234);


        -- <http://schema.org/Restaurant$delta_new>(?Y) :- <http://schema.org/Restaurant$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Restaurant_delta_new"(s) SELECT t1.o FROM "dbrdf_Restaurant_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28234);


        -- <http://dbpedia.org/ontology/Restaurant$delta_new>(?X) :- <http://schema.org/Restaurant$delta_old>(?X) .
        INSERT INTO "dbrdf_Restaurant_delta_new0"(s) SELECT t0.s FROM "dbrdf_Restaurant_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28235);


        -- <http://dbpedia.org/ontology/Restaurant$delta_new>(?Y) :- <http://dbpedia.org/ontology/Restaurant$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Restaurant_delta_new0"(s) SELECT t1.o FROM "dbrdf_Restaurant_delta_old0" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28235);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28234 FROM "dbrdf_Restaurant_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Restaurant_delta_old";
        INSERT INTO "dbrdf_Restaurant_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Restaurant_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Restaurant_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28235 FROM "dbrdf_Restaurant_delta_new0" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Restaurant_delta_old0";
        INSERT INTO "dbrdf_Restaurant_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Restaurant_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Restaurant_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1733
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_elementAbove_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_elementAbove_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28236;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_elementAbove_delta_old" ON "dbrdf_elementAbove_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_elementAbove_delta_old" ON "dbrdf_elementAbove_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_elementAbove_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/elementAbove$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/elementAbove$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_elementAbove_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_elementAbove_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28236 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/elementAbove$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/elementAbove$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_elementAbove_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_elementAbove_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28236 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28236, t0.o FROM "dbrdf_elementAbove_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_elementAbove_delta_old";
        INSERT INTO "dbrdf_elementAbove_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_elementAbove_delta_new" t0;
        TRUNCATE TABLE "dbrdf_elementAbove_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1734
    ---- DEPENDS ON: 1733, 1425, 1378, 423, 293, 113, 1165, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/ChemicalSubstance>(?X1) :- <http://dbpedia.org/ontology/elementAbove>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28237 FROM "__triples" t0 WHERE t0.p = 28236 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28237);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/ChemicalSubstance>(?X) :- <http://dbpedia.org/ontology/Mineral>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28237 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27915 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28237);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/ChemicalSubstance>(?X) :- <http://dbpedia.org/ontology/ChemicalElement>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28237 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27868 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28237);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/ChemicalSubstance>(?X) :- <http://dbpedia.org/ontology/ChemicalSubstance/meltingPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28237 FROM "__triples" t0 WHERE t0.p = 26906 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28237);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/ChemicalSubstance>(?X) :- <http://dbpedia.org/ontology/ChemicalSubstance/boilingPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28237 FROM "__triples" t0 WHERE t0.p = 26775 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28237);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/ChemicalSubstance>(?X) :- <http://dbpedia.org/ontology/ChemicalSubstance/density>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28237 FROM "__triples" t0 WHERE t0.p = 26595 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28237);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/ChemicalSubstance>(?X) :- <http://dbpedia.org/ontology/ChemicalCompound>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28237 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27652 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28237);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_ChemicalSubstance_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_ChemicalSubstance_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28237;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_ChemicalSubstance_delta_old" ON "dbrdf_ChemicalSubstance_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_ChemicalSubstance_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/ChemicalSubstance$delta_new>(?Y) :- <http://dbpedia.org/ontology/ChemicalSubstance$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_ChemicalSubstance_delta_new"(s) SELECT t1.o FROM "dbrdf_ChemicalSubstance_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28237);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28237 FROM "dbrdf_ChemicalSubstance_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_ChemicalSubstance_delta_old";
        INSERT INTO "dbrdf_ChemicalSubstance_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_ChemicalSubstance_delta_new" t0;
        TRUNCATE TABLE "dbrdf_ChemicalSubstance_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1735
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_musicalBand_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_musicalBand_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28238;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_musicalBand_delta_old" ON "dbrdf_musicalBand_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_musicalBand_delta_old" ON "dbrdf_musicalBand_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_musicalBand_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/musicalBand$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/musicalBand$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_musicalBand_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_musicalBand_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28238 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/musicalBand$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/musicalBand$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_musicalBand_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_musicalBand_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28238 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28238, t0.o FROM "dbrdf_musicalBand_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_musicalBand_delta_old";
        INSERT INTO "dbrdf_musicalBand_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_musicalBand_delta_new" t0;
        TRUNCATE TABLE "dbrdf_musicalBand_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1736
    ---- DEPENDS ON: 1735, 1526, 979, 677, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Band>(?X) :- <http://dbpedia.org/ontology/formerBandMember>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28239 FROM "__triples" t0 WHERE t0.p = 28018 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28239);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Band>(?X1) :- <http://dbpedia.org/ontology/associatedBand>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28239 FROM "__triples" t0 WHERE t0.p = 27466 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28239);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Band>(?X1) :- <http://dbpedia.org/ontology/musicalBand>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28239 FROM "__triples" t0 WHERE t0.p = 28238 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28239);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Band>(?X) :- <http://dbpedia.org/ontology/bandMember>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28239 FROM "__triples" t0 WHERE t0.p = 27161 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28239);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Band_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Band_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28239;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Band_delta_old" ON "dbrdf_Band_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Band_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Band$delta_new>(?Y) :- <http://dbpedia.org/ontology/Band$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Band_delta_new"(s) SELECT t1.o FROM "dbrdf_Band_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28239);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28239 FROM "dbrdf_Band_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Band_delta_old";
        INSERT INTO "dbrdf_Band_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Band_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Band_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1737
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_statisticValue_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_statisticValue_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28240;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_statisticValue_delta_old" ON "dbrdf_statisticValue_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_statisticValue_delta_old" ON "dbrdf_statisticValue_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_statisticValue_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/statisticValue$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/statisticValue$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_statisticValue_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_statisticValue_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28240 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/statisticValue$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/statisticValue$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_statisticValue_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_statisticValue_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28240 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28240, t0.o FROM "dbrdf_statisticValue_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_statisticValue_delta_old";
        INSERT INTO "dbrdf_statisticValue_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_statisticValue_delta_new" t0;
        TRUNCATE TABLE "dbrdf_statisticValue_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1738
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_placeOfBurial_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_placeOfBurial_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28241;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_placeOfBurial_delta_old" ON "dbrdf_placeOfBurial_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_placeOfBurial_delta_old" ON "dbrdf_placeOfBurial_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_placeOfBurial_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/placeOfBurial$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/placeOfBurial$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_placeOfBurial_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_placeOfBurial_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28241 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/placeOfBurial$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/placeOfBurial$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_placeOfBurial_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_placeOfBurial_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28241 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28241, t0.o FROM "dbrdf_placeOfBurial_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_placeOfBurial_delta_old";
        INSERT INTO "dbrdf_placeOfBurial_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_placeOfBurial_delta_new" t0;
        TRUNCATE TABLE "dbrdf_placeOfBurial_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1739
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_density_delta_old2"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_density_delta_old2"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28242;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_density_delta_old2" ON "dbrdf_density_delta_old2"(s, o); CREATE INDEX "IDX_1_dbrdf_density_delta_old2" ON "dbrdf_density_delta_old2"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_density_delta_new2"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Galaxy/density$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/Galaxy/density$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_density_delta_new2"(s, o) SELECT t1.o, t0.o FROM "dbrdf_density_delta_old2" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28242 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/Galaxy/density$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/Galaxy/density$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_density_delta_new2"(s, o) SELECT t0.s, t1.o FROM "dbrdf_density_delta_old2" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28242 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28242, t0.o FROM "dbrdf_density_delta_new2" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_density_delta_old2";
        INSERT INTO "dbrdf_density_delta_old2"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_density_delta_new2" t0;
        TRUNCATE TABLE "dbrdf_density_delta_new2";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1740
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_soccerTournamentLastChampion_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_soccerTournamentLastChampion_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28243;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_soccerTournamentLastChampion_delta_old" ON "dbrdf_soccerTournamentLastChampion_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_soccerTournamentLastChampion_delta_old" ON "dbrdf_soccerTournamentLastChampion_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_soccerTournamentLastChampion_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/soccerTournamentLastChampion$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/soccerTournamentLastChampion$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_soccerTournamentLastChampion_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_soccerTournamentLastChampion_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28243 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/soccerTournamentLastChampion$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/soccerTournamentLastChampion$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_soccerTournamentLastChampion_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_soccerTournamentLastChampion_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28243 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28243, t0.o FROM "dbrdf_soccerTournamentLastChampion_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_soccerTournamentLastChampion_delta_old";
        INSERT INTO "dbrdf_soccerTournamentLastChampion_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_soccerTournamentLastChampion_delta_new" t0;
        TRUNCATE TABLE "dbrdf_soccerTournamentLastChampion_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1741
    ---- DEPENDS ON: 1740, 1175, 911, 878, 510, 432, 425, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X) :- <http://dbpedia.org/ontology/soccerTournamentLastChampion>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 28243 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X) :- <http://dbpedia.org/ontology/soccerTournamentTopScorer>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27663 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X) :- <http://dbpedia.org/ontology/soccerTournamentThisSeason>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27398 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X1) :- <http://dbpedia.org/ontology/soccerTournamentOpeningSeason>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27365 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X) :- <http://dbpedia.org/ontology/soccerTournamentOpeningSeason>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27365 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X) :- <http://dbpedia.org/ontology/soccerTournamentMostSteady>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 26993 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X) :- <http://dbpedia.org/ontology/soccerTournamentMostSuccesfull>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 26915 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X) :- <http://dbpedia.org/ontology/soccerTournamentClosingSeason>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 26908 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X1) :- <http://dbpedia.org/ontology/soccerTournamentClosingSeason>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28244 FROM "__triples" t0 WHERE t0.p = 26908 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/SoccerTournament>(?X1) :- <http://dbpedia.org/ontology/soccerTournamentThisSeason>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27398 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28244);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_SoccerTournament_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SoccerTournament_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28244;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SoccerTournament_delta_old" ON "dbrdf_SoccerTournament_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SoccerTournament_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/SoccerTournament$delta_new>(?Y) :- <http://dbpedia.org/ontology/SoccerTournament$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SoccerTournament_delta_new"(s) SELECT t1.o FROM "dbrdf_SoccerTournament_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28244);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "dbrdf_SoccerTournament_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_SoccerTournament_delta_old";
        INSERT INTO "dbrdf_SoccerTournament_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_SoccerTournament_delta_new" t0;
        TRUNCATE TABLE "dbrdf_SoccerTournament_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1742
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_oversight_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_oversight_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28245;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_oversight_delta_old" ON "dbrdf_oversight_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_oversight_delta_old" ON "dbrdf_oversight_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_oversight_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/oversight$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/oversight$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_oversight_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_oversight_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28245 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/oversight$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/oversight$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_oversight_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_oversight_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28245 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28245, t0.o FROM "dbrdf_oversight_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_oversight_delta_old";
        INSERT INTO "dbrdf_oversight_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_oversight_delta_new" t0;
        TRUNCATE TABLE "dbrdf_oversight_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1743
    ---- DEPENDS ON: 1637, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/SimilarAlbums>(?X0,?X2) :- <http://dbpedia.org/ontology/albumHasGenre>(?X0,?X1), <http://dbpedia.org/ontology/albumHasGenre>(?X2,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28246, t1.s FROM "__triples" t0, "__triples" t1 WHERE t0.o = t1.o AND t0.p = 28131 AND t1.p = 28131 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28246 AND ex.o = t1.s);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_SimilarAlbums_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SimilarAlbums_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28246;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SimilarAlbums_delta_old" ON "dbrdf_SimilarAlbums_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_SimilarAlbums_delta_old" ON "dbrdf_SimilarAlbums_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SimilarAlbums_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/SimilarAlbums$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/SimilarAlbums$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SimilarAlbums_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_SimilarAlbums_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28246 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/SimilarAlbums$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/SimilarAlbums$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_SimilarAlbums_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_SimilarAlbums_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28246 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28246, t0.o FROM "dbrdf_SimilarAlbums_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_SimilarAlbums_delta_old";
        INSERT INTO "dbrdf_SimilarAlbums_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_SimilarAlbums_delta_new" t0;
        TRUNCATE TABLE "dbrdf_SimilarAlbums_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1744
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_artist_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_artist_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28247;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_artist_delta_old" ON "dbrdf_artist_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_artist_delta_old" ON "dbrdf_artist_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_artist_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/artist$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/artist$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_artist_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_artist_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28247 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/artist$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/artist$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_artist_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_artist_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28247 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28247, t0.o FROM "dbrdf_artist_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_artist_delta_old";
        INSERT INTO "dbrdf_artist_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_artist_delta_new" t0;
        TRUNCATE TABLE "dbrdf_artist_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1745
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_omim_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_omim_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28248;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_omim_delta_old" ON "dbrdf_omim_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_omim_delta_old" ON "dbrdf_omim_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_omim_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/omim$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/omim$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_omim_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_omim_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28248 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/omim$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/omim$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_omim_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_omim_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28248 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28248, t0.o FROM "dbrdf_omim_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_omim_delta_old";
        INSERT INTO "dbrdf_omim_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_omim_delta_new" t0;
        TRUNCATE TABLE "dbrdf_omim_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1746
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_frequency_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_frequency_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28249;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_frequency_delta_old" ON "dbrdf_frequency_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_frequency_delta_old" ON "dbrdf_frequency_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_frequency_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/frequency$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/frequency$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_frequency_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_frequency_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28249 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/frequency$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/frequency$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_frequency_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_frequency_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28249 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28249, t0.o FROM "dbrdf_frequency_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_frequency_delta_old";
        INSERT INTO "dbrdf_frequency_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_frequency_delta_new" t0;
        TRUNCATE TABLE "dbrdf_frequency_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1747
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_ruralMunicipality_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_ruralMunicipality_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28250;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_ruralMunicipality_delta_old" ON "dbrdf_ruralMunicipality_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_ruralMunicipality_delta_old" ON "dbrdf_ruralMunicipality_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_ruralMunicipality_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/ruralMunicipality$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/ruralMunicipality$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_ruralMunicipality_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_ruralMunicipality_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28250 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/ruralMunicipality$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/ruralMunicipality$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_ruralMunicipality_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_ruralMunicipality_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28250 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28250, t0.o FROM "dbrdf_ruralMunicipality_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_ruralMunicipality_delta_old";
        INSERT INTO "dbrdf_ruralMunicipality_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_ruralMunicipality_delta_new" t0;
        TRUNCATE TABLE "dbrdf_ruralMunicipality_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1748
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_largestWin_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_largestWin_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28251;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_largestWin_delta_old" ON "dbrdf_largestWin_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_largestWin_delta_old" ON "dbrdf_largestWin_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_largestWin_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/largestWin$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/largestWin$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_largestWin_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_largestWin_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28251 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/largestWin$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/largestWin$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_largestWin_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_largestWin_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28251 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28251, t0.o FROM "dbrdf_largestWin_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_largestWin_delta_old";
        INSERT INTO "dbrdf_largestWin_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_largestWin_delta_new" t0;
        TRUNCATE TABLE "dbrdf_largestWin_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1749
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_mouthElevation_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_mouthElevation_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28252;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_mouthElevation_delta_old" ON "dbrdf_mouthElevation_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_mouthElevation_delta_old" ON "dbrdf_mouthElevation_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_mouthElevation_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/mouthElevation$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/mouthElevation$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_mouthElevation_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_mouthElevation_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28252 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/mouthElevation$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/mouthElevation$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_mouthElevation_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_mouthElevation_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28252 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28252, t0.o FROM "dbrdf_mouthElevation_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_mouthElevation_delta_old";
        INSERT INTO "dbrdf_mouthElevation_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_mouthElevation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_mouthElevation_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1750
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_capitalPlace_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_capitalPlace_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28253;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_capitalPlace_delta_old" ON "dbrdf_capitalPlace_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_capitalPlace_delta_old" ON "dbrdf_capitalPlace_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_capitalPlace_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/capitalPlace$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/capitalPlace$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_capitalPlace_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_capitalPlace_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28253 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/capitalPlace$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/capitalPlace$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_capitalPlace_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_capitalPlace_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28253 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28253, t0.o FROM "dbrdf_capitalPlace_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_capitalPlace_delta_old";
        INSERT INTO "dbrdf_capitalPlace_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_capitalPlace_delta_new" t0;
        TRUNCATE TABLE "dbrdf_capitalPlace_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1751
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_ensembl_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_ensembl_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28254;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_ensembl_delta_old" ON "dbrdf_ensembl_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_ensembl_delta_old" ON "dbrdf_ensembl_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_ensembl_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/ensembl$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/ensembl$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_ensembl_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_ensembl_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28254 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/ensembl$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/ensembl$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_ensembl_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_ensembl_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28254 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28254, t0.o FROM "dbrdf_ensembl_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_ensembl_delta_old";
        INSERT INTO "dbrdf_ensembl_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_ensembl_delta_new" t0;
        TRUNCATE TABLE "dbrdf_ensembl_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1752
    ---- DEPENDS ON: 1751, 1745, 1722, 1088, 1071, 996, 963, 902, 832, 1274, 315, 205, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/omim>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 28248 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/Protein>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28224 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/refseqprotein>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 27575 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/uniprot>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 27558 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/refseqmrna>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 27483 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/ecNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 27450 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/mgiid>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 27389 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/hgncid>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 27319 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/Gene>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27763 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/symbol>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 26687 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/ensembl>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 28254 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Biomolecule>(?X) :- <http://dbpedia.org/ontology/entrezgene>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "__triples" t0 WHERE t0.p = 26797 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28255);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Biomolecule_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Biomolecule_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28255;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Biomolecule_delta_old" ON "dbrdf_Biomolecule_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Biomolecule_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Biomolecule$delta_new>(?Y) :- <http://dbpedia.org/ontology/Biomolecule$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Biomolecule_delta_new"(s) SELECT t1.o FROM "dbrdf_Biomolecule_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28255);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28255 FROM "dbrdf_Biomolecule_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Biomolecule_delta_old";
        INSERT INTO "dbrdf_Biomolecule_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Biomolecule_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Biomolecule_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1753
    ---- DEPENDS ON: 953, 945, 554, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Royalty>(?X) :- <http://dbpedia.org/ontology/BritishRoyalty>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28256 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27440 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28256);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Royalty>(?X) :- <http://dbpedia.org/ontology/PolishKing>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28256 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27432 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28256);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/Royalty>(?X) :- <http://dbpedia.org/ontology/coronationDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28256 FROM "__triples" t0 WHERE t0.p = 27037 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28256);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Royalty_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Royalty_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28256;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Royalty_delta_old" ON "dbrdf_Royalty_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Royalty_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/Royalty$delta_new>(?Y) :- <http://dbpedia.org/ontology/Royalty$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Royalty_delta_new"(s) SELECT t1.o FROM "dbrdf_Royalty_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 2 AND ex.o = 28256);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28256 FROM "dbrdf_Royalty_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_Royalty_delta_old";
        INSERT INTO "dbrdf_Royalty_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Royalty_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Royalty_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1754
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_numberOfCrew_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_numberOfCrew_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28257;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_numberOfCrew_delta_old" ON "dbrdf_numberOfCrew_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_numberOfCrew_delta_old" ON "dbrdf_numberOfCrew_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_numberOfCrew_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/numberOfCrew$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/numberOfCrew$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_numberOfCrew_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_numberOfCrew_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28257 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/numberOfCrew$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/numberOfCrew$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_numberOfCrew_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_numberOfCrew_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28257 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28257, t0.o FROM "dbrdf_numberOfCrew_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_numberOfCrew_delta_old";
        INSERT INTO "dbrdf_numberOfCrew_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_numberOfCrew_delta_new" t0;
        TRUNCATE TABLE "dbrdf_numberOfCrew_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1755
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_demonym_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_demonym_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28258;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_demonym_delta_old" ON "dbrdf_demonym_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_demonym_delta_old" ON "dbrdf_demonym_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_demonym_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/demonym$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/demonym$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_demonym_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_demonym_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28258 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/demonym$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/demonym$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_demonym_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_demonym_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28258 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28258, t0.o FROM "dbrdf_demonym_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_demonym_delta_old";
        INSERT INTO "dbrdf_demonym_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_demonym_delta_new" t0;
        TRUNCATE TABLE "dbrdf_demonym_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1756
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_alias_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_alias_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28259;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_alias_delta_old" ON "dbrdf_alias_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_alias_delta_old" ON "dbrdf_alias_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_alias_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/alias$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/alias$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_alias_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_alias_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28259 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/alias$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/alias$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_alias_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_alias_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28259 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28259, t0.o FROM "dbrdf_alias_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_alias_delta_old";
        INSERT INTO "dbrdf_alias_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_alias_delta_new" t0;
        TRUNCATE TABLE "dbrdf_alias_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1757
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_anniversary_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_anniversary_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28260;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_anniversary_delta_old" ON "dbrdf_anniversary_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_anniversary_delta_old" ON "dbrdf_anniversary_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_anniversary_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/anniversary$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/anniversary$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_anniversary_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_anniversary_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28260 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/anniversary$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/anniversary$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_anniversary_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_anniversary_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28260 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28260, t0.o FROM "dbrdf_anniversary_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_anniversary_delta_old";
        INSERT INTO "dbrdf_anniversary_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_anniversary_delta_new" t0;
        TRUNCATE TABLE "dbrdf_anniversary_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1758
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_gaelicName_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_gaelicName_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28261;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_gaelicName_delta_old" ON "dbrdf_gaelicName_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_gaelicName_delta_old" ON "dbrdf_gaelicName_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_gaelicName_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/gaelicName$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/gaelicName$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_gaelicName_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_gaelicName_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28261 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/gaelicName$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/gaelicName$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_gaelicName_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_gaelicName_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28261 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28261, t0.o FROM "dbrdf_gaelicName_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_gaelicName_delta_old";
        INSERT INTO "dbrdf_gaelicName_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_gaelicName_delta_new" t0;
        TRUNCATE TABLE "dbrdf_gaelicName_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1759
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_ceo_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_ceo_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28262;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_ceo_delta_old" ON "dbrdf_ceo_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_ceo_delta_old" ON "dbrdf_ceo_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_ceo_delta_new"(s integer, o integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://dbpedia.org/ontology/ceo$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/ceo$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_ceo_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_ceo_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28262 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/ceo$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/ceo$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_ceo_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_ceo_delta_old" t0, "__triples" t1 WHERE t0.o = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28262 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28262, t0.o FROM "dbrdf_ceo_delta_new" t0;
        GET DIAGNOSTICS rows_nr = ROW_COUNT;
        total_tuples := total_tuples + rows_nr;
        delta_old_size := delta_old_size + rows_nr;
        TRUNCATE TABLE "dbrdf_ceo_delta_old";
        INSERT INTO "dbrdf_ceo_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_ceo_delta_new" t0;
        TRUNCATE TABLE "dbrdf_ceo_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1760
    ---- DEPENDS ON: 1555, 1546, 1377, 1210, 1151, 384, 362, 114, 13, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/WineRegion>(?X) :- <http://dbpedia.org/ontology/wineProduced>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28263 FROM "__triples" t0 WHERE t0.p = 28047 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28263);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/WineRegion>(?X) :- <http://dbpedia.org/ontology/numberOfVineyards>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28263 FROM "__triples" t0 WHERE t0.p = 28038 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28263);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/WineRegion>(?X) :- <http://dbpedia.org/ontology/wineYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28263 FROM "__triples" t0 WHERE t0.p = 27867 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28263);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] <http://dbpedia.org/ontology/WineRegion>(?X1) :- <http://dbpedia.org/ontology/isPartOfWineRegion>(?X,?X1) .
