    CREATE LOCAL TEMPORARY TABLE "dbrdf_neighboringMunicipality_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/neighboringMunicipality$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/neighboringMunicipality$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_neighboringMunicipality_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_neighboringMunicipality_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/neighboringMunicipality$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/neighboringMunicipality$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_neighboringMunicipality_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_neighboringMunicipality_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_neighboringMunicipality_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_neighboringMunicipality_delta_old";
        INSERT INTO "dbrdf_neighboringMunicipality_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_neighboringMunicipality_delta_new" t0;
        TRUNCATE TABLE "dbrdf_neighboringMunicipality_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_winsAtJLPGA_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_winsAtJLPGA_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_winsAtJLPGA_delta_old" ON "dbrdf_winsAtJLPGA_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_winsAtJLPGA_delta_old" ON "dbrdf_winsAtJLPGA_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_winsAtJLPGA_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/winsAtJLPGA$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/winsAtJLPGA$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_winsAtJLPGA_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_winsAtJLPGA_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/winsAtJLPGA$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/winsAtJLPGA$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_winsAtJLPGA_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_winsAtJLPGA_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_winsAtJLPGA_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_winsAtJLPGA_delta_old";
        INSERT INTO "dbrdf_winsAtJLPGA_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_winsAtJLPGA_delta_new" t0;
        TRUNCATE TABLE "dbrdf_winsAtJLPGA_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_constellation_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_constellation_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_constellation_delta_old" ON "dbrdf_constellation_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_constellation_delta_old" ON "dbrdf_constellation_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_constellation_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/constellation$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/constellation$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_constellation_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_constellation_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/constellation$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/constellation$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_constellation_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_constellation_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_constellation_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_constellation_delta_old";
        INSERT INTO "dbrdf_constellation_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_constellation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_constellation_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_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 = 28121;
    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 = 28121 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 = 28121 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28121, 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 1627
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_routeNumber_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_routeNumber_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_routeNumber_delta_old" ON "dbrdf_routeNumber_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_routeNumber_delta_old" ON "dbrdf_routeNumber_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_routeNumber_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/routeNumber$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/routeNumber$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_routeNumber_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_routeNumber_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/routeNumber$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/routeNumber$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_routeNumber_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_routeNumber_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_routeNumber_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_routeNumber_delta_old";
        INSERT INTO "dbrdf_routeNumber_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_routeNumber_delta_new" t0;
        TRUNCATE TABLE "dbrdf_routeNumber_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_Surname_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Surname_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28123;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Surname_delta_old" ON "dbrdf_Surname_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Surname_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/Surname$delta_new>(?Y) :- <http://dbpedia.org/ontology/Surname$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Surname_delta_new"(s) SELECT t1.o FROM "dbrdf_Surname_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 = 28123);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28123 FROM "dbrdf_Surname_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_Surname_delta_old";
        INSERT INTO "dbrdf_Surname_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Surname_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Surname_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_family_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_family_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_family_delta_old" ON "dbrdf_family_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_family_delta_old" ON "dbrdf_family_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_family_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/family$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/family$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_family_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_family_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/family$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/family$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_family_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_family_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_family_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_family_delta_old";
        INSERT INTO "dbrdf_family_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_family_delta_new" t0;
        TRUNCATE TABLE "dbrdf_family_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_maximumBoatBeam_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_maximumBoatBeam_delta_old0"(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_maximumBoatBeam_delta_old0" ON "dbrdf_maximumBoatBeam_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_maximumBoatBeam_delta_old0" ON "dbrdf_maximumBoatBeam_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_maximumBoatBeam_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/maximumBoatBeam$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/maximumBoatBeam$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_maximumBoatBeam_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_maximumBoatBeam_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 = 28125 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/maximumBoatBeam$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/maximumBoatBeam$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_maximumBoatBeam_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_maximumBoatBeam_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 = 28125 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28125, t0.o FROM "dbrdf_maximumBoatBeam_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_maximumBoatBeam_delta_old0";
        INSERT INTO "dbrdf_maximumBoatBeam_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_maximumBoatBeam_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_maximumBoatBeam_delta_new0";

    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_populationUrban_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_populationUrban_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_populationUrban_delta_old" ON "dbrdf_populationUrban_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_populationUrban_delta_old" ON "dbrdf_populationUrban_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_populationUrban_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/populationUrban$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/populationUrban$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_populationUrban_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_populationUrban_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/populationUrban$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/populationUrban$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_populationUrban_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_populationUrban_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_populationUrban_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_populationUrban_delta_old";
        INSERT INTO "dbrdf_populationUrban_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_populationUrban_delta_new" t0;
        TRUNCATE TABLE "dbrdf_populationUrban_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1632
    ---- DEPENDS ON: 1254, 734, 265, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

    -- [Rule] <http://dbpedia.org/ontology/Instrument>(?X1) :- <http://dbpedia.org/ontology/instrument>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28127 FROM "__triples" t0 WHERE t0.p = 27741 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28127);
    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_Instrument_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Instrument_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28127;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Instrument_delta_old" ON "dbrdf_Instrument_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Instrument_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/Instrument$delta_new>(?Y) :- <http://dbpedia.org/ontology/Instrument$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Instrument_delta_new"(s) SELECT t1.o FROM "dbrdf_Instrument_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 = 28127);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28127 FROM "dbrdf_Instrument_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_Instrument_delta_old";
        INSERT INTO "dbrdf_Instrument_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Instrument_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Instrument_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_temperature_delta_old1"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_temperature_delta_old1"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28128;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_temperature_delta_old1" ON "dbrdf_temperature_delta_old1"(s, o); CREATE INDEX "IDX_1_dbrdf_temperature_delta_old1" ON "dbrdf_temperature_delta_old1"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_temperature_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/temperature$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/Galaxy/temperature$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_temperature_delta_new1"(s, o) SELECT t1.o, t0.o FROM "dbrdf_temperature_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 = 28128 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/Galaxy/temperature$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/Galaxy/temperature$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_temperature_delta_new1"(s, o) SELECT t0.s, t1.o FROM "dbrdf_temperature_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 = 28128 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28128, t0.o FROM "dbrdf_temperature_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_temperature_delta_old1";
        INSERT INTO "dbrdf_temperature_delta_old1"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_temperature_delta_new1" t0;
        TRUNCATE TABLE "dbrdf_temperature_delta_new1";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1634
    ---- DEPENDS ON: 1400, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/LunarCrater>(?X) :- <http://dbpedia.org/ontology/LunarCrater/diameter>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28129 FROM "__triples" t0 WHERE t0.p = 27890 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;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_LunarCrater_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_LunarCrater_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_LunarCrater_delta_old" ON "dbrdf_LunarCrater_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_LunarCrater_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/LunarCrater$delta_new>(?Y) :- <http://dbpedia.org/ontology/LunarCrater$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_LunarCrater_delta_new"(s) SELECT t1.o FROM "dbrdf_LunarCrater_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, 28129 FROM "dbrdf_LunarCrater_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_LunarCrater_delta_old";
        INSERT INTO "dbrdf_LunarCrater_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_LunarCrater_delta_new" t0;
        TRUNCATE TABLE "dbrdf_LunarCrater_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1635
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_homeStadium_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_homeStadium_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_homeStadium_delta_old" ON "dbrdf_homeStadium_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_homeStadium_delta_old" ON "dbrdf_homeStadium_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_homeStadium_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/homeStadium$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/homeStadium$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_homeStadium_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_homeStadium_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://dbpedia.org/ontology/homeStadium$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/homeStadium$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_homeStadium_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_homeStadium_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_homeStadium_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_homeStadium_delta_old";
        INSERT INTO "dbrdf_homeStadium_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_homeStadium_delta_new" t0;
        TRUNCATE TABLE "dbrdf_homeStadium_delta_new";

    END LOOP;

    -- END Recursive rules

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

    -- Nonrecursive rules

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

    -- [Rule] <http://dbpedia.org/ontology/Stadium>(?X1) :- <http://dbpedia.org/ontology/homeStadium>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28133 FROM "__triples" t0 WHERE t0.p = 28130 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o 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_Arena_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Arena_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28131;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Arena_delta_old" ON "dbrdf_Arena_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Arena_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_StadiumOrArena_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_StadiumOrArena_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28132;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_StadiumOrArena_delta_old" ON "dbrdf_StadiumOrArena_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_StadiumOrArena_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Stadium_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Stadium_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_Stadium_delta_old" ON "dbrdf_Stadium_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Stadium_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/Arena$delta_new>(?X) :- <http://schema.org/StadiumOrArena$delta_old>(?X) .
        INSERT INTO "dbrdf_Arena_delta_new"(s) SELECT t0.s FROM "dbrdf_StadiumOrArena_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28131);


        -- <http://dbpedia.org/ontology/Arena$delta_new>(?Y) :- <http://dbpedia.org/ontology/Arena$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Arena_delta_new"(s) SELECT t1.o FROM "dbrdf_Arena_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 = 28131);


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


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


        -- <http://schema.org/StadiumOrArena$delta_new>(?Y) :- <http://schema.org/StadiumOrArena$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_StadiumOrArena_delta_new"(s) SELECT t1.o FROM "dbrdf_StadiumOrArena_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 = 28132);


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


        -- <http://dbpedia.org/ontology/Stadium$delta_new>(?Y) :- <http://dbpedia.org/ontology/Stadium$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Stadium_delta_new"(s) SELECT t1.o FROM "dbrdf_Stadium_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, 28131 FROM "dbrdf_Arena_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_Arena_delta_old";
        INSERT INTO "dbrdf_Arena_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Arena_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Arena_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28132 FROM "dbrdf_StadiumOrArena_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_StadiumOrArena_delta_old";
        INSERT INTO "dbrdf_StadiumOrArena_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_StadiumOrArena_delta_new" t0;
        TRUNCATE TABLE "dbrdf_StadiumOrArena_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28133 FROM "dbrdf_Stadium_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_Stadium_delta_old";
        INSERT INTO "dbrdf_Stadium_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Stadium_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Stadium_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1637
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_automobileModel_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_automobileModel_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28134;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_automobileModel_delta_old" ON "dbrdf_automobileModel_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_automobileModel_delta_old" ON "dbrdf_automobileModel_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_automobileModel_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/automobileModel$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/automobileModel$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_automobileModel_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_automobileModel_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 = 28134 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/automobileModel$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/automobileModel$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_automobileModel_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_automobileModel_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 = 28134 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28134, t0.o FROM "dbrdf_automobileModel_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_automobileModel_delta_old";
        INSERT INTO "dbrdf_automobileModel_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_automobileModel_delta_new" t0;
        TRUNCATE TABLE "dbrdf_automobileModel_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_composer_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_composer_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_composer_delta_old" ON "dbrdf_composer_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_composer_delta_old" ON "dbrdf_composer_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_composer_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/composer$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/composer$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_composer_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_composer_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/composer$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/composer$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_composer_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_composer_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_composer_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_composer_delta_old";
        INSERT INTO "dbrdf_composer_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_composer_delta_new" t0;
        TRUNCATE TABLE "dbrdf_composer_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1639
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_cargoFuel_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_cargoFuel_delta_old0"(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_cargoFuel_delta_old0" ON "dbrdf_cargoFuel_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_cargoFuel_delta_old0" ON "dbrdf_cargoFuel_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_cargoFuel_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/Spacecraft/cargoFuel$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/Spacecraft/cargoFuel$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_cargoFuel_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_cargoFuel_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 = 28136 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/Spacecraft/cargoFuel$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/Spacecraft/cargoFuel$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_cargoFuel_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_cargoFuel_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 = 28136 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28136, t0.o FROM "dbrdf_cargoFuel_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_cargoFuel_delta_old0";
        INSERT INTO "dbrdf_cargoFuel_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_cargoFuel_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_cargoFuel_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1640
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_producer_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_producer_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_producer_delta_old" ON "dbrdf_producer_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_producer_delta_old" ON "dbrdf_producer_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_producer_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/producer$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/producer$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_producer_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_producer_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/producer$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/producer$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_producer_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_producer_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_producer_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_producer_delta_old";
        INSERT INTO "dbrdf_producer_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_producer_delta_new" t0;
        TRUNCATE TABLE "dbrdf_producer_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_destructionDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_destructionDate_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_destructionDate_delta_old" ON "dbrdf_destructionDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_destructionDate_delta_old" ON "dbrdf_destructionDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_destructionDate_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/destructionDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/destructionDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_destructionDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_destructionDate_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/destructionDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/destructionDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_destructionDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_destructionDate_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_destructionDate_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_destructionDate_delta_old";
        INSERT INTO "dbrdf_destructionDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_destructionDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_destructionDate_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_floorArea_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_floorArea_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_floorArea_delta_old" ON "dbrdf_floorArea_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_floorArea_delta_old" ON "dbrdf_floorArea_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_floorArea_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/floorArea$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/floorArea$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_floorArea_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_floorArea_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/floorArea$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/floorArea$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_floorArea_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_floorArea_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_floorArea_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_floorArea_delta_old";
        INSERT INTO "dbrdf_floorArea_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_floorArea_delta_new" t0;
        TRUNCATE TABLE "dbrdf_floorArea_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_interest_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_interest_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_interest_delta_old" ON "dbrdf_interest_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_interest_delta_old" ON "dbrdf_interest_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_interest_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/interest$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/interest$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_interest_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_interest_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/interest$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/interest$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_interest_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_interest_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_interest_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_interest_delta_old";
        INSERT INTO "dbrdf_interest_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_interest_delta_new" t0;
        TRUNCATE TABLE "dbrdf_interest_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1644
    ---- DEPENDS ON: 1643, 1346, 915, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

    -- [Rule] <http://dbpedia.org/ontology/SiteOfSpecialScientificInterest>(?X) :- <http://dbpedia.org/ontology/areaOfSearch>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28141 FROM "__triples" t0 WHERE t0.p = 27399 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28141);
    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_SiteOfSpecialScientificInterest_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SiteOfSpecialScientificInterest_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28141;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SiteOfSpecialScientificInterest_delta_old" ON "dbrdf_SiteOfSpecialScientificInterest_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SiteOfSpecialScientificInterest_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/SiteOfSpecialScientificInterest$delta_new>(?Y) :- <http://dbpedia.org/ontology/SiteOfSpecialScientificInterest$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SiteOfSpecialScientificInterest_delta_new"(s) SELECT t1.o FROM "dbrdf_SiteOfSpecialScientificInterest_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 = 28141);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28141 FROM "dbrdf_SiteOfSpecialScientificInterest_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_SiteOfSpecialScientificInterest_delta_old";
        INSERT INTO "dbrdf_SiteOfSpecialScientificInterest_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_SiteOfSpecialScientificInterest_delta_new" t0;
        TRUNCATE TABLE "dbrdf_SiteOfSpecialScientificInterest_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_secondLeader_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_secondLeader_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28142;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_secondLeader_delta_old" ON "dbrdf_secondLeader_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_secondLeader_delta_old" ON "dbrdf_secondLeader_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_secondLeader_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/secondLeader$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/secondLeader$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_secondLeader_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_secondLeader_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 = 28142 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/secondLeader$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/secondLeader$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_secondLeader_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_secondLeader_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 = 28142 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28142, t0.o FROM "dbrdf_secondLeader_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_secondLeader_delta_old";
        INSERT INTO "dbrdf_secondLeader_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_secondLeader_delta_new" t0;
        TRUNCATE TABLE "dbrdf_secondLeader_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_sourceConfluencePosition_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_sourceConfluencePosition_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28143;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_sourceConfluencePosition_delta_old" ON "dbrdf_sourceConfluencePosition_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_sourceConfluencePosition_delta_old" ON "dbrdf_sourceConfluencePosition_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_sourceConfluencePosition_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/sourceConfluencePosition$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/sourceConfluencePosition$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_sourceConfluencePosition_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_sourceConfluencePosition_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 = 28143 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/sourceConfluencePosition$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/sourceConfluencePosition$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_sourceConfluencePosition_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_sourceConfluencePosition_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 = 28143 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28143, t0.o FROM "dbrdf_sourceConfluencePosition_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_sourceConfluencePosition_delta_old";
        INSERT INTO "dbrdf_sourceConfluencePosition_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_sourceConfluencePosition_delta_new" t0;
        TRUNCATE TABLE "dbrdf_sourceConfluencePosition_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_formerTeam_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_formerTeam_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28144;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_formerTeam_delta_old" ON "dbrdf_formerTeam_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_formerTeam_delta_old" ON "dbrdf_formerTeam_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_formerTeam_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/formerTeam$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/formerTeam$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_formerTeam_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_formerTeam_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 = 28144 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/formerTeam$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/formerTeam$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_formerTeam_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_formerTeam_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 = 28144 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28144, t0.o FROM "dbrdf_formerTeam_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_formerTeam_delta_old";
        INSERT INTO "dbrdf_formerTeam_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_formerTeam_delta_new" t0;
        TRUNCATE TABLE "dbrdf_formerTeam_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1648
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_nationality_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_nationality_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_nationality_delta_old" ON "dbrdf_nationality_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_nationality_delta_old" ON "dbrdf_nationality_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_nationality_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/nationality$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/nationality$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_nationality_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_nationality_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/nationality$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/nationality$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_nationality_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_nationality_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_nationality_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_nationality_delta_old";
        INSERT INTO "dbrdf_nationality_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_nationality_delta_new" t0;
        TRUNCATE TABLE "dbrdf_nationality_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_routeEndLocation_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_routeEndLocation_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_routeEndLocation_delta_old" ON "dbrdf_routeEndLocation_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_routeEndLocation_delta_old" ON "dbrdf_routeEndLocation_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_routeEndLocation_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/routeEndLocation$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/routeEndLocation$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_routeEndLocation_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_routeEndLocation_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/routeEndLocation$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/routeEndLocation$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_routeEndLocation_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_routeEndLocation_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_routeEndLocation_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_routeEndLocation_delta_old";
        INSERT INTO "dbrdf_routeEndLocation_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_routeEndLocation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_routeEndLocation_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1650
    ---- DEPENDS ON: 1392, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/SportsTeamMember>(?X) :- <http://dbpedia.org/ontology/squadNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28147 FROM "__triples" t0 WHERE t0.p = 27882 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28147);
    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_SportsTeamMember_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SportsTeamMember_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28147;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SportsTeamMember_delta_old" ON "dbrdf_SportsTeamMember_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SportsTeamMember_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/SportsTeamMember$delta_new>(?Y) :- <http://dbpedia.org/ontology/SportsTeamMember$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SportsTeamMember_delta_new"(s) SELECT t1.o FROM "dbrdf_SportsTeamMember_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 = 28147);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28147 FROM "dbrdf_SportsTeamMember_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_SportsTeamMember_delta_old";
        INSERT INTO "dbrdf_SportsTeamMember_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_SportsTeamMember_delta_new" t0;
        TRUNCATE TABLE "dbrdf_SportsTeamMember_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1651
    ---- DEPENDS ON: 1650, 1337, 0
    ----------------------------------------

    -- Nonrecursive rules

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

    -- [Rule] <http://dbpedia.org/ontology/OrganisationMember>(?X1) :- <http://dbpedia.org/ontology/organisationMember>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28148 FROM "__triples" t0 WHERE t0.p = 27827 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28148);
    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_OrganisationMember_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_OrganisationMember_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28148;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_OrganisationMember_delta_old" ON "dbrdf_OrganisationMember_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_OrganisationMember_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/OrganisationMember$delta_new>(?Y) :- <http://dbpedia.org/ontology/OrganisationMember$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_OrganisationMember_delta_new"(s) SELECT t1.o FROM "dbrdf_OrganisationMember_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 = 28148);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28148 FROM "dbrdf_OrganisationMember_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_OrganisationMember_delta_old";
        INSERT INTO "dbrdf_OrganisationMember_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_OrganisationMember_delta_new" t0;
        TRUNCATE TABLE "dbrdf_OrganisationMember_delta_new";

    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_accessDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_accessDate_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_accessDate_delta_old" ON "dbrdf_accessDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_accessDate_delta_old" ON "dbrdf_accessDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_accessDate_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/accessDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/accessDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_accessDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_accessDate_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/accessDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/accessDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_accessDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_accessDate_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_accessDate_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_accessDate_delta_old";
        INSERT INTO "dbrdf_accessDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_accessDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_accessDate_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_goalsInLeague_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_goalsInLeague_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_goalsInLeague_delta_old" ON "dbrdf_goalsInLeague_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_goalsInLeague_delta_old" ON "dbrdf_goalsInLeague_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_goalsInLeague_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/goalsInLeague$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/goalsInLeague$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_goalsInLeague_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_goalsInLeague_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/goalsInLeague$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/goalsInLeague$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_goalsInLeague_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_goalsInLeague_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_goalsInLeague_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_goalsInLeague_delta_old";
        INSERT INTO "dbrdf_goalsInLeague_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_goalsInLeague_delta_new" t0;
        TRUNCATE TABLE "dbrdf_goalsInLeague_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_chaplain_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_chaplain_delta_old"(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_chaplain_delta_old" ON "dbrdf_chaplain_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_chaplain_delta_old" ON "dbrdf_chaplain_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_chaplain_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/chaplain$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/chaplain$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_chaplain_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_chaplain_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 = 28151 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/chaplain$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/chaplain$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_chaplain_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_chaplain_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 = 28151 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28151, t0.o FROM "dbrdf_chaplain_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_chaplain_delta_old";
        INSERT INTO "dbrdf_chaplain_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_chaplain_delta_new" t0;
        TRUNCATE TABLE "dbrdf_chaplain_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_network_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_network_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28152;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_network_delta_old" ON "dbrdf_network_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_network_delta_old" ON "dbrdf_network_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_network_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/network$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/network$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_network_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_network_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 = 28152 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/network$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/network$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_network_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_network_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 = 28152 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28152, t0.o FROM "dbrdf_network_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_network_delta_old";
        INSERT INTO "dbrdf_network_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_network_delta_new" t0;
        TRUNCATE TABLE "dbrdf_network_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1656
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_municipalityType_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_municipalityType_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_municipalityType_delta_old" ON "dbrdf_municipalityType_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_municipalityType_delta_old" ON "dbrdf_municipalityType_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_municipalityType_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/municipalityType$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/municipalityType$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_municipalityType_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_municipalityType_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/municipalityType$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/municipalityType$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_municipalityType_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_municipalityType_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_municipalityType_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_municipalityType_delta_old";
        INSERT INTO "dbrdf_municipalityType_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_municipalityType_delta_new" t0;
        TRUNCATE TABLE "dbrdf_municipalityType_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_closingDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_closingDate_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_closingDate_delta_old" ON "dbrdf_closingDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_closingDate_delta_old" ON "dbrdf_closingDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_closingDate_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/closingDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/closingDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_closingDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_closingDate_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/closingDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/closingDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_closingDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_closingDate_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_closingDate_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_closingDate_delta_old";
        INSERT INTO "dbrdf_closingDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_closingDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_closingDate_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_numberOfPlatformLevels_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_numberOfPlatformLevels_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_numberOfPlatformLevels_delta_old" ON "dbrdf_numberOfPlatformLevels_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_numberOfPlatformLevels_delta_old" ON "dbrdf_numberOfPlatformLevels_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_numberOfPlatformLevels_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/numberOfPlatformLevels$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/numberOfPlatformLevels$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_numberOfPlatformLevels_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_numberOfPlatformLevels_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/numberOfPlatformLevels$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/numberOfPlatformLevels$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_numberOfPlatformLevels_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_numberOfPlatformLevels_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_numberOfPlatformLevels_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_numberOfPlatformLevels_delta_old";
        INSERT INTO "dbrdf_numberOfPlatformLevels_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_numberOfPlatformLevels_delta_new" t0;
        TRUNCATE TABLE "dbrdf_numberOfPlatformLevels_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_genomeDB_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_genomeDB_delta_old"(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_genomeDB_delta_old" ON "dbrdf_genomeDB_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_genomeDB_delta_old" ON "dbrdf_genomeDB_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_genomeDB_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/genomeDB$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/genomeDB$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_genomeDB_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_genomeDB_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 = 28156 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/genomeDB$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/genomeDB$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_genomeDB_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_genomeDB_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 = 28156 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28156, t0.o FROM "dbrdf_genomeDB_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_genomeDB_delta_old";
        INSERT INTO "dbrdf_genomeDB_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_genomeDB_delta_new" t0;
        TRUNCATE TABLE "dbrdf_genomeDB_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_endangeredSince_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_endangeredSince_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28157;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_endangeredSince_delta_old" ON "dbrdf_endangeredSince_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_endangeredSince_delta_old" ON "dbrdf_endangeredSince_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_endangeredSince_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/endangeredSince$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/endangeredSince$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_endangeredSince_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_endangeredSince_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 = 28157 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/endangeredSince$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/endangeredSince$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_endangeredSince_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_endangeredSince_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 = 28157 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28157, t0.o FROM "dbrdf_endangeredSince_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_endangeredSince_delta_old";
        INSERT INTO "dbrdf_endangeredSince_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_endangeredSince_delta_new" t0;
        TRUNCATE TABLE "dbrdf_endangeredSince_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1661
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_geminiAward_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_geminiAward_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28158;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_geminiAward_delta_old" ON "dbrdf_geminiAward_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_geminiAward_delta_old" ON "dbrdf_geminiAward_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_geminiAward_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/geminiAward$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/geminiAward$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_geminiAward_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_geminiAward_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 = 28158 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/geminiAward$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/geminiAward$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_geminiAward_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_geminiAward_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 = 28158 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28158, t0.o FROM "dbrdf_geminiAward_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_geminiAward_delta_old";
        INSERT INTO "dbrdf_geminiAward_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_geminiAward_delta_new" t0;
        TRUNCATE TABLE "dbrdf_geminiAward_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_nationalYears_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_nationalYears_delta_old"(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_nationalYears_delta_old" ON "dbrdf_nationalYears_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_nationalYears_delta_old" ON "dbrdf_nationalYears_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_nationalYears_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/nationalYears$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/nationalYears$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_nationalYears_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_nationalYears_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 = 28159 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/nationalYears$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/nationalYears$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_nationalYears_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_nationalYears_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 = 28159 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28159, t0.o FROM "dbrdf_nationalYears_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_nationalYears_delta_old";
        INSERT INTO "dbrdf_nationalYears_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_nationalYears_delta_new" t0;
        TRUNCATE TABLE "dbrdf_nationalYears_delta_new";

    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_shareSource_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_shareSource_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_shareSource_delta_old" ON "dbrdf_shareSource_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_shareSource_delta_old" ON "dbrdf_shareSource_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_shareSource_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/shareSource$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/shareSource$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_shareSource_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_shareSource_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/shareSource$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/shareSource$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_shareSource_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_shareSource_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_shareSource_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_shareSource_delta_old";
        INSERT INTO "dbrdf_shareSource_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_shareSource_delta_new" t0;
        TRUNCATE TABLE "dbrdf_shareSource_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_summerAppearances_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_summerAppearances_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_summerAppearances_delta_old" ON "dbrdf_summerAppearances_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_summerAppearances_delta_old" ON "dbrdf_summerAppearances_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_summerAppearances_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/summerAppearances$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/summerAppearances$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_summerAppearances_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_summerAppearances_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/summerAppearances$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/summerAppearances$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_summerAppearances_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_summerAppearances_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_summerAppearances_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_summerAppearances_delta_old";
        INSERT INTO "dbrdf_summerAppearances_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_summerAppearances_delta_new" t0;
        TRUNCATE TABLE "dbrdf_summerAppearances_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_alpsMainPart_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_alpsMainPart_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_alpsMainPart_delta_old" ON "dbrdf_alpsMainPart_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_alpsMainPart_delta_old" ON "dbrdf_alpsMainPart_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_alpsMainPart_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/alpsMainPart$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/alpsMainPart$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_alpsMainPart_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_alpsMainPart_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/alpsMainPart$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/alpsMainPart$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_alpsMainPart_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_alpsMainPart_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_alpsMainPart_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_alpsMainPart_delta_old";
        INSERT INTO "dbrdf_alpsMainPart_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_alpsMainPart_delta_new" t0;
        TRUNCATE TABLE "dbrdf_alpsMainPart_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_latestReleaseDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_latestReleaseDate_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28163;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_latestReleaseDate_delta_old" ON "dbrdf_latestReleaseDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_latestReleaseDate_delta_old" ON "dbrdf_latestReleaseDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_latestReleaseDate_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/latestReleaseDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/latestReleaseDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_latestReleaseDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_latestReleaseDate_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 = 28163 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/latestReleaseDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/latestReleaseDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_latestReleaseDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_latestReleaseDate_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 = 28163 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28163, t0.o FROM "dbrdf_latestReleaseDate_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_latestReleaseDate_delta_old";
        INSERT INTO "dbrdf_latestReleaseDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_latestReleaseDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_latestReleaseDate_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_lowest_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lowest_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_lowest_delta_old" ON "dbrdf_lowest_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lowest_delta_old" ON "dbrdf_lowest_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lowest_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/lowest$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lowest$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lowest_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lowest_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/lowest$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lowest$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lowest_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lowest_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_lowest_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_lowest_delta_old";
        INSERT INTO "dbrdf_lowest_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lowest_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lowest_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_waterwayThroughTunnel_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_waterwayThroughTunnel_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_waterwayThroughTunnel_delta_old" ON "dbrdf_waterwayThroughTunnel_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_waterwayThroughTunnel_delta_old" ON "dbrdf_waterwayThroughTunnel_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_waterwayThroughTunnel_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/waterwayThroughTunnel$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/waterwayThroughTunnel$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_waterwayThroughTunnel_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_waterwayThroughTunnel_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/waterwayThroughTunnel$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/waterwayThroughTunnel$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_waterwayThroughTunnel_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_waterwayThroughTunnel_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_waterwayThroughTunnel_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_waterwayThroughTunnel_delta_old";
        INSERT INTO "dbrdf_waterwayThroughTunnel_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_waterwayThroughTunnel_delta_new" t0;
        TRUNCATE TABLE "dbrdf_waterwayThroughTunnel_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1669
    ---- DEPENDS ON: 1668, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/WaterwayTunnel>(?X) :- <http://dbpedia.org/ontology/waterwayThroughTunnel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28166 FROM "__triples" t0 WHERE t0.p = 28165 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28166);
    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_WaterwayTunnel_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_WaterwayTunnel_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28166;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_WaterwayTunnel_delta_old" ON "dbrdf_WaterwayTunnel_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_WaterwayTunnel_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/WaterwayTunnel$delta_new>(?Y) :- <http://dbpedia.org/ontology/WaterwayTunnel$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_WaterwayTunnel_delta_new"(s) SELECT t1.o FROM "dbrdf_WaterwayTunnel_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 = 28166);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28166 FROM "dbrdf_WaterwayTunnel_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_WaterwayTunnel_delta_old";
        INSERT INTO "dbrdf_WaterwayTunnel_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_WaterwayTunnel_delta_new" t0;
        TRUNCATE TABLE "dbrdf_WaterwayTunnel_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1670
    ---- DEPENDS ON: 1061, 1669, 241, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

    -- [Rule] <http://dbpedia.org/ontology/Tunnel>(?X) :- <http://dbpedia.org/ontology/RailwayTunnel>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28167 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26723 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28167);
    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_Tunnel_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Tunnel_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28167;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Tunnel_delta_old" ON "dbrdf_Tunnel_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Tunnel_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/Tunnel$delta_new>(?Y) :- <http://dbpedia.org/ontology/Tunnel$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Tunnel_delta_new"(s) SELECT t1.o FROM "dbrdf_Tunnel_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 = 28167);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28167 FROM "dbrdf_Tunnel_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_Tunnel_delta_old";
        INSERT INTO "dbrdf_Tunnel_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Tunnel_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Tunnel_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_flyingHours_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_flyingHours_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_flyingHours_delta_old" ON "dbrdf_flyingHours_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_flyingHours_delta_old" ON "dbrdf_flyingHours_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_flyingHours_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/flyingHours$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/flyingHours$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_flyingHours_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_flyingHours_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/flyingHours$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/flyingHours$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_flyingHours_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_flyingHours_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_flyingHours_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_flyingHours_delta_old";
        INSERT INTO "dbrdf_flyingHours_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_flyingHours_delta_new" t0;
        TRUNCATE TABLE "dbrdf_flyingHours_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1672
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_weight_delta_old2"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_weight_delta_old2"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28169;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_weight_delta_old2" ON "dbrdf_weight_delta_old2"(s, o); CREATE INDEX "IDX_1_dbrdf_weight_delta_old2" ON "dbrdf_weight_delta_old2"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_weight_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/AutomobileEngine/weight$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/AutomobileEngine/weight$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_weight_delta_new2"(s, o) SELECT t1.o, t0.o FROM "dbrdf_weight_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 = 28169 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/AutomobileEngine/weight$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/AutomobileEngine/weight$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_weight_delta_new2"(s, o) SELECT t0.s, t1.o FROM "dbrdf_weight_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 = 28169 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28169, t0.o FROM "dbrdf_weight_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_weight_delta_old2";
        INSERT INTO "dbrdf_weight_delta_old2"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_weight_delta_new2" t0;
        TRUNCATE TABLE "dbrdf_weight_delta_new2";

    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_originalMaximumBoatLength_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_originalMaximumBoatLength_delta_old0"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28170;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_originalMaximumBoatLength_delta_old0" ON "dbrdf_originalMaximumBoatLength_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_originalMaximumBoatLength_delta_old0" ON "dbrdf_originalMaximumBoatLength_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_originalMaximumBoatLength_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/originalMaximumBoatLength$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/originalMaximumBoatLength$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_originalMaximumBoatLength_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_originalMaximumBoatLength_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 = 28170 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/originalMaximumBoatLength$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/originalMaximumBoatLength$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_originalMaximumBoatLength_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_originalMaximumBoatLength_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 = 28170 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28170, t0.o FROM "dbrdf_originalMaximumBoatLength_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_originalMaximumBoatLength_delta_old0";
        INSERT INTO "dbrdf_originalMaximumBoatLength_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_originalMaximumBoatLength_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_originalMaximumBoatLength_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1674
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_titleDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_titleDate_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_titleDate_delta_old" ON "dbrdf_titleDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_titleDate_delta_old" ON "dbrdf_titleDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_titleDate_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/titleDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/titleDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_titleDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_titleDate_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/titleDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/titleDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_titleDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_titleDate_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_titleDate_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_titleDate_delta_old";
        INSERT INTO "dbrdf_titleDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_titleDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_titleDate_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1675
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_mergedIntoParty_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_mergedIntoParty_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28172;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_mergedIntoParty_delta_old" ON "dbrdf_mergedIntoParty_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_mergedIntoParty_delta_old" ON "dbrdf_mergedIntoParty_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_mergedIntoParty_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/mergedIntoParty$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/mergedIntoParty$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_mergedIntoParty_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_mergedIntoParty_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 = 28172 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/mergedIntoParty$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/mergedIntoParty$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_mergedIntoParty_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_mergedIntoParty_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 = 28172 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28172, t0.o FROM "dbrdf_mergedIntoParty_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_mergedIntoParty_delta_old";
        INSERT INTO "dbrdf_mergedIntoParty_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_mergedIntoParty_delta_new" t0;
        TRUNCATE TABLE "dbrdf_mergedIntoParty_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_governmentPosition_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_governmentPosition_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28173;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_governmentPosition_delta_old" ON "dbrdf_governmentPosition_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_governmentPosition_delta_old" ON "dbrdf_governmentPosition_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_governmentPosition_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/governmentPosition$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/governmentPosition$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_governmentPosition_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_governmentPosition_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 = 28173 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/governmentPosition$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/governmentPosition$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_governmentPosition_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_governmentPosition_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 = 28173 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28173, t0.o FROM "dbrdf_governmentPosition_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_governmentPosition_delta_old";
        INSERT INTO "dbrdf_governmentPosition_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_governmentPosition_delta_new" t0;
        TRUNCATE TABLE "dbrdf_governmentPosition_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_tonyAward_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_tonyAward_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28174;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_tonyAward_delta_old" ON "dbrdf_tonyAward_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_tonyAward_delta_old" ON "dbrdf_tonyAward_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_tonyAward_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/tonyAward$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/tonyAward$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_tonyAward_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_tonyAward_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 = 28174 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/tonyAward$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/tonyAward$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_tonyAward_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_tonyAward_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 = 28174 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28174, t0.o FROM "dbrdf_tonyAward_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_tonyAward_delta_old";
        INSERT INTO "dbrdf_tonyAward_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_tonyAward_delta_new" t0;
        TRUNCATE TABLE "dbrdf_tonyAward_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_rebuildingYear_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_rebuildingYear_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_rebuildingYear_delta_old" ON "dbrdf_rebuildingYear_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_rebuildingYear_delta_old" ON "dbrdf_rebuildingYear_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_rebuildingYear_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/rebuildingYear$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/rebuildingYear$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_rebuildingYear_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_rebuildingYear_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/rebuildingYear$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/rebuildingYear$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_rebuildingYear_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_rebuildingYear_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_rebuildingYear_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_rebuildingYear_delta_old";
        INSERT INTO "dbrdf_rebuildingYear_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_rebuildingYear_delta_new" t0;
        TRUNCATE TABLE "dbrdf_rebuildingYear_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1679
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_draftPick_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_draftPick_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_draftPick_delta_old" ON "dbrdf_draftPick_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_draftPick_delta_old" ON "dbrdf_draftPick_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_draftPick_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/draftPick$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/draftPick$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_draftPick_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_draftPick_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/draftPick$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/draftPick$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_draftPick_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_draftPick_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_draftPick_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_draftPick_delta_old";
        INSERT INTO "dbrdf_draftPick_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_draftPick_delta_new" t0;
        TRUNCATE TABLE "dbrdf_draftPick_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1680
    ---- DEPENDS ON: 1679, 1529, 1505, 1168, 684, 537, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/GridironFootballPlayer>(?X) :- <http://dbpedia.org/ontology/draftRound>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28177 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 = 28177);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

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

    -- [Rule] <http://dbpedia.org/ontology/GridironFootballPlayer>(?X) :- <http://dbpedia.org/ontology/draftPick>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28177 FROM "__triples" t0 WHERE t0.p = 28176 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28177);
    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_GridironFootballPlayer_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_GridironFootballPlayer_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28177;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_GridironFootballPlayer_delta_old" ON "dbrdf_GridironFootballPlayer_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_GridironFootballPlayer_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/GridironFootballPlayer$delta_new>(?Y) :- <http://dbpedia.org/ontology/GridironFootballPlayer$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_GridironFootballPlayer_delta_new"(s) SELECT t1.o FROM "dbrdf_GridironFootballPlayer_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 = 28177);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28177 FROM "dbrdf_GridironFootballPlayer_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_GridironFootballPlayer_delta_old";
        INSERT INTO "dbrdf_GridironFootballPlayer_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_GridironFootballPlayer_delta_new" t0;
        TRUNCATE TABLE "dbrdf_GridironFootballPlayer_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_albedo_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_albedo_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28178;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_albedo_delta_old" ON "dbrdf_albedo_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_albedo_delta_old" ON "dbrdf_albedo_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_albedo_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/albedo$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/albedo$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_albedo_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_albedo_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 = 28178 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/albedo$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/albedo$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_albedo_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_albedo_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 = 28178 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28178, t0.o FROM "dbrdf_albedo_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_albedo_delta_old";
        INSERT INTO "dbrdf_albedo_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_albedo_delta_new" t0;
        TRUNCATE TABLE "dbrdf_albedo_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1682
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_identificationSymbol_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_identificationSymbol_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_identificationSymbol_delta_old" ON "dbrdf_identificationSymbol_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_identificationSymbol_delta_old" ON "dbrdf_identificationSymbol_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_identificationSymbol_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/identificationSymbol$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/identificationSymbol$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_identificationSymbol_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_identificationSymbol_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/identificationSymbol$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/identificationSymbol$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_identificationSymbol_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_identificationSymbol_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_identificationSymbol_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_identificationSymbol_delta_old";
        INSERT INTO "dbrdf_identificationSymbol_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_identificationSymbol_delta_new" t0;
        TRUNCATE TABLE "dbrdf_identificationSymbol_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1683
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_whaDraftTeam_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_whaDraftTeam_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_whaDraftTeam_delta_old" ON "dbrdf_whaDraftTeam_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_whaDraftTeam_delta_old" ON "dbrdf_whaDraftTeam_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_whaDraftTeam_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/whaDraftTeam$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/whaDraftTeam$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_whaDraftTeam_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_whaDraftTeam_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/whaDraftTeam$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/whaDraftTeam$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_whaDraftTeam_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_whaDraftTeam_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_whaDraftTeam_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_whaDraftTeam_delta_old";
        INSERT INTO "dbrdf_whaDraftTeam_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_whaDraftTeam_delta_new" t0;
        TRUNCATE TABLE "dbrdf_whaDraftTeam_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1684
    ---- DEPENDS ON: 1683, 1432, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/HockeyTeam>(?X1) :- <http://dbpedia.org/ontology/whaDraftTeam>(?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/HockeyTeam>(?X1) :- <http://dbpedia.org/ontology/prospectTeam>(?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;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_HockeyTeam_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_HockeyTeam_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_HockeyTeam_delta_old" ON "dbrdf_HockeyTeam_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_HockeyTeam_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/HockeyTeam$delta_new>(?Y) :- <http://dbpedia.org/ontology/HockeyTeam$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_HockeyTeam_delta_new"(s) SELECT t1.o FROM "dbrdf_HockeyTeam_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_HockeyTeam_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_HockeyTeam_delta_old";
        INSERT INTO "dbrdf_HockeyTeam_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_HockeyTeam_delta_new" t0;
        TRUNCATE TABLE "dbrdf_HockeyTeam_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_distanceToEdinburgh_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_distanceToEdinburgh_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28182;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_distanceToEdinburgh_delta_old" ON "dbrdf_distanceToEdinburgh_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_distanceToEdinburgh_delta_old" ON "dbrdf_distanceToEdinburgh_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_distanceToEdinburgh_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/distanceToEdinburgh$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/distanceToEdinburgh$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_distanceToEdinburgh_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_distanceToEdinburgh_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 = 28182 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/distanceToEdinburgh$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/distanceToEdinburgh$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_distanceToEdinburgh_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_distanceToEdinburgh_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 = 28182 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28182, t0.o FROM "dbrdf_distanceToEdinburgh_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_distanceToEdinburgh_delta_old";
        INSERT INTO "dbrdf_distanceToEdinburgh_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_distanceToEdinburgh_delta_new" t0;
        TRUNCATE TABLE "dbrdf_distanceToEdinburgh_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1686
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_precursor_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_precursor_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_precursor_delta_old" ON "dbrdf_precursor_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_precursor_delta_old" ON "dbrdf_precursor_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_precursor_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/precursor$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/precursor$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_precursor_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_precursor_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/precursor$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/precursor$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_precursor_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_precursor_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_precursor_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_precursor_delta_old";
        INSERT INTO "dbrdf_precursor_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_precursor_delta_new" t0;
        TRUNCATE TABLE "dbrdf_precursor_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1687
    ---- DEPENDS ON: 1686, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Embryology>(?X1) :- <http://dbpedia.org/ontology/precursor>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28184 FROM "__triples" t0 WHERE t0.p = 28183 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28184);
    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_Embryology_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Embryology_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28184;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Embryology_delta_old" ON "dbrdf_Embryology_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Embryology_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/Embryology$delta_new>(?Y) :- <http://dbpedia.org/ontology/Embryology$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Embryology_delta_new"(s) SELECT t1.o FROM "dbrdf_Embryology_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 = 28184);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28184 FROM "dbrdf_Embryology_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_Embryology_delta_old";
        INSERT INTO "dbrdf_Embryology_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Embryology_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Embryology_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_manxName_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_manxName_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28185;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_manxName_delta_old" ON "dbrdf_manxName_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_manxName_delta_old" ON "dbrdf_manxName_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_manxName_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/manxName$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/manxName$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_manxName_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_manxName_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 = 28185 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/manxName$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/manxName$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_manxName_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_manxName_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 = 28185 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28185, t0.o FROM "dbrdf_manxName_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_manxName_delta_old";
        INSERT INTO "dbrdf_manxName_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_manxName_delta_new" t0;
        TRUNCATE TABLE "dbrdf_manxName_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_daylightSavingTimeZone_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_daylightSavingTimeZone_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_daylightSavingTimeZone_delta_old" ON "dbrdf_daylightSavingTimeZone_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_daylightSavingTimeZone_delta_old" ON "dbrdf_daylightSavingTimeZone_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_daylightSavingTimeZone_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/daylightSavingTimeZone$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/daylightSavingTimeZone$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_daylightSavingTimeZone_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_daylightSavingTimeZone_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/daylightSavingTimeZone$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/daylightSavingTimeZone$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_daylightSavingTimeZone_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_daylightSavingTimeZone_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_daylightSavingTimeZone_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_daylightSavingTimeZone_delta_old";
        INSERT INTO "dbrdf_daylightSavingTimeZone_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_daylightSavingTimeZone_delta_new" t0;
        TRUNCATE TABLE "dbrdf_daylightSavingTimeZone_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_lowerAge_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lowerAge_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_lowerAge_delta_old" ON "dbrdf_lowerAge_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lowerAge_delta_old" ON "dbrdf_lowerAge_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lowerAge_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/lowerAge$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lowerAge$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lowerAge_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lowerAge_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/lowerAge$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lowerAge$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lowerAge_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lowerAge_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_lowerAge_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_lowerAge_delta_old";
        INSERT INTO "dbrdf_lowerAge_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lowerAge_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lowerAge_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_launchPad_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_launchPad_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_launchPad_delta_old" ON "dbrdf_launchPad_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_launchPad_delta_old" ON "dbrdf_launchPad_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_launchPad_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/launchPad$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/launchPad$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_launchPad_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_launchPad_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/launchPad$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/launchPad$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_launchPad_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_launchPad_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_launchPad_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_launchPad_delta_old";
        INSERT INTO "dbrdf_launchPad_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_launchPad_delta_new" t0;
        TRUNCATE TABLE "dbrdf_launchPad_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1692
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_maximumElevation_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_maximumElevation_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_maximumElevation_delta_old" ON "dbrdf_maximumElevation_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_maximumElevation_delta_old" ON "dbrdf_maximumElevation_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_maximumElevation_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/maximumElevation$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/maximumElevation$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_maximumElevation_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_maximumElevation_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/maximumElevation$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/maximumElevation$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_maximumElevation_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_maximumElevation_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_maximumElevation_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_maximumElevation_delta_old";
        INSERT INTO "dbrdf_maximumElevation_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_maximumElevation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_maximumElevation_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_associateEditor_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_associateEditor_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_associateEditor_delta_old" ON "dbrdf_associateEditor_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_associateEditor_delta_old" ON "dbrdf_associateEditor_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_associateEditor_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/associateEditor$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/associateEditor$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_associateEditor_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_associateEditor_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/associateEditor$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/associateEditor$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_associateEditor_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_associateEditor_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_associateEditor_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_associateEditor_delta_old";
        INSERT INTO "dbrdf_associateEditor_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_associateEditor_delta_new" t0;
        TRUNCATE TABLE "dbrdf_associateEditor_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1694
    ---- DEPENDS ON: 1693, 1119, 659, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Newspaper>(?X) :- <http://dbpedia.org/ontology/associateEditor>(?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;

    -- [Rule] <http://dbpedia.org/ontology/Newspaper>(?X) :- <http://dbpedia.org/ontology/managingEditor>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28191 FROM "__triples" t0 WHERE t0.p = 27605 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;

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

    -- [Rule] <http://dbpedia.org/ontology/Newspaper>(?X) :- <http://dbpedia.org/ontology/sisterNewspaper>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28191 FROM "__triples" t0 WHERE t0.p = 27141 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_Newspaper_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Newspaper_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_Newspaper_delta_old" ON "dbrdf_Newspaper_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Newspaper_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/Newspaper$delta_new>(?Y) :- <http://dbpedia.org/ontology/Newspaper$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Newspaper_delta_new"(s) SELECT t1.o FROM "dbrdf_Newspaper_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_Newspaper_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_Newspaper_delta_old";
        INSERT INTO "dbrdf_Newspaper_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Newspaper_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Newspaper_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_currentRank_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_currentRank_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_currentRank_delta_old" ON "dbrdf_currentRank_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_currentRank_delta_old" ON "dbrdf_currentRank_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_currentRank_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/currentRank$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/currentRank$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_currentRank_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_currentRank_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/currentRank$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/currentRank$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_currentRank_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_currentRank_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_currentRank_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_currentRank_delta_old";
        INSERT INTO "dbrdf_currentRank_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_currentRank_delta_new" t0;
        TRUNCATE TABLE "dbrdf_currentRank_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1696
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_LacrosseLeague_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_LacrosseLeague_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28193;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_LacrosseLeague_delta_old" ON "dbrdf_LacrosseLeague_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_LacrosseLeague_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/LacrosseLeague$delta_new>(?Y) :- <http://dbpedia.org/ontology/LacrosseLeague$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_LacrosseLeague_delta_new"(s) SELECT t1.o FROM "dbrdf_LacrosseLeague_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 = 28193);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28193 FROM "dbrdf_LacrosseLeague_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_LacrosseLeague_delta_old";
        INSERT INTO "dbrdf_LacrosseLeague_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_LacrosseLeague_delta_new" t0;
        TRUNCATE TABLE "dbrdf_LacrosseLeague_delta_new";

    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_BaseballLeague_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_BaseballLeague_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28194;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_BaseballLeague_delta_old" ON "dbrdf_BaseballLeague_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_BaseballLeague_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/BaseballLeague$delta_new>(?Y) :- <http://dbpedia.org/ontology/BaseballLeague$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_BaseballLeague_delta_new"(s) SELECT t1.o FROM "dbrdf_BaseballLeague_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 = 28194);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28194 FROM "dbrdf_BaseballLeague_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_BaseballLeague_delta_old";
        INSERT INTO "dbrdf_BaseballLeague_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_BaseballLeague_delta_new" t0;
        TRUNCATE TABLE "dbrdf_BaseballLeague_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_alpsSupergroup_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_alpsSupergroup_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28195;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_alpsSupergroup_delta_old" ON "dbrdf_alpsSupergroup_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_alpsSupergroup_delta_old" ON "dbrdf_alpsSupergroup_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_alpsSupergroup_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/alpsSupergroup$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/alpsSupergroup$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_alpsSupergroup_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_alpsSupergroup_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 = 28195 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/alpsSupergroup$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/alpsSupergroup$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_alpsSupergroup_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_alpsSupergroup_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 = 28195 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28195, t0.o FROM "dbrdf_alpsSupergroup_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_alpsSupergroup_delta_old";
        INSERT INTO "dbrdf_alpsSupergroup_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_alpsSupergroup_delta_new" t0;
        TRUNCATE TABLE "dbrdf_alpsSupergroup_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1699
    ---- DEPENDS ON: 1698, 1665, 1478, 998, 943, 782, 771, 330, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [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, 28196 FROM "__triples" t0 WHERE t0.p = 28195 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28196);
    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, 28196 FROM "__triples" t0 WHERE t0.p = 28162 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28196);
    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, 28196 FROM "__triples" t0 WHERE t0.p = 27968 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28196);
    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, 28196 FROM "__triples" t0 WHERE t0.p = 27428 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28196);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [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, 28196 FROM "__triples" t0 WHERE t0.p = 27483 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28196);
    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, 28196 FROM "__triples" t0 WHERE t0.p = 27254 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28196);
    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, 28196 FROM "__triples" t0 WHERE t0.p = 27265 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28196);
    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, 28196 FROM "__triples" t0 WHERE t0.p = 26812 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o 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_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 = 28196;
    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 = 28196);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28196 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 1700
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_significantProject_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_significantProject_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_significantProject_delta_old" ON "dbrdf_significantProject_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_significantProject_delta_old" ON "dbrdf_significantProject_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_significantProject_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/significantProject$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/significantProject$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_significantProject_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_significantProject_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/significantProject$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/significantProject$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_significantProject_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_significantProject_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_significantProject_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_significantProject_delta_old";
        INSERT INTO "dbrdf_significantProject_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_significantProject_delta_new" t0;
        TRUNCATE TABLE "dbrdf_significantProject_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1701
    ---- DEPENDS ON: 1700, 807, 660, 653, 0
    ----------------------------------------

    -- Nonrecursive rules

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

    -- [Rule] <http://dbpedia.org/ontology/Architect>(?X) :- <http://dbpedia.org/ontology/significantDesign>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28198 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 = 28198);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

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

    -- [Rule] <http://dbpedia.org/ontology/Architect>(?X1) :- <http://dbpedia.org/ontology/architect>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28198 FROM "__triples" t0 WHERE t0.p = 27135 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28198);
    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_Architect_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Architect_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28198;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Architect_delta_old" ON "dbrdf_Architect_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Architect_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/Architect$delta_new>(?Y) :- <http://dbpedia.org/ontology/Architect$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Architect_delta_new"(s) SELECT t1.o FROM "dbrdf_Architect_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 = 28198);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28198 FROM "dbrdf_Architect_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_Architect_delta_old";
        INSERT INTO "dbrdf_Architect_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Architect_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Architect_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_lifeExpectancy_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lifeExpectancy_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_lifeExpectancy_delta_old" ON "dbrdf_lifeExpectancy_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lifeExpectancy_delta_old" ON "dbrdf_lifeExpectancy_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lifeExpectancy_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/lifeExpectancy$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lifeExpectancy$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lifeExpectancy_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lifeExpectancy_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/lifeExpectancy$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lifeExpectancy$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lifeExpectancy_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lifeExpectancy_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_lifeExpectancy_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_lifeExpectancy_delta_old";
        INSERT INTO "dbrdf_lifeExpectancy_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lifeExpectancy_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lifeExpectancy_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1703
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Mineral_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Mineral_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_Mineral_delta_old" ON "dbrdf_Mineral_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Mineral_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/Mineral$delta_new>(?Y) :- <http://dbpedia.org/ontology/Mineral$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Mineral_delta_new"(s) SELECT t1.o FROM "dbrdf_Mineral_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_Mineral_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_Mineral_delta_old";
        INSERT INTO "dbrdf_Mineral_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Mineral_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Mineral_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1704
    ---- DEPENDS ON: 1703, 1058, 791, 578, 477, 107, 1080, 0
    ----------------------------------------

    -- Nonrecursive rules

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

    -- [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, 28201 FROM "__triples" t0 WHERE t0.p = 27060 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28201);
    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, 28201 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26959 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28201);
    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, 28201 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 = 28201);
    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, 28201 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27566 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28201);
    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 = 28201;
    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 = 28201);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28201 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 1705
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_notableFeatures_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_notableFeatures_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_notableFeatures_delta_old" ON "dbrdf_notableFeatures_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_notableFeatures_delta_old" ON "dbrdf_notableFeatures_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_notableFeatures_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/notableFeatures$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/notableFeatures$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_notableFeatures_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_notableFeatures_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/notableFeatures$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/notableFeatures$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_notableFeatures_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_notableFeatures_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_notableFeatures_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_notableFeatures_delta_old";
        INSERT INTO "dbrdf_notableFeatures_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_notableFeatures_delta_new" t0;
        TRUNCATE TABLE "dbrdf_notableFeatures_delta_new";

    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_sportSpecialty_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_sportSpecialty_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28203;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_sportSpecialty_delta_old" ON "dbrdf_sportSpecialty_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_sportSpecialty_delta_old" ON "dbrdf_sportSpecialty_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_sportSpecialty_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/sportSpecialty$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/sportSpecialty$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_sportSpecialty_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_sportSpecialty_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 = 28203 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/sportSpecialty$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/sportSpecialty$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_sportSpecialty_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_sportSpecialty_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 = 28203 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28203, t0.o FROM "dbrdf_sportSpecialty_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_sportSpecialty_delta_old";
        INSERT INTO "dbrdf_sportSpecialty_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_sportSpecialty_delta_new" t0;
        TRUNCATE TABLE "dbrdf_sportSpecialty_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1707
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_fourthCommander_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_fourthCommander_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28204;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_fourthCommander_delta_old" ON "dbrdf_fourthCommander_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_fourthCommander_delta_old" ON "dbrdf_fourthCommander_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_fourthCommander_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/fourthCommander$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/fourthCommander$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_fourthCommander_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_fourthCommander_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 = 28204 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/fourthCommander$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/fourthCommander$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_fourthCommander_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_fourthCommander_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 = 28204 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28204, t0.o FROM "dbrdf_fourthCommander_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_fourthCommander_delta_old";
        INSERT INTO "dbrdf_fourthCommander_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_fourthCommander_delta_new" t0;
        TRUNCATE TABLE "dbrdf_fourthCommander_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_maidenVoyage_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_maidenVoyage_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_maidenVoyage_delta_old" ON "dbrdf_maidenVoyage_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_maidenVoyage_delta_old" ON "dbrdf_maidenVoyage_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_maidenVoyage_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/maidenVoyage$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/maidenVoyage$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_maidenVoyage_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_maidenVoyage_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/maidenVoyage$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/maidenVoyage$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_maidenVoyage_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_maidenVoyage_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_maidenVoyage_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_maidenVoyage_delta_old";
        INSERT INTO "dbrdf_maidenVoyage_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_maidenVoyage_delta_new" t0;
        TRUNCATE TABLE "dbrdf_maidenVoyage_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1709
    ---- DEPENDS ON: 1708, 1396, 1350, 1059, 1036, 1019, 889, 882, 790, 728, 687, 389, 232, 205, 174, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Ship>(?X) :- <http://dbpedia.org/ontology/shipBeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28206 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 = 28206);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

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

    -- [Rule] <http://dbpedia.org/ontology/Ship>(?X) :- <http://dbpedia.org/ontology/recommissioningDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28206 FROM "__triples" t0 WHERE t0.p = 27373 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28206);
    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_Ship_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Ship_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28206;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Ship_delta_old" ON "dbrdf_Ship_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Ship_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/Ship$delta_new>(?Y) :- <http://dbpedia.org/ontology/Ship$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Ship_delta_new"(s) SELECT t1.o FROM "dbrdf_Ship_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 = 28206);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28206 FROM "dbrdf_Ship_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_Ship_delta_old";
        INSERT INTO "dbrdf_Ship_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Ship_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Ship_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_followingEvent_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_followingEvent_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_followingEvent_delta_old" ON "dbrdf_followingEvent_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_followingEvent_delta_old" ON "dbrdf_followingEvent_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_followingEvent_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/followingEvent$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/followingEvent$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_followingEvent_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_followingEvent_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/followingEvent$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/followingEvent$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_followingEvent_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_followingEvent_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_followingEvent_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_followingEvent_delta_old";
        INSERT INTO "dbrdf_followingEvent_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_followingEvent_delta_new" t0;
        TRUNCATE TABLE "dbrdf_followingEvent_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_Insect_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Insect_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_Insect_delta_old" ON "dbrdf_Insect_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Insect_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/Insect$delta_new>(?Y) :- <http://dbpedia.org/ontology/Insect$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Insect_delta_new"(s) SELECT t1.o FROM "dbrdf_Insect_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_Insect_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_Insect_delta_old";
        INSERT INTO "dbrdf_Insect_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Insect_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Insect_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1712
    ---- DEPENDS ON: 1711, 1470, 1450, 1358, 1294, 620, 600, 417, 334, 324, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Animal>(?X) :- <http://dbpedia.org/ontology/Mammal>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28209 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26806 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28209);
    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_Animal_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Animal_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28209;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Animal_delta_old" ON "dbrdf_Animal_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Animal_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/Animal$delta_new>(?Y) :- <http://dbpedia.org/ontology/Animal$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Animal_delta_new"(s) SELECT t1.o FROM "dbrdf_Animal_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 = 28209);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28209 FROM "dbrdf_Animal_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_Animal_delta_old";
        INSERT INTO "dbrdf_Animal_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Animal_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Animal_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_recentWinner_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_recentWinner_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_recentWinner_delta_old" ON "dbrdf_recentWinner_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_recentWinner_delta_old" ON "dbrdf_recentWinner_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_recentWinner_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/recentWinner$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/recentWinner$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_recentWinner_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_recentWinner_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/recentWinner$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/recentWinner$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_recentWinner_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_recentWinner_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_recentWinner_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_recentWinner_delta_old";
        INSERT INTO "dbrdf_recentWinner_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_recentWinner_delta_new" t0;
        TRUNCATE TABLE "dbrdf_recentWinner_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1714
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_philosophicalSchool_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_philosophicalSchool_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_philosophicalSchool_delta_old" ON "dbrdf_philosophicalSchool_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_philosophicalSchool_delta_old" ON "dbrdf_philosophicalSchool_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_philosophicalSchool_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/philosophicalSchool$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/philosophicalSchool$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_philosophicalSchool_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_philosophicalSchool_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/philosophicalSchool$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/philosophicalSchool$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_philosophicalSchool_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_philosophicalSchool_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_philosophicalSchool_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_philosophicalSchool_delta_old";
        INSERT INTO "dbrdf_philosophicalSchool_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_philosophicalSchool_delta_new" t0;
        TRUNCATE TABLE "dbrdf_philosophicalSchool_delta_new";

    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_whaDraft_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_whaDraft_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_whaDraft_delta_old" ON "dbrdf_whaDraft_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_whaDraft_delta_old" ON "dbrdf_whaDraft_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_whaDraft_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/whaDraft$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/whaDraft$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_whaDraft_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_whaDraft_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/whaDraft$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/whaDraft$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_whaDraft_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_whaDraft_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_whaDraft_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_whaDraft_delta_old";
        INSERT INTO "dbrdf_whaDraft_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_whaDraft_delta_new" t0;
        TRUNCATE TABLE "dbrdf_whaDraft_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1716
    ---- DEPENDS ON: 1715, 1683, 1432, 1192, 1039, 474, 281, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/IceHockeyPlayer>(?X) :- <http://dbpedia.org/ontology/prospectLeague>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28213 FROM "__triples" t0 WHERE t0.p = 27678 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28213);
    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_IceHockeyPlayer_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_IceHockeyPlayer_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28213;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_IceHockeyPlayer_delta_old" ON "dbrdf_IceHockeyPlayer_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_IceHockeyPlayer_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/IceHockeyPlayer$delta_new>(?Y) :- <http://dbpedia.org/ontology/IceHockeyPlayer$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_IceHockeyPlayer_delta_new"(s) SELECT t1.o FROM "dbrdf_IceHockeyPlayer_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 = 28213);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28213 FROM "dbrdf_IceHockeyPlayer_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_IceHockeyPlayer_delta_old";
        INSERT INTO "dbrdf_IceHockeyPlayer_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_IceHockeyPlayer_delta_new" t0;
        TRUNCATE TABLE "dbrdf_IceHockeyPlayer_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_tenant_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_tenant_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_tenant_delta_old" ON "dbrdf_tenant_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_tenant_delta_old" ON "dbrdf_tenant_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_tenant_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/tenant$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/tenant$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_tenant_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_tenant_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/tenant$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/tenant$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_tenant_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_tenant_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_tenant_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_tenant_delta_old";
        INSERT INTO "dbrdf_tenant_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_tenant_delta_new" t0;
        TRUNCATE TABLE "dbrdf_tenant_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_result_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_result_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28215;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_result_delta_old" ON "dbrdf_result_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_result_delta_old" ON "dbrdf_result_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_result_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/result$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/result$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_result_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_result_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 = 28215 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/result$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/result$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_result_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_result_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 = 28215 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28215, t0.o FROM "dbrdf_result_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_result_delta_old";
        INSERT INTO "dbrdf_result_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_result_delta_new" t0;
        TRUNCATE TABLE "dbrdf_result_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1719
    ---- DEPENDS ON: 1718, 1511, 1169, 835, 740, 623, 428, 419, 388, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/MilitaryConflict>(?X1) :- <http://dbpedia.org/ontology/usedInWar>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28216 FROM "__triples" t0 WHERE t0.p = 28002 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/MilitaryConflict>(?X) :- <http://dbpedia.org/ontology/territory>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27655 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/MilitaryConflict>(?X) :- <http://dbpedia.org/ontology/isPartOfMilitaryConflict>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27318 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/MilitaryConflict>(?X) :- <http://dbpedia.org/ontology/causalties>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27223 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/MilitaryConflict>(?X1) :- <http://dbpedia.org/ontology/battle>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27105 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/MilitaryConflict>(?X) :- <http://dbpedia.org/ontology/result>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 28215 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/MilitaryConflict>(?X) :- <http://dbpedia.org/ontology/place>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 26901 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/MilitaryConflict>(?X1) :- <http://dbpedia.org/ontology/isPartOfMilitaryConflict>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28216 FROM "__triples" t0 WHERE t0.p = 27318 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/MilitaryConflict>(?X) :- <http://dbpedia.org/ontology/combatant>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 26910 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/MilitaryConflict>(?X) :- <http://dbpedia.org/ontology/strength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "__triples" t0 WHERE t0.p = 26870 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_MilitaryConflict_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_MilitaryConflict_delta_old"(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_MilitaryConflict_delta_old" ON "dbrdf_MilitaryConflict_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_MilitaryConflict_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/MilitaryConflict$delta_new>(?Y) :- <http://dbpedia.org/ontology/MilitaryConflict$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_MilitaryConflict_delta_new"(s) SELECT t1.o FROM "dbrdf_MilitaryConflict_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 = 28216);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28216 FROM "dbrdf_MilitaryConflict_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_MilitaryConflict_delta_old";
        INSERT INTO "dbrdf_MilitaryConflict_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_MilitaryConflict_delta_new" t0;
        TRUNCATE TABLE "dbrdf_MilitaryConflict_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_associateStar_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_associateStar_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_associateStar_delta_old" ON "dbrdf_associateStar_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_associateStar_delta_old" ON "dbrdf_associateStar_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_associateStar_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/associateStar$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/associateStar$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_associateStar_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_associateStar_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/associateStar$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/associateStar$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_associateStar_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_associateStar_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_associateStar_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_associateStar_delta_old";
        INSERT INTO "dbrdf_associateStar_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_associateStar_delta_new" t0;
        TRUNCATE TABLE "dbrdf_associateStar_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1721
    ---- DEPENDS ON: 1720, 1535, 1399, 610, 552, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Constellation>(?X) :- <http://dbpedia.org/ontology/rightAscension>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28218 FROM "__triples" t0 WHERE t0.p = 27034 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28218);
    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_Constellation_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Constellation_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28218;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Constellation_delta_old" ON "dbrdf_Constellation_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Constellation_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/Constellation$delta_new>(?Y) :- <http://dbpedia.org/ontology/Constellation$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Constellation_delta_new"(s) SELECT t1.o FROM "dbrdf_Constellation_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 = 28218);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28218 FROM "dbrdf_Constellation_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_Constellation_delta_old";
        INSERT INTO "dbrdf_Constellation_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Constellation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Constellation_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1722
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_parkingInformation_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_parkingInformation_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_parkingInformation_delta_old" ON "dbrdf_parkingInformation_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_parkingInformation_delta_old" ON "dbrdf_parkingInformation_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_parkingInformation_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/parkingInformation$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/parkingInformation$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_parkingInformation_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_parkingInformation_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/parkingInformation$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/parkingInformation$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_parkingInformation_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_parkingInformation_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_parkingInformation_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_parkingInformation_delta_old";
        INSERT INTO "dbrdf_parkingInformation_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_parkingInformation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_parkingInformation_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_hairColor_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_hairColor_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_hairColor_delta_old" ON "dbrdf_hairColor_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_hairColor_delta_old" ON "dbrdf_hairColor_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_hairColor_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/hairColor$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/hairColor$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_hairColor_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_hairColor_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/hairColor$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/hairColor$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_hairColor_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_hairColor_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_hairColor_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_hairColor_delta_old";
        INSERT INTO "dbrdf_hairColor_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_hairColor_delta_new" t0;
        TRUNCATE TABLE "dbrdf_hairColor_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_introduced_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_introduced_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_introduced_delta_old" ON "dbrdf_introduced_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_introduced_delta_old" ON "dbrdf_introduced_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_introduced_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/introduced$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/introduced$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_introduced_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_introduced_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/introduced$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/introduced$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_introduced_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_introduced_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_introduced_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_introduced_delta_old";
        INSERT INTO "dbrdf_introduced_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_introduced_delta_new" t0;
        TRUNCATE TABLE "dbrdf_introduced_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_Chancellor_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Chancellor_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28222;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Chancellor_delta_old" ON "dbrdf_Chancellor_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Chancellor_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/Chancellor$delta_new>(?Y) :- <http://dbpedia.org/ontology/Chancellor$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Chancellor_delta_new"(s) SELECT t1.o FROM "dbrdf_Chancellor_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 = 28222);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28222 FROM "dbrdf_Chancellor_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_Chancellor_delta_old";
        INSERT INTO "dbrdf_Chancellor_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Chancellor_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Chancellor_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1726
    ---- DEPENDS ON: 1725, 1107, 987, 949, 874, 639, 368, 304, 275, 146, 84, 68, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Politician>(?X) :- <http://dbpedia.org/ontology/Chancellor>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 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/Politician>(?X) :- <http://dbpedia.org/ontology/Mayor>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27593 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/Politician>(?X) :- <http://dbpedia.org/ontology/Congressman>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27472 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/Politician>(?X) :- <http://dbpedia.org/ontology/VicePrimeMinister>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27434 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/Politician>(?X) :- <http://dbpedia.org/ontology/MemberOfParliament>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27357 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/Politician>(?X) :- <http://dbpedia.org/ontology/Senator>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27121 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/Politician>(?X) :- <http://dbpedia.org/ontology/President>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26850 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/Politician>(?X) :- <http://dbpedia.org/ontology/Lieutenant>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26786 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/Politician>(?X) :- <http://dbpedia.org/ontology/PrimeMinister>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26757 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/Politician>(?X) :- <http://dbpedia.org/ontology/Governor>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26628 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/Politician>(?X) :- <http://dbpedia.org/ontology/Deputy>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26566 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/Politician>(?X) :- <http://dbpedia.org/ontology/VicePresident>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28223 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26550 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_Politician_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Politician_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_Politician_delta_old" ON "dbrdf_Politician_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Politician_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/Politician$delta_new>(?Y) :- <http://dbpedia.org/ontology/Politician$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Politician_delta_new"(s) SELECT t1.o FROM "dbrdf_Politician_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_Politician_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_Politician_delta_old";
        INSERT INTO "dbrdf_Politician_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Politician_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Politician_delta_new";

    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_alliance_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_alliance_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28224;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_alliance_delta_old" ON "dbrdf_alliance_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_alliance_delta_old" ON "dbrdf_alliance_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_alliance_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/alliance$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/alliance$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_alliance_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_alliance_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 = 28224 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/alliance$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/alliance$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_alliance_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_alliance_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 = 28224 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28224, t0.o FROM "dbrdf_alliance_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_alliance_delta_old";
        INSERT INTO "dbrdf_alliance_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_alliance_delta_new" t0;
        TRUNCATE TABLE "dbrdf_alliance_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1728
    ---- DEPENDS ON: 1727, 712, 453, 213, 14, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [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, 28225 FROM "__triples" t0 WHERE t0.p = 28224 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28225);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [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, 28225 FROM "__triples" t0 WHERE t0.p = 27195 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28225);
    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, 28225 FROM "__triples" t0 WHERE t0.p = 26935 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28225);
    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, 28225 FROM "__triples" t0 WHERE t0.p = 26695 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28225);
    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, 28225 FROM "__triples" t0 WHERE t0.p = 26495 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28225);
    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 = 28225;
    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 = 28225);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28225 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 1729
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_youthClub_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_youthClub_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_youthClub_delta_old" ON "dbrdf_youthClub_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_youthClub_delta_old" ON "dbrdf_youthClub_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_youthClub_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/youthClub$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/youthClub$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_youthClub_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_youthClub_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/youthClub$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/youthClub$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_youthClub_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_youthClub_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_youthClub_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_youthClub_delta_old";
        INSERT INTO "dbrdf_youthClub_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_youthClub_delta_new" t0;
        TRUNCATE TABLE "dbrdf_youthClub_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1730
    ---- DEPENDS ON: 1179, 566, 468, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [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, 28227 FROM "__triples" t0 WHERE t0.p = 27665 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28227);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [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, 28227 FROM "__triples" t0 WHERE t0.p = 27048 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28227);
    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, 28227 FROM "__triples" t0 WHERE t0.p = 26950 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28227);
    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, 28227 FROM "__triples" t0 WHERE t0.p = 26950 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28227);
    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 = 28227;
    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 = 28227);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28227 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 1731
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_fastestDriverCountry_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_fastestDriverCountry_delta_old"(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_fastestDriverCountry_delta_old" ON "dbrdf_fastestDriverCountry_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_fastestDriverCountry_delta_old" ON "dbrdf_fastestDriverCountry_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_fastestDriverCountry_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/fastestDriverCountry$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/fastestDriverCountry$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_fastestDriverCountry_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_fastestDriverCountry_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 = 28228 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/fastestDriverCountry$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/fastestDriverCountry$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_fastestDriverCountry_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_fastestDriverCountry_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 = 28228 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28228, t0.o FROM "dbrdf_fastestDriverCountry_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_fastestDriverCountry_delta_old";
        INSERT INTO "dbrdf_fastestDriverCountry_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_fastestDriverCountry_delta_new" t0;
        TRUNCATE TABLE "dbrdf_fastestDriverCountry_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1732
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_releaseDate_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_releaseDate_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_releaseDate_delta_old" ON "dbrdf_releaseDate_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_releaseDate_delta_old" ON "dbrdf_releaseDate_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_releaseDate_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/releaseDate$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/releaseDate$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_releaseDate_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_releaseDate_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/releaseDate$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/releaseDate$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_releaseDate_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_releaseDate_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_releaseDate_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_releaseDate_delta_old";
        INSERT INTO "dbrdf_releaseDate_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_releaseDate_delta_new" t0;
        TRUNCATE TABLE "dbrdf_releaseDate_delta_new";

    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_centuryBreaks_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_centuryBreaks_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_centuryBreaks_delta_old" ON "dbrdf_centuryBreaks_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_centuryBreaks_delta_old" ON "dbrdf_centuryBreaks_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_centuryBreaks_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/centuryBreaks$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/centuryBreaks$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_centuryBreaks_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_centuryBreaks_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/centuryBreaks$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/centuryBreaks$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_centuryBreaks_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_centuryBreaks_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_centuryBreaks_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_centuryBreaks_delta_old";
        INSERT INTO "dbrdf_centuryBreaks_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_centuryBreaks_delta_new" t0;
        TRUNCATE TABLE "dbrdf_centuryBreaks_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1734
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_surfaceArea_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_surfaceArea_delta_old0"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28231;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_surfaceArea_delta_old0" ON "dbrdf_surfaceArea_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_surfaceArea_delta_old0" ON "dbrdf_surfaceArea_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_surfaceArea_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/surfaceArea$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/surfaceArea$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_surfaceArea_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_surfaceArea_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 = 28231 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/surfaceArea$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/surfaceArea$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_surfaceArea_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_surfaceArea_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 = 28231 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28231, t0.o FROM "dbrdf_surfaceArea_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_surfaceArea_delta_old0";
        INSERT INTO "dbrdf_surfaceArea_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_surfaceArea_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_surfaceArea_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1735
    ---- DEPENDS ON: 1421, 1286, 849, 839, 796, 487, 446, 398, 392, 191, 144, 38, 3, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Language>(?X) :- <http://dbpedia.org/ontology/languageFamily>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28232 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 = 28232);
    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_Language_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Language_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28232;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Language_delta_old" ON "dbrdf_Language_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Language_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Language_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Language_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28233;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Language_delta_old0" ON "dbrdf_Language_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Language_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/Language$delta_new>(?X) :- <http://schema.org/Language$delta_old>(?X) .
        INSERT INTO "dbrdf_Language_delta_new"(s) SELECT t0.s FROM "dbrdf_Language_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28232);


        -- <http://dbpedia.org/ontology/Language$delta_new>(?Y) :- <http://dbpedia.org/ontology/Language$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Language_delta_new"(s) SELECT t1.o FROM "dbrdf_Language_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 = 28232);


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


        -- <http://schema.org/Language$delta_new>(?Y) :- <http://schema.org/Language$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Language_delta_new0"(s) SELECT t1.o FROM "dbrdf_Language_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 = 28233);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28232 FROM "dbrdf_Language_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_Language_delta_old";
        INSERT INTO "dbrdf_Language_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Language_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Language_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28233 FROM "dbrdf_Language_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_Language_delta_old0";
        INSERT INTO "dbrdf_Language_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Language_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Language_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1736
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_distanceTraveled_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_distanceTraveled_delta_old0"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28234;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_distanceTraveled_delta_old0" ON "dbrdf_distanceTraveled_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_distanceTraveled_delta_old0" ON "dbrdf_distanceTraveled_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_distanceTraveled_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/distanceTraveled$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/distanceTraveled$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_distanceTraveled_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_distanceTraveled_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 = 28234 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/distanceTraveled$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/distanceTraveled$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_distanceTraveled_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_distanceTraveled_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 = 28234 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28234, t0.o FROM "dbrdf_distanceTraveled_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_distanceTraveled_delta_old0";
        INSERT INTO "dbrdf_distanceTraveled_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_distanceTraveled_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_distanceTraveled_delta_new0";

    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_secondCommander_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_secondCommander_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28235;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_secondCommander_delta_old" ON "dbrdf_secondCommander_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_secondCommander_delta_old" ON "dbrdf_secondCommander_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_secondCommander_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/secondCommander$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/secondCommander$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_secondCommander_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_secondCommander_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 = 28235 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/secondCommander$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/secondCommander$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_secondCommander_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_secondCommander_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 = 28235 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28235, t0.o FROM "dbrdf_secondCommander_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_secondCommander_delta_old";
        INSERT INTO "dbrdf_secondCommander_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_secondCommander_delta_new" t0;
        TRUNCATE TABLE "dbrdf_secondCommander_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_lowestPlace_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lowestPlace_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_lowestPlace_delta_old" ON "dbrdf_lowestPlace_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lowestPlace_delta_old" ON "dbrdf_lowestPlace_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lowestPlace_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/lowestPlace$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lowestPlace$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lowestPlace_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lowestPlace_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/lowestPlace$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/lowestPlace$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_lowestPlace_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_lowestPlace_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_lowestPlace_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_lowestPlace_delta_old";
        INSERT INTO "dbrdf_lowestPlace_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_lowestPlace_delta_new" t0;
        TRUNCATE TABLE "dbrdf_lowestPlace_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_frazioni_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_frazioni_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28237;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_frazioni_delta_old" ON "dbrdf_frazioni_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_frazioni_delta_old" ON "dbrdf_frazioni_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_frazioni_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/frazioni$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/frazioni$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_frazioni_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_frazioni_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 = 28237 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/frazioni$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/frazioni$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_frazioni_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_frazioni_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 = 28237 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28237, t0.o FROM "dbrdf_frazioni_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_frazioni_delta_old";
        INSERT INTO "dbrdf_frazioni_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_frazioni_delta_new" t0;
        TRUNCATE TABLE "dbrdf_frazioni_delta_new";

    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_unicode_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_unicode_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_unicode_delta_old" ON "dbrdf_unicode_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_unicode_delta_old" ON "dbrdf_unicode_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_unicode_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/unicode$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/unicode$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_unicode_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_unicode_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/unicode$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/unicode$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_unicode_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_unicode_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_unicode_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_unicode_delta_old";
        INSERT INTO "dbrdf_unicode_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_unicode_delta_new" t0;
        TRUNCATE TABLE "dbrdf_unicode_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1741
    ---- DEPENDS ON: 1740, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Letter>(?X) :- <http://dbpedia.org/ontology/unicode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28239 FROM "__triples" t0 WHERE t0.p = 28238 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_Letter_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Letter_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_Letter_delta_old" ON "dbrdf_Letter_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Letter_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/Letter$delta_new>(?Y) :- <http://dbpedia.org/ontology/Letter$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Letter_delta_new"(s) SELECT t1.o FROM "dbrdf_Letter_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_Letter_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_Letter_delta_old";
        INSERT INTO "dbrdf_Letter_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Letter_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Letter_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_tournamentRecord_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_tournamentRecord_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_tournamentRecord_delta_old" ON "dbrdf_tournamentRecord_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_tournamentRecord_delta_old" ON "dbrdf_tournamentRecord_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_tournamentRecord_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/tournamentRecord$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/tournamentRecord$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_tournamentRecord_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_tournamentRecord_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/tournamentRecord$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/tournamentRecord$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_tournamentRecord_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_tournamentRecord_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_tournamentRecord_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_tournamentRecord_delta_old";
        INSERT INTO "dbrdf_tournamentRecord_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_tournamentRecord_delta_new" t0;
        TRUNCATE TABLE "dbrdf_tournamentRecord_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1743
    ---- DEPENDS ON: 1742, 1199, 589, 576, 535, 261, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/CollegeCoach>(?X) :- <http://dbpedia.org/ontology/tournamentRecord>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28241 FROM "__triples" t0 WHERE t0.p = 28240 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28241);
    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_CollegeCoach_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_CollegeCoach_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28241;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_CollegeCoach_delta_old" ON "dbrdf_CollegeCoach_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_CollegeCoach_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/CollegeCoach$delta_new>(?Y) :- <http://dbpedia.org/ontology/CollegeCoach$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_CollegeCoach_delta_new"(s) SELECT t1.o FROM "dbrdf_CollegeCoach_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 = 28241);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28241 FROM "dbrdf_CollegeCoach_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_CollegeCoach_delta_old";
        INSERT INTO "dbrdf_CollegeCoach_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_CollegeCoach_delta_new" t0;
        TRUNCATE TABLE "dbrdf_CollegeCoach_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_principalEngineer_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_principalEngineer_delta_old"(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_principalEngineer_delta_old" ON "dbrdf_principalEngineer_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_principalEngineer_delta_old" ON "dbrdf_principalEngineer_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_principalEngineer_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/principalEngineer$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/principalEngineer$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_principalEngineer_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_principalEngineer_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 = 28242 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/principalEngineer$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/principalEngineer$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_principalEngineer_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_principalEngineer_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 = 28242 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28242, t0.o FROM "dbrdf_principalEngineer_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_principalEngineer_delta_old";
        INSERT INTO "dbrdf_principalEngineer_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_principalEngineer_delta_new" t0;
        TRUNCATE TABLE "dbrdf_principalEngineer_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_premierePlace_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_premierePlace_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_premierePlace_delta_old" ON "dbrdf_premierePlace_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_premierePlace_delta_old" ON "dbrdf_premierePlace_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_premierePlace_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/premierePlace$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/premierePlace$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_premierePlace_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_premierePlace_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/premierePlace$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/premierePlace$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_premierePlace_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_premierePlace_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_premierePlace_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_premierePlace_delta_old";
        INSERT INTO "dbrdf_premierePlace_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_premierePlace_delta_new" t0;
        TRUNCATE TABLE "dbrdf_premierePlace_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1746
    ---- DEPENDS ON: 1745, 1441, 1096, 838, 775, 697, 449, 418, 373, 158, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/Play>(?X) :- <http://dbpedia.org/ontology/premierePlace>(?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/Play>(?X) :- <http://dbpedia.org/ontology/characterInPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27931 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/Play>(?X) :- <http://dbpedia.org/ontology/muteCharacterInPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27582 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/Play>(?X) :- <http://dbpedia.org/ontology/chorusCharacterInPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27321 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/Play>(?X) :- <http://dbpedia.org/ontology/settingOfPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27180 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/Play>(?X) :- <http://dbpedia.org/ontology/subjectOfPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 26931 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/Play>(?X) :- <http://dbpedia.org/ontology/ibdbId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 26855 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/Play>(?X) :- <http://dbpedia.org/ontology/iobdbId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 26900 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/Play>(?X) :- <http://dbpedia.org/ontology/premiereYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 27258 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/Play>(?X) :- <http://dbpedia.org/ontology/premiereDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28244 FROM "__triples" t0 WHERE t0.p = 26640 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;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_Play_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Play_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_Play_delta_old" ON "dbrdf_Play_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Play_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/Play$delta_new>(?Y) :- <http://dbpedia.org/ontology/Play$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Play_delta_new"(s) SELECT t1.o FROM "dbrdf_Play_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_Play_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_Play_delta_old";
        INSERT INTO "dbrdf_Play_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Play_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Play_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_imdbId_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_imdbId_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_imdbId_delta_old" ON "dbrdf_imdbId_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_imdbId_delta_old" ON "dbrdf_imdbId_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_imdbId_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/imdbId$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/imdbId$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_imdbId_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_imdbId_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/imdbId$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/imdbId$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_imdbId_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_imdbId_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_imdbId_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_imdbId_delta_old";
        INSERT INTO "dbrdf_imdbId_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_imdbId_delta_new" t0;
        TRUNCATE TABLE "dbrdf_imdbId_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1748
    ---- DEPENDS ON: 1747, 1536, 1477, 1405, 1386, 1257, 1170, 1027, 925, 887, 718, 693, 636, 611, 568, 547, 504, 450, 443, 409, 310, 299, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Film>(?X) :- <http://dbpedia.org/ontology/costumeDesigner>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28247 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 = 28247);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

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

    -- [Rule] <http://dbpedia.org/ontology/Film>(?X) :- <http://dbpedia.org/ontology/filmPolskiId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28247 FROM "__triples" t0 WHERE t0.p = 26792 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28247);
    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_Movie_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Movie_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28246;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Movie_delta_old" ON "dbrdf_Movie_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Movie_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Film_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Film_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28247;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Film_delta_old" ON "dbrdf_Film_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Film_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/Movie$delta_new>(?X) :- <http://dbpedia.org/ontology/Film$delta_old>(?X) .
        INSERT INTO "dbrdf_Movie_delta_new"(s) SELECT t0.s FROM "dbrdf_Film_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28246);


        -- <http://schema.org/Movie$delta_new>(?Y) :- <http://schema.org/Movie$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Movie_delta_new"(s) SELECT t1.o FROM "dbrdf_Movie_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 = 28246);


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


        -- <http://dbpedia.org/ontology/Film$delta_new>(?Y) :- <http://dbpedia.org/ontology/Film$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Film_delta_new"(s) SELECT t1.o FROM "dbrdf_Film_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 = 28247);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28246 FROM "dbrdf_Movie_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_Movie_delta_old";
        INSERT INTO "dbrdf_Movie_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Movie_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Movie_delta_new";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28247 FROM "dbrdf_Film_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_Film_delta_old";
        INSERT INTO "dbrdf_Film_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Film_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Film_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_Asteroid_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Asteroid_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28248;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Asteroid_delta_old" ON "dbrdf_Asteroid_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Asteroid_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/Asteroid$delta_new>(?Y) :- <http://dbpedia.org/ontology/Asteroid$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Asteroid_delta_new"(s) SELECT t1.o FROM "dbrdf_Asteroid_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 = 28248);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28248 FROM "dbrdf_Asteroid_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_Asteroid_delta_old";
        INSERT INTO "dbrdf_Asteroid_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_Asteroid_delta_new" t0;
        TRUNCATE TABLE "dbrdf_Asteroid_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_sourceConfluenceState_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_sourceConfluenceState_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_sourceConfluenceState_delta_old" ON "dbrdf_sourceConfluenceState_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_sourceConfluenceState_delta_old" ON "dbrdf_sourceConfluenceState_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_sourceConfluenceState_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/sourceConfluenceState$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/sourceConfluenceState$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_sourceConfluenceState_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_sourceConfluenceState_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/sourceConfluenceState$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/sourceConfluenceState$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_sourceConfluenceState_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_sourceConfluenceState_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_sourceConfluenceState_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_sourceConfluenceState_delta_old";
        INSERT INTO "dbrdf_sourceConfluenceState_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_sourceConfluenceState_delta_new" t0;
        TRUNCATE TABLE "dbrdf_sourceConfluenceState_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_sourceElevation_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_sourceElevation_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_sourceElevation_delta_old" ON "dbrdf_sourceElevation_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_sourceElevation_delta_old" ON "dbrdf_sourceElevation_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_sourceElevation_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/sourceElevation$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/sourceElevation$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_sourceElevation_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_sourceElevation_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/sourceElevation$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/sourceElevation$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_sourceElevation_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_sourceElevation_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_sourceElevation_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_sourceElevation_delta_old";
        INSERT INTO "dbrdf_sourceElevation_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_sourceElevation_delta_new" t0;
        TRUNCATE TABLE "dbrdf_sourceElevation_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1752
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_endingTheme_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_endingTheme_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_endingTheme_delta_old" ON "dbrdf_endingTheme_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_endingTheme_delta_old" ON "dbrdf_endingTheme_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_endingTheme_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/endingTheme$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/endingTheme$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_endingTheme_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_endingTheme_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/endingTheme$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/endingTheme$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_endingTheme_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_endingTheme_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_endingTheme_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_endingTheme_delta_old";
        INSERT INTO "dbrdf_endingTheme_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_endingTheme_delta_new" t0;
        TRUNCATE TABLE "dbrdf_endingTheme_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1753
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_influencedBy_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_influencedBy_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_influencedBy_delta_old" ON "dbrdf_influencedBy_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_influencedBy_delta_old" ON "dbrdf_influencedBy_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_influencedBy_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/influencedBy$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/influencedBy$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_influencedBy_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_influencedBy_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/influencedBy$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/influencedBy$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_influencedBy_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_influencedBy_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_influencedBy_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_influencedBy_delta_old";
        INSERT INTO "dbrdf_influencedBy_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_influencedBy_delta_new" t0;
        TRUNCATE TABLE "dbrdf_influencedBy_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_populationMetro_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_populationMetro_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_populationMetro_delta_old" ON "dbrdf_populationMetro_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_populationMetro_delta_old" ON "dbrdf_populationMetro_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_populationMetro_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/populationMetro$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/populationMetro$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_populationMetro_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_populationMetro_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/populationMetro$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/populationMetro$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_populationMetro_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_populationMetro_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_populationMetro_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_populationMetro_delta_old";
        INSERT INTO "dbrdf_populationMetro_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_populationMetro_delta_new" t0;
        TRUNCATE TABLE "dbrdf_populationMetro_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_speedLimit_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_speedLimit_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_speedLimit_delta_old" ON "dbrdf_speedLimit_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_speedLimit_delta_old" ON "dbrdf_speedLimit_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_speedLimit_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/speedLimit$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/speedLimit$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_speedLimit_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_speedLimit_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/speedLimit$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/speedLimit$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_speedLimit_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_speedLimit_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_speedLimit_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_speedLimit_delta_old";
        INSERT INTO "dbrdf_speedLimit_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_speedLimit_delta_new" t0;
        TRUNCATE TABLE "dbrdf_speedLimit_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_wavelength_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_wavelength_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28255;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_wavelength_delta_old" ON "dbrdf_wavelength_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_wavelength_delta_old" ON "dbrdf_wavelength_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_wavelength_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/wavelength$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/wavelength$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_wavelength_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_wavelength_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 = 28255 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/wavelength$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/wavelength$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_wavelength_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_wavelength_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 = 28255 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28255, t0.o FROM "dbrdf_wavelength_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_wavelength_delta_old";
        INSERT INTO "dbrdf_wavelength_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_wavelength_delta_new" t0;
        TRUNCATE TABLE "dbrdf_wavelength_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_contractAward_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_contractAward_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28256;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_contractAward_delta_old" ON "dbrdf_contractAward_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_contractAward_delta_old" ON "dbrdf_contractAward_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_contractAward_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/contractAward$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/contractAward$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_contractAward_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_contractAward_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 = 28256 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/contractAward$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/contractAward$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_contractAward_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_contractAward_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 = 28256 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28256, t0.o FROM "dbrdf_contractAward_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_contractAward_delta_old";
        INSERT INTO "dbrdf_contractAward_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_contractAward_delta_new" t0;
        TRUNCATE TABLE "dbrdf_contractAward_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1758
    ---- DEPENDS ON: 1757, 1473, 1447, 1197, 1026, 1012, 844, 811, 804, 756, 563, 470, 395, 311, 239, 104, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/SpaceShuttle>(?X) :- <http://dbpedia.org/ontology/lastFlight>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28257 FROM "__triples" t0 WHERE t0.p = 27287 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28257);
    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_SpaceShuttle_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SpaceShuttle_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28257;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SpaceShuttle_delta_old" ON "dbrdf_SpaceShuttle_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SpaceShuttle_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/SpaceShuttle$delta_new>(?Y) :- <http://dbpedia.org/ontology/SpaceShuttle$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SpaceShuttle_delta_new"(s) SELECT t1.o FROM "dbrdf_SpaceShuttle_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 = 28257);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28257 FROM "dbrdf_SpaceShuttle_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_SpaceShuttle_delta_old";
        INSERT INTO "dbrdf_SpaceShuttle_delta_old"(s) SELECT DISTINCT t0.s FROM "dbrdf_SpaceShuttle_delta_new" t0;
        TRUNCATE TABLE "dbrdf_SpaceShuttle_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_port1DockedTime_delta_old0"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_port1DockedTime_delta_old0"(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_port1DockedTime_delta_old0" ON "dbrdf_port1DockedTime_delta_old0"(s, o); CREATE INDEX "IDX_1_dbrdf_port1DockedTime_delta_old0" ON "dbrdf_port1DockedTime_delta_old0"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_port1DockedTime_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/port1DockedTime$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/port1DockedTime$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_port1DockedTime_delta_new0"(s, o) SELECT t1.o, t0.o FROM "dbrdf_port1DockedTime_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 = 28258 AND ex.o = t0.o);


        -- <http://dbpedia.org/ontology/port1DockedTime$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/port1DockedTime$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_port1DockedTime_delta_new0"(s, o) SELECT t0.s, t1.o FROM "dbrdf_port1DockedTime_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 = 28258 AND ex.o = t1.o);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28258, t0.o FROM "dbrdf_port1DockedTime_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_port1DockedTime_delta_old0";
        INSERT INTO "dbrdf_port1DockedTime_delta_old0"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_port1DockedTime_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_port1DockedTime_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1760
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_numberOfEpisodes_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_numberOfEpisodes_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_numberOfEpisodes_delta_old" ON "dbrdf_numberOfEpisodes_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_numberOfEpisodes_delta_old" ON "dbrdf_numberOfEpisodes_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_numberOfEpisodes_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/numberOfEpisodes$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/numberOfEpisodes$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_numberOfEpisodes_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_numberOfEpisodes_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/numberOfEpisodes$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/numberOfEpisodes$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_numberOfEpisodes_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_numberOfEpisodes_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_numberOfEpisodes_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_numberOfEpisodes_delta_old";
        INSERT INTO "dbrdf_numberOfEpisodes_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_numberOfEpisodes_delta_new" t0;
        TRUNCATE TABLE "dbrdf_numberOfEpisodes_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1761
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_hsvCoordinateValue_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_hsvCoordinateValue_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_hsvCoordinateValue_delta_old" ON "dbrdf_hsvCoordinateValue_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_hsvCoordinateValue_delta_old" ON "dbrdf_hsvCoordinateValue_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_hsvCoordinateValue_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/hsvCoordinateValue$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/hsvCoordinateValue$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_hsvCoordinateValue_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_hsvCoordinateValue_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/hsvCoordinateValue$delta_new>(?X0,?Y) :- <http://dbpedia.org/ontology/hsvCoordinateValue$delta_old>(?X0,?X1), owl:sameAs(?X1,?Y) .
        INSERT INTO "dbrdf_hsvCoordinateValue_delta_new"(s, o) SELECT t0.s, t1.o FROM "dbrdf_hsvCoordinateValue_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_hsvCoordinateValue_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_hsvCoordinateValue_delta_old";
        INSERT INTO "dbrdf_hsvCoordinateValue_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_hsvCoordinateValue_delta_new" t0;
        TRUNCATE TABLE "dbrdf_hsvCoordinateValue_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 1762
    ---- DEPENDS ON: 1761, 1756, 1455, 1398, 1302, 1182, 1122, 885, 607, 560, 464, 180, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Colour>(?X) :- <http://dbpedia.org/ontology/cmykCoordinateCyanic>(?X,?X1) .
