        INSERT INTO "dbrdf_comparable_delta_old"(s, o) SELECT DISTINCT t0.s, t0.o FROM "dbrdf_comparable_delta_new" t0;
        TRUNCATE TABLE "dbrdf_comparable_delta_new";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2039
    ---- DEPENDS ON: 2038, 1578, 1518, 1474, 1440, 1184, 1162, 1075, 983, 809, 803, 681, 662, 337, 155, 141, 40, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Rocket>(?X) :- <http://dbpedia.org/ontology/maidenFlight>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28559 FROM "__triples" t0 WHERE t0.p = 26623 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28559);
    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_Rocket_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Rocket_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28559;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Rocket_delta_old" ON "dbrdf_Rocket_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Rocket_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/Rocket$delta_new>(?Y) :- <http://dbpedia.org/ontology/Rocket$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Rocket_delta_new"(s) SELECT t1.o FROM "dbrdf_Rocket_delta_old" t0, "__triples" t1 WHERE 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 = 28559);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2040
    ---- DEPENDS ON: 2022, 1959, 1991, 1950, 1874, 1558, 1550, 1543, 1486, 1456, 1448, 1972, 1436, 1378, 1234, 1180, 1098, 1089, 1065, 1961, 1029, 1010, 1596, 960, 2039, 878, 856, 851, 759, 1758, 692, 643, 1709, 574, 515, 512, 422, 394, 331, 1782, 195, 102, 99, 90, 44, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/MeanOfTransportation>(?X1) :- <http://dbpedia.org/ontology/lunarRover>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28560 FROM "__triples" t0 WHERE t0.p = 26813 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28560);
    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_MeanOfTransportation_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_MeanOfTransportation_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28560;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_MeanOfTransportation_delta_old" ON "dbrdf_MeanOfTransportation_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_MeanOfTransportation_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/MeanOfTransportation$delta_new>(?Y) :- <http://dbpedia.org/ontology/MeanOfTransportation$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_MeanOfTransportation_delta_new"(s) SELECT t1.o FROM "dbrdf_MeanOfTransportation_delta_old" t0, "__triples" t1 WHERE 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 = 28560);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2041
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_passengersUsedSystem_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_passengersUsedSystem_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28561;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_passengersUsedSystem_delta_old" ON "dbrdf_passengersUsedSystem_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_passengersUsedSystem_delta_old" ON "dbrdf_passengersUsedSystem_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_passengersUsedSystem_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/passengersUsedSystem$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/passengersUsedSystem$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_passengersUsedSystem_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_passengersUsedSystem_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28561 AND ex.o = t0.o);


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2042
    ---- DEPENDS ON: 2041, 2021, 1810, 1809, 1722, 1658, 1497, 1353, 923, 853, 644, 244, 211, 9, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Station>(?X) :- <http://dbpedia.org/ontology/servingRailwayLine>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28562 FROM "__triples" t0 WHERE t0.p = 26490 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28562);
    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_Station_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Station_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28562;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Station_delta_old" ON "dbrdf_Station_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Station_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/Station$delta_new>(?Y) :- <http://dbpedia.org/ontology/Station$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Station_delta_new"(s) SELECT t1.o FROM "dbrdf_Station_delta_old" t0, "__triples" t1 WHERE 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 = 28562);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2043
    ---- DEPENDS ON: 1910, 1569, 1538, 1159, 1149, 1143, 1583, 1995, 688, 2002, 2042, 234, 216, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Infrastructure>(?X1) :- <http://dbpedia.org/ontology/previousInfrastructure>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28563 FROM "__triples" t0 WHERE t0.p = 26716 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28563);
    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_Infrastructure_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Infrastructure_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28563;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Infrastructure_delta_old" ON "dbrdf_Infrastructure_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Infrastructure_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/Infrastructure$delta_new>(?Y) :- <http://dbpedia.org/ontology/Infrastructure$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Infrastructure_delta_new"(s) SELECT t1.o FROM "dbrdf_Infrastructure_delta_old" t0, "__triples" t1 WHERE 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 = 28563);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2044
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_honours_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_honours_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28564;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_honours_delta_old" ON "dbrdf_honours_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_honours_delta_old" ON "dbrdf_honours_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_honours_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/honours$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/honours$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_honours_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_honours_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28564 AND ex.o = t0.o);


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2045
    ---- DEPENDS ON: 2044, 1956, 1831, 1780, 1572, 1406, 1391, 1241, 1139, 1005, 989, 785, 703, 599, 327, 197, 181, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/SoccerClub>(?X1) :- <http://dbpedia.org/ontology/soccerTournamentMostSteady>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28565 FROM "__triples" t0 WHERE t0.p = 26679 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28565);
    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_SoccerClub_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SoccerClub_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28565;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SoccerClub_delta_old" ON "dbrdf_SoccerClub_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SoccerClub_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/SoccerClub$delta_new>(?Y) :- <http://dbpedia.org/ontology/SoccerClub$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SoccerClub_delta_new"(s) SELECT t1.o FROM "dbrdf_SoccerClub_delta_old" t0, "__triples" t1 WHERE 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 = 28565);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2046
    ---- DEPENDS ON: 1937, 1892, 1854, 1849, 1785, 1729, 1647, 1571, 1355, 1684, 1264, 1242, 1195, 1185, 1174, 2045, 964, 932, 930, 873, 589, 564, 460, 390, 356, 280, 165, 83, 34, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/SportsTeam>(?X1) :- <http://dbpedia.org/ontology/team>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28567 FROM "__triples" t0 WHERE t0.p = 26516 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28567);
    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_SportsTeam_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SportsTeam_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28566;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SportsTeam_delta_old" ON "dbrdf_SportsTeam_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SportsTeam_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SportsTeam_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SportsTeam_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28567;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SportsTeam_delta_old0" ON "dbrdf_SportsTeam_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SportsTeam_delta_new0"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

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


        -- <http://schema.org/SportsTeam$delta_new>(?Y) :- <http://schema.org/SportsTeam$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SportsTeam_delta_new"(s) SELECT t1.o FROM "dbrdf_SportsTeam_delta_old" t0, "__triples" t1 WHERE 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 = 28566);


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


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


        -- Propagate $delta_new

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

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28567 FROM "dbrdf_SportsTeam_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_SportsTeam_delta_old0";
        INSERT INTO "dbrdf_SportsTeam_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_SportsTeam_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_SportsTeam_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2047
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_lowestMountain_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_lowestMountain_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28568;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_lowestMountain_delta_old" ON "dbrdf_lowestMountain_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_lowestMountain_delta_old" ON "dbrdf_lowestMountain_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_lowestMountain_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/lowestMountain$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/lowestMountain$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_lowestMountain_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_lowestMountain_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28568 AND ex.o = t0.o);


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2048
    ---- DEPENDS ON: 2047, 1698, 1665, 1603, 1478, 1262, 1240, 1092, 1060, 998, 970, 943, 907, 782, 771, 642, 458, 432, 386, 330, 177, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Mountain>(?X) :- <http://dbpedia.org/ontology/ascentDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28570 FROM "__triples" t0 WHERE t0.p = 26914 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28570);
    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_Mountain_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Mountain_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28569;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Mountain_delta_old" ON "dbrdf_Mountain_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Mountain_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Mountain_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Mountain_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28570;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Mountain_delta_old0" ON "dbrdf_Mountain_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Mountain_delta_new0"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

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


        -- <http://schema.org/Mountain$delta_new>(?Y) :- <http://schema.org/Mountain$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Mountain_delta_new"(s) SELECT t1.o FROM "dbrdf_Mountain_delta_old" t0, "__triples" t1 WHERE 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 = 28569);


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


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


        -- Propagate $delta_new

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

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28570 FROM "dbrdf_Mountain_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_Mountain_delta_old0";
        INSERT INTO "dbrdf_Mountain_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Mountain_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Mountain_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2049
    ---- DEPENDS ON: 1634, 1955, 1580, 1699, 658, 2048, 245, 1297, 151, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/NaturalPlace>(?X) :- <http://dbpedia.org/ontology/majorLake>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28571 FROM "__triples" t0 WHERE t0.p = 26633 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28571);
    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_NaturalPlace_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_NaturalPlace_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28571;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_NaturalPlace_delta_old" ON "dbrdf_NaturalPlace_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_NaturalPlace_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/NaturalPlace$delta_new>(?Y) :- <http://dbpedia.org/ontology/NaturalPlace$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_NaturalPlace_delta_new"(s) SELECT t1.o FROM "dbrdf_NaturalPlace_delta_old" t0, "__triples" t1 WHERE 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 = 28571);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2050
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2051
    ---- DEPENDS ON: 2050, 1007, 1943, 774, 208, 53, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Cleric>(?X) :- <http://dbpedia.org/ontology/ChristianBishop>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28573 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26535 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28573);
    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_Cleric_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Cleric_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28573;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Cleric_delta_old" ON "dbrdf_Cleric_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Cleric_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/Cleric$delta_new>(?Y) :- <http://dbpedia.org/ontology/Cleric$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Cleric_delta_new"(s) SELECT t1.o FROM "dbrdf_Cleric_delta_old" t0, "__triples" t1 WHERE 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 = 28573);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2052
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_formerBroadcastNetwork_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_formerBroadcastNetwork_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28574;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_formerBroadcastNetwork_delta_old" ON "dbrdf_formerBroadcastNetwork_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_formerBroadcastNetwork_delta_old" ON "dbrdf_formerBroadcastNetwork_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_formerBroadcastNetwork_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/formerBroadcastNetwork$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/formerBroadcastNetwork$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_formerBroadcastNetwork_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_formerBroadcastNetwork_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28574 AND ex.o = t0.o);


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2053
    ---- DEPENDS ON: 2052, 1461, 0
    ----------------------------------------

    -- Nonrecursive rules

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

    -- [Rule] <http://dbpedia.org/ontology/BroadcastNetwork>(?X1) :- <http://dbpedia.org/ontology/formerBroadcastNetwork>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28575 FROM "__triples" t0 WHERE t0.p = 28574 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28575);
    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_BroadcastNetwork_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_BroadcastNetwork_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28575;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_BroadcastNetwork_delta_old" ON "dbrdf_BroadcastNetwork_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_BroadcastNetwork_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/BroadcastNetwork$delta_new>(?Y) :- <http://dbpedia.org/ontology/BroadcastNetwork$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_BroadcastNetwork_delta_new"(s) SELECT t1.o FROM "dbrdf_BroadcastNetwork_delta_old" t0, "__triples" t1 WHERE 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 = 28575);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2054
    ---- DEPENDS ON: 2052, 1917, 2053, 1840, 1833, 1663, 1655, 1513, 1503, 1492, 1461, 1424, 1224, 1214, 1206, 1135, 1109, 1102, 1094, 1049, 995, 880, 1844, 686, 683, 606, 503, 481, 308, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Broadcaster>(?X) :- <http://dbpedia.org/ontology/shareOfAudience>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28576 FROM "__triples" t0 WHERE t0.p = 27169 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28576);
    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_Broadcaster_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Broadcaster_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28576;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Broadcaster_delta_old" ON "dbrdf_Broadcaster_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Broadcaster_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/Broadcaster$delta_new>(?Y) :- <http://dbpedia.org/ontology/Broadcaster$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Broadcaster_delta_new"(s) SELECT t1.o FROM "dbrdf_Broadcaster_delta_old" t0, "__triples" t1 WHERE 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 = 28576);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2055
    ---- DEPENDS ON: 1888, 2046, 1717, 1605, 1588, 1863, 1569, 1540, 1793, 1476, 1459, 2054, 1418, 1974, 1354, 1345, 1337, 1328, 1314, 1258, 1215, 2023, 1175, 997, 974, 948, 934, 1253, 901, 1998, 831, 797, 1985, 2012, 675, 654, 619, 584, 575, 556, 548, 530, 479, 412, 407, 365, 361, 357, 346, 345, 317, 309, 307, 85, 37, 25, 15, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Organisation>(?X1) :- <http://dbpedia.org/ontology/childOrganisation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28578 FROM "__triples" t0 WHERE t0.p = 26506 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28578);
    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_Organization_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Organization_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28577;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Organization_delta_old" ON "dbrdf_Organization_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Organization_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Organisation_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Organisation_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28578;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Organisation_delta_old" ON "dbrdf_Organisation_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Organisation_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/Organization$delta_new>(?X) :- <http://dbpedia.org/ontology/Organisation$delta_old>(?X) .
        INSERT INTO "dbrdf_Organization_delta_new"(s) SELECT t0.s FROM "dbrdf_Organisation_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28577);


        -- <http://schema.org/Organization$delta_new>(?Y) :- <http://schema.org/Organization$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Organization_delta_new"(s) SELECT t1.o FROM "dbrdf_Organization_delta_old" t0, "__triples" t1 WHERE 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 = 28577);


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


        -- <http://dbpedia.org/ontology/Organisation$delta_new>(?Y) :- <http://dbpedia.org/ontology/Organisation$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Organisation_delta_new"(s) SELECT t1.o FROM "dbrdf_Organisation_delta_old" t0, "__triples" t1 WHERE 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 = 28578);


        -- Propagate $delta_new

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

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2056
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_worldChampion_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_worldChampion_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28579;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_worldChampion_delta_old" ON "dbrdf_worldChampion_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_worldChampion_delta_old" ON "dbrdf_worldChampion_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_worldChampion_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/worldChampion$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/worldChampion$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_worldChampion_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_worldChampion_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28579 AND ex.o = t0.o);


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2057
    ---- DEPENDS ON: 2056, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/SnookerChamp>(?X) :- <http://dbpedia.org/ontology/worldChampion>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28580 FROM "__triples" t0 WHERE t0.p = 28579 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28580);
    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_SnookerChamp_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SnookerChamp_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28580;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SnookerChamp_delta_old" ON "dbrdf_SnookerChamp_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SnookerChamp_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/SnookerChamp$delta_new>(?Y) :- <http://dbpedia.org/ontology/SnookerChamp$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SnookerChamp_delta_new"(s) SELECT t1.o FROM "dbrdf_SnookerChamp_delta_old" t0, "__triples" t1 WHERE 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 = 28580);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2058
    ---- DEPENDS ON: 2057, 1733, 1695, 1600, 1419, 1410, 1289, 604, 162, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/SnookerPlayer>(?X) :- <http://dbpedia.org/ontology/highestBreak>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28581 FROM "__triples" t0 WHERE t0.p = 27778 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28581);
    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_SnookerPlayer_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SnookerPlayer_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28581;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SnookerPlayer_delta_old" ON "dbrdf_SnookerPlayer_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SnookerPlayer_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/SnookerPlayer$delta_new>(?Y) :- <http://dbpedia.org/ontology/SnookerPlayer$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_SnookerPlayer_delta_new"(s) SELECT t1.o FROM "dbrdf_SnookerPlayer_delta_old" t0, "__triples" t1 WHERE 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 = 28581);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2059
    ---- DEPENDS ON: 2025, 1892, 1849, 1800, 1729, 1706, 1647, 1577, 1571, 1549, 1716, 1274, 1574, 1006, 945, 821, 1847, 758, 730, 1855, 466, 413, 2058, 1495, 390, 384, 374, 1118, 1186, 1983, 1680, 1367, 271, 196, 97, 1859, 60, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Athlete>(?X) :- <http://dbpedia.org/ontology/AustralianRulesFootballPlayer>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28582 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26542 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28582);
    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_Athlete_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Athlete_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28582;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Athlete_delta_old" ON "dbrdf_Athlete_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Athlete_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/Athlete$delta_new>(?Y) :- <http://dbpedia.org/ontology/Athlete$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Athlete_delta_new"(s) SELECT t1.o FROM "dbrdf_Athlete_delta_old" t0, "__triples" t1 WHERE 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 = 28582);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2060
    ---- DEPENDS ON: 0, 1993, 1975, 1973, 1957, 1940, 1928, 1916, 1908, 1883, 1882, 1876, 1873, 1871, 1860, 1845, 1816, 1788, 1778, 1772, 1753, 1744, 1737, 1723, 1714, 1713, 1707, 1693, 1674, 1654, 1648, 1645, 1640, 1638, 1615, 1612, 1607, 1587, 1560, 1549, 1547, 1534, 1701, 1517, 1504, 1499, 1490, 1651, 1471, 1466, 1454, 1416, 1411, 1409, 1407, 1405, 1383, 1382, 1381, 1375, 1373, 1368, 1364, 1359, 1349, 1347, 1339, 1336, 1335, 1330, 1314, 1312, 1311, 1288, 1287, 1285, 1283, 1271, 1743, 1262, 1260, 1237, 1211, 1207, 1201, 1188, 1172, 1171, 1166, 1160, 1157, 1156, 1150, 1360, 1147, 1131, 1129, 1119, 1112, 1099, 1091, 1073, 1069, 1064, 1062, 1050, 1047, 1036, 1030, 1027, 1025, 1021, 1014, 994, 976, 969, 953, 939, 913, 904, 898, 897, 893, 887, 886, 881, 876, 875, 872, 865, 826, 824, 805, 794, 787, 785, 765, 748, 743, 742, 739, 727, 2051, 718, 716, 706, 696, 693, 689, 675, 1563, 640, 630, 609, 599, 596, 594, 590, 588, 585, 2059, 584, 577, 569, 558, 557, 556, 554, 528, 517, 511, 508, 493, 492, 491, 489, 488, 473, 450, 443, 430, 407, 404, 400, 369, 366, 361, 356, 340, 332, 323, 315, 297, 296, 291, 290, 280, 273, 267, 266, 263, 258, 254, 253, 250, 249, 231, 225, 223, 222, 221, 219, 217, 204, 200, 1902, 176, 172, 1965, 150, 135, 115, 1565, 103, 101, 98, 89, 88, 67, 66, 64, 56, 979, 1508, 31, 28, 1726, 13, 10
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Person>(?X1) :- <http://dbpedia.org/ontology/custodian>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28584 FROM "__triples" t0 WHERE t0.p = 27759 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28584);
    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_Person_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Person_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28583;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Person_delta_old" ON "dbrdf_Person_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Person_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Person_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Person_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28585;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Person_delta_old0" ON "dbrdf_Person_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Person_delta_new0"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Person_delta_old1"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Person_delta_old1"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28584;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Person_delta_old1" ON "dbrdf_Person_delta_old1"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Person_delta_new1"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://xmlns.com/foaf/0.1/Person$delta_new>(?X) :- <http://dbpedia.org/ontology/Person$delta_old>(?X) .
        INSERT INTO "dbrdf_Person_delta_new"(s) SELECT t0.s FROM "dbrdf_Person_delta_old1" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28583);


        -- <http://xmlns.com/foaf/0.1/Person$delta_new>(?Y) :- <http://xmlns.com/foaf/0.1/Person$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Person_delta_new"(s) SELECT t1.o FROM "dbrdf_Person_delta_old" t0, "__triples" t1 WHERE 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 = 28583);


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


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


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


        -- <http://dbpedia.org/ontology/Person$delta_new>(?X) :- <http://xmlns.com/foaf/0.1/Person$delta_old>(?X) .
        INSERT INTO "dbrdf_Person_delta_new1"(s) SELECT t0.s FROM "dbrdf_Person_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28584);


        -- <http://dbpedia.org/ontology/Person$delta_new>(?Y) :- <http://dbpedia.org/ontology/Person$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Person_delta_new1"(s) SELECT t1.o FROM "dbrdf_Person_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 = 2 AND ex.o = 28584);


        -- Propagate $delta_new

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

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28585 FROM "dbrdf_Person_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_Person_delta_old0";
        INSERT INTO "dbrdf_Person_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Person_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Person_delta_new0";

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28584 FROM "dbrdf_Person_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_Person_delta_old1";
        INSERT INTO "dbrdf_Person_delta_old1"(s) SELECT DISTINCT t0.s FROM "dbrdf_Person_delta_new1" t0;
        TRUNCATE TABLE "dbrdf_Person_delta_new1";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2061
    ---- DEPENDS ON: 2060, 2055, 1217, 347, 51, 41, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Agent>(?X1) :- <http://dbpedia.org/ontology/foundedBy>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28586 FROM "__triples" t0 WHERE t0.p = 26523 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28586);
    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_Agent_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Agent_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28586;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Agent_delta_old" ON "dbrdf_Agent_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Agent_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/Agent$delta_new>(?Y) :- <http://dbpedia.org/ontology/Agent$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Agent_delta_new"(s) SELECT t1.o FROM "dbrdf_Agent_delta_old" t0, "__triples" t1 WHERE 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 = 28586);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2062
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

    CREATE LOCAL TEMPORARY TABLE "dbrdf_nrhpReferenceNumber_delta_old"(s integer, o integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_nrhpReferenceNumber_delta_old"(s, o) SELECT t0.s, t0.o FROM "__triples" t0 WHERE t0.p = 28587;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_nrhpReferenceNumber_delta_old" ON "dbrdf_nrhpReferenceNumber_delta_old"(s, o); CREATE INDEX "IDX_1_dbrdf_nrhpReferenceNumber_delta_old" ON "dbrdf_nrhpReferenceNumber_delta_old"(o);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_nrhpReferenceNumber_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/nrhpReferenceNumber$delta_new>(?Y,?X1) :- <http://dbpedia.org/ontology/nrhpReferenceNumber$delta_old>(?X0,?X1), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_nrhpReferenceNumber_delta_new"(s, o) SELECT t1.o, t0.o FROM "dbrdf_nrhpReferenceNumber_delta_old" t0, "__triples" t1 WHERE t0.s = t1.s AND t1.p = 26459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t1.o AND ex.p = 28587 AND ex.o = t0.o);


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2063
    ---- DEPENDS ON: 2062, 2056, 2041, 2035, 2034, 0, 2029, 2025, 2024, 2021, 2019, 2016, 2009, 2006, 1996, 1994, 1990, 1988, 1980, 1968, 1960, 1958, 1956, 1953, 1950, 1949, 1944, 1936, 1927, 1925, 1911, 1910, 1908, 1904, 1903, 1901, 1900, 1899, 1897, 1891, 1888, 1885, 1883, 1880, 1874, 1869, 1867, 1866, 1858, 1856, 1851, 1850, 1846, 1843, 1842, 1841, 1840, 1836, 1835, 1834, 1830, 1828, 1826, 1823, 1818, 1812, 1810, 1808, 1806, 1803, 1801, 1796, 1795, 1794, 1790, 1787, 1784, 1781, 1780, 1778, 1777, 1769, 1768, 1766, 1764, 1761, 1760, 1759, 1757, 1756, 1755, 1754, 1751, 1747, 1742, 1740, 1736, 1734, 1733, 1732, 1724, 1722, 1718, 1715, 1708, 1705, 1702, 1695, 1692, 1690, 1688, 1685, 1682, 1681, 1679, 1678, 1674, 1673, 1671, 1667, 1666, 1663, 1662, 1660, 1659, 1658, 1657, 1656, 1653, 1652, 1643, 1642, 1641, 1637, 1631, 1630, 1627, 1626, 1616, 1613, 1609, 1604, 1603, 1602, 1601, 1600, 1599, 1598, 1597, 1594, 1592, 1591, 1589, 1585, 1584, 1582, 1581, 1579, 1578, 1576, 1573, 1572, 1568, 1564, 1559, 1558, 1557, 1556, 1554, 1551, 1548, 1546, 1545, 1543, 1542, 1541, 1539, 1538, 1537, 1536, 1535, 1533, 1531, 1530, 1529, 1526, 1525, 1524, 1523, 1522, 1521, 1520, 1519, 1518, 1516, 1515, 1514, 1513, 1512, 1509, 1506, 1503, 1501, 1499, 1497, 1496, 1494, 1490, 1487, 1485, 1483, 1481, 1479, 1477, 1476, 1475, 1474, 1473, 1472, 1468, 1463, 1462, 1460, 1457, 1455, 1452, 1451, 1447, 1446, 1445, 1443, 1441, 1439, 1437, 1436, 1435, 1431, 1429, 1428, 1427, 1426, 1423, 1419, 1417, 1415, 1414, 1413, 1411, 1410, 1402, 1399, 1398, 1397, 1396, 1394, 1392, 1391, 1389, 1385, 1380, 1379, 1372, 1371, 1370, 1366, 1365, 1363, 1356, 1354, 1353, 1352, 1350, 1346, 1345, 1344, 1343, 1336, 1334, 1333, 1330, 1329, 1327, 1326, 1325, 1323, 1321, 1320, 1318, 1317, 1316, 1311, 1310, 1308, 1307, 1306, 1302, 1299, 1296, 1292, 1291, 1289, 1282, 1281, 1280, 1279, 1278, 1275, 1272, 1270, 1266, 1265, 1261, 1259, 1257, 1256, 1255, 1251, 1248, 1245, 1243, 1241, 1239, 1235, 1230, 1229, 1226, 1224, 1223, 1222, 1220, 1219, 1218, 1214, 1209, 1208, 1207, 1206, 1205, 1203, 1199, 1198, 1197, 1193, 1192, 1191, 1188, 1187, 1183, 1182, 1181, 1178, 1177, 1176, 1173, 1170, 1168, 1165, 1164, 1163, 1161, 1158, 1152, 1151, 1150, 1149, 1148, 1146, 1144, 1140, 1139, 1138, 1137, 1136, 1135, 1134, 1132, 1127, 1124, 1123, 1122, 1114, 1110, 1109, 1108, 1106, 1104, 1103, 1102, 1101, 1100, 1096, 1095, 1094, 1088, 1087, 1086, 1084, 1083, 1079, 1077, 1076, 1072, 1071, 1068, 1066, 1059, 1056, 1054, 1053, 1051, 1049, 1048, 1046, 1043, 1042, 1040, 1039, 1037, 1033, 1032, 1031, 1028, 1024, 1023, 1022, 1020, 1019, 1017, 1015, 1012, 1009, 1003, 1001, 1000, 999, 995, 994, 991, 990, 989, 986, 984, 981, 977, 975, 974, 973, 972, 966, 965, 963, 962, 959, 958, 955, 952, 951, 950, 947, 942, 941, 937, 933, 931, 929, 928, 926, 924, 923, 918, 916, 914, 911, 908, 906, 904, 903, 902, 898, 896, 895, 894, 889, 885, 884, 882, 880, 870, 869, 867, 866, 864, 860, 857, 853, 852, 850, 848, 845, 844, 842, 841, 838, 837, 836, 834, 833, 832, 831, 830, 829, 825, 823, 820, 819, 817, 816, 815, 813, 812, 811, 810, 808, 806, 805, 801, 800, 798, 793, 790, 789, 786, 781, 780, 778, 777, 775, 770, 769, 768, 766, 764, 761, 757, 756, 754, 752, 751, 749, 746, 745, 744, 741, 740, 738, 737, 734, 733, 731, 729, 724, 714, 713, 711, 707, 705, 698, 697, 695, 691, 690, 687, 686, 685, 684, 683, 682, 681, 679, 678, 677, 671, 670, 669, 665, 656, 655, 654, 651, 650, 649, 644, 641, 638, 637, 636, 635, 632, 631, 627, 625, 622, 621, 619, 612, 611, 610, 608, 607, 606, 604, 603, 602, 598, 597, 592, 587, 586, 583, 582, 581, 579, 576, 574, 573, 572, 568, 565, 560, 559, 555, 553, 552, 551, 547, 546, 545, 543, 542, 540, 539, 536, 535, 534, 533, 530, 529, 528, 527, 526, 525, 524, 521, 518, 516, 514, 513, 510, 509, 505, 504, 501, 497, 495, 494, 486, 484, 480, 479, 478, 476, 474, 472, 467, 464, 458, 457, 456, 455, 454, 451, 449, 447, 446, 444, 442, 438, 435, 434, 433, 432, 431, 429, 428, 418, 414, 413, 412, 411, 410, 409, 408, 406, 405, 403, 402, 396, 395, 391, 389, 388, 385, 383, 380, 379, 378, 376, 375, 373, 371, 370, 367, 359, 358, 357, 352, 349, 343, 342, 339, 338, 329, 328, 326, 325, 320, 319, 315, 312, 311, 310, 308, 301, 298, 287, 286, 285, 283, 282, 281, 278, 276, 269, 264, 261, 259, 257, 255, 248, 244, 232, 230, 229, 226, 221, 220, 218, 216, 215, 214, 212, 211, 210, 207, 206, 205, 199, 198, 195, 192, 188, 185, 184, 182, 181, 178, 175, 174, 173, 170, 168, 167, 164, 162, 161, 158, 156, 152, 149, 147, 142, 141, 139, 137, 133, 132, 123, 122, 116, 113, 111, 100, 95, 92, 77, 76, 75, 73, 72, 70, 69, 63, 62, 54, 52, 50, 48, 39, 33, 20, 18, 17, 12, 11, 2
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/deathYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 26481 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/geologicPeriod>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28548 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/grossDomesticProduct>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28543 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:boolean), <http://dbpedia.org/ontology/canBaggageChecked>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28593 AND t1.p = 28540 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/distanceToLondon>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28535 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/europeanUnionEntranceDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28527 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/activeYearsEndDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28524 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfPads>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28510 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/wheelbase>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 26480 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfBombs>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28470 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/apparentMagnitude>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28458 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfIslands>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28453 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/dynasty>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28445 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/ekatteCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28436 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/highestBuildingInYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28434 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/meaning>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28420 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/passengersPerDay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28419 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/description>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28417 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/totalCargo>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28409 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfLaunches>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28459 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/distanceToCharingCross>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28394 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/ensembl>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28377 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/frequency>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28375 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/oversight>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28374 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/buildingEndDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28363 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/conservationStatus>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28358 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/office>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28357 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/timeshiftChannel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28348 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/regime>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28347 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/callsignMeaning>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28345 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/setupTime>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28340 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/perCapitaIncome>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28339 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/number>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 28334 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/casSupplemental>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28329 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/seniority>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28318 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfFilms>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28312 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/agencyStationCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28310 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/publiclyAccessible>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28308 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/subtitle>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28306 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/omim>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 28301 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/regionType>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28295 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/serviceEndYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28294 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/gaelicName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28287 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/firstPublicationYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28284 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/nssdcId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28281 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/capacity>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28280 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/cost>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28268 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:positiveInteger), <http://dbpedia.org/ontology/floorCount>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28597 AND t1.p = 28263 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfEpisodes>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28259 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/port1DockedTime>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28258 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/wavelength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28255 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/sourceElevation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28250 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/imdbId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28245 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/tournamentRecord>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28240 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/unicode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28238 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/distanceTraveled>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28234 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/surfaceArea>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28231 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/parkingInformation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28219 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/result>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28215 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/maidenVoyage>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28205 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/lifeExpectancy>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28199 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/currentRank>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 28192 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/distanceToEdinburgh>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28182 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/draftPick>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28176 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/rebuildingYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28175 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/titleDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28171 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/lowest>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28164 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/shareSource>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28160 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/nationalYears>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28159 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/endangeredSince>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28157 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/genomeDB>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28156 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/closingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28154 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/accessDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28149 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/interest>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28140 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/floorArea>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28139 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/destructionDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28138 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/municipalityType>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28153 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/automobileModel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28134 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/maximumBoatBeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28125 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/reportingMark>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28103 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/frequentlyUpdated>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28098 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfSports>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28095 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/otherWins>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28094 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/reopened>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28086 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:float), <http://dbpedia.org/ontology/averageClassSize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28598 AND t1.p = 28085 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/runtime>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28078 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/depth>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28077 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/airportUsing>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28074 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/certification>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28504 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/facilityId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 28073 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/finalFlight>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28070 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/orderInOffice>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28068 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:positiveInteger), <http://dbpedia.org/ontology/nationalRanking>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28597 AND t1.p = 28506 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/marketCapitalisation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 26474 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/albedo>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28178 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:float), <http://dbpedia.org/ontology/barPassRate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28598 AND t1.p = 28059 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/eloRecord>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28050 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/modelEndYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28049 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/staff>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28047 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/demolitionYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28045 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfWineries>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28036 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/deathDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 26473 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/managerYears>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28032 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/iataLocationIdentifier>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28029 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/recordDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28028 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/amgid>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28027 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfStars>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28026 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/stationEvaDuration>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28413 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/projectBudgetTotal>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28024 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/mapDescription>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28022 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/year>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28017 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/nutsCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28016 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/distanceToCardiff>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28015 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/routeEndDirection>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28013 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/seatingCapacity>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28012 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/lowerEarthOrbitPayload>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 28009 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/arm>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28007 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/deliveryDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28006 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/wineYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28005 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/virtualChannel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28004 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/productionYears>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28000 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/areaOfCatchment>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27997 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/day>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27986 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/salary>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27980 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/address>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27975 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/crownDependency>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27973 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/welshName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27971 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/slogan>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27966 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/teamSize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27965 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/firstFlightStartDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27963 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/personName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27962 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/fuelCapacity>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 26472 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/dateOfAbandonment>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27950 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfParticipatingAthletes>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27947 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/startYearOfInsertion>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 27941 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/satellitesDeployed>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27937 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/mass>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27936 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfMunicipalities>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27929 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/chromosome>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27921 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/dateClosed>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27919 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/sex>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28278 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/orbitalFlights>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27904 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/scottishName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 28555 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/neighbourConstellations>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27889 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/missionDuration>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27887 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/wins>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28065 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/totalTracks>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 27884 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/squadNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27882 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/dcc>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27870 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/position>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27862 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/distance>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27861 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/speaker>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 27860 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/productionEndDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27855 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/oldcode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27842 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/layingDown>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27840 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfParkingSpaces>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27834 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/access>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27833 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/measurements>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27826 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/hsvCoordinateValue>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 28260 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/bustSize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27820 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/populationTotal>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27819 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/runwayLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27817 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/jstor>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27816 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/area>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27815 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/serviceStartDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27807 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/worldChampion>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 28579 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/hipSize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27801 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/usSales>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27800 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/port2DockingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27797 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/lunarLandingSite>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27796 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/suborbitalFlights>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28093 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/cmykCoordinateMagenta>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 27792 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/height>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 26476 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfEntrances>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 28071 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/partyNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 27780 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/highestBreak>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 27778 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/port1UndockingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27771 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/areaUrban>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27767 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/membership>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27835 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/grossDomesticProductAsOf>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27763 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfSpans>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27760 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/style>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27753 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/aSide>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27748 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/dorlandsSuffix>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27917 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/gross>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27744 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/faaLocationIdentifier>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27743 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:gYear), <http://dbpedia.org/ontology/numberOfVisitorsAsOf>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28590 AND t1.p = 27732 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/dryCargo>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27722 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/nndbId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27990 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfPeopleAttending>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27717 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/shipDraft>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27886 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/formerChannel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27710 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/numberOfStations>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28595 AND t1.p = 27708 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/latestReleaseDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 28163 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:date), <http://dbpedia.org/ontology/demographicsAsOf>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28594 AND t1.p = 27705 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:integer), <http://dbpedia.org/ontology/totalDiscs>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28596 AND t1.p = 27704 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:string), <http://dbpedia.org/ontology/birthName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28591 AND t1.p = 27693 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:double), <http://dbpedia.org/ontology/effectiveRadiatedPower>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28588, 2, 28589 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28554 AND t0.o = 28592 AND t1.p = 27692 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28588 AND ex.p = 2 AND ex.o = 28589);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:nonNegativeInteger), <http://dbpedia.org/ontology/rankingsDoubles>(?X,?X1) .
