    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27162 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/projectKeyword>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27159 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/disbanded>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27157 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28162 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/technique>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27781 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/identificationSymbol>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27890 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27155 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27852 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27150 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/contractAward>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28015 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 27148 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/cmykCoordinateBlack>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 27825 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27135 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/stationStructure>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27357 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/tvComId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 27134 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28138 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/mainspan>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27132 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27131 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/raceLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27129 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/iafdId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28403 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/landingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27761 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/firstFlightEndDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27124 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfTerritories>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 27115 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/refseqmrna>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27483 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/prospectLeague>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27111 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/formationYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27476 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/orbits>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 27107 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/temperature>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27140 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/extinctionDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28287 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/hasNaturalBust>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27413 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/legislativePeriodName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27101 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/reservations>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28600 AND t1.p = 27098 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/hgncid>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27319 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/rgbCoordinateRed>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27095 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/acquirementDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27091 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfLines>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27090 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/introductionDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28217 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/geology>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27081 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/emedicineTopic>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27079 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/imageSize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 27074 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/rebuildDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27070 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/icd9>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27068 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/coastLine>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27644 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/originalMaximumBoatLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27863 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/routeDirection>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28179 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfLawyers>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27061 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/schoolCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28189 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/absoluteMagnitude>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27402 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/routeStartDirection>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27058 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/facultySize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27057 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/brainInfoType>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27360 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/iso31661Code>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27246 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/individualisedPnd>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27052 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/publicationDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27049 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/suppreddedDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27603 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/projectReferenceID>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27045 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfTracks>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27044 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/introduced>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27942 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/openingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27623 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/atcPrefix>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27043 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/wikiPageID>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 27042 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/shoeNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 27040 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/dorlandsPrefix>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27035 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/inchi>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27031 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/tatoo>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28272 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/dateUse>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27507 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/cuisine>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27027 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/yearOfElectrification>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27026 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/loadLimit>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27025 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/firstGame>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27024 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/shipDisplacement>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27021 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/summerTemperature>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27020 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/licensee>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27018 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/draft>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27017 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/filmColourType>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28102 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/geneLocationStart>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 27118 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/ascent>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27000 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/creationYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26999 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/title>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26995 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/undraftedYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27064 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/assetUnderManagement>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28055 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/modelStartDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26990 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfFederalDeputies>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26987 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/escapeVelocity>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27222 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/projectObjective>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28269 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lcc>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28019 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/broadcastRepeater>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26976 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/militaryCommand>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26975 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/compressionRatio>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27733 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/currentStatus>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26974 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/speedLimit>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28005 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/retirementDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26475 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/latestPreviewDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28568 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/assets>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26969 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/totalPopulation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27972 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/sourceConfluenceElevation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26966 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/heightAboveAverageTerrain>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26965 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/surfaceFormOccurrenceOffset>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26964 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/plays>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27320 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/modelEndDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27473 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/tuition>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27249 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/firstLaunchDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26960 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/periapsis>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26954 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/managerTitle>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26953 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/rebuildingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26949 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/floodingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26947 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/runwayDesignation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26946 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/budget>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26945 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfUndergraduateStudents>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27934 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/dischargeAverage>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26943 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/isil>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27192 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/spike>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28199 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/frequencyOfPublication>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27151 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/productionStartYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26930 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/cylinderBore>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26971 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lunarEvaTime>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26928 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/trackLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26923 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/worstDefeat>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27191 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/sublimationPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26919 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/circulation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28099 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/visitorsTotal>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27620 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/decommissioningDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28145 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/missions>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27595 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/rankingWins>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26909 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/editorTitle>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26935 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/premiereDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26902 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/captureDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26941 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfAcademicStaff>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27576 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfGoldMedalsWon>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27075 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfBronzeMedalsWon>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27015 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/meltingPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26894 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/rotationPeriod>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26891 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/goalsInLeague>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27828 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/equity>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26888 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/chorusCharacterInPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26886 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lengthReference>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26883 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/sessionNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 26879 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/totalMass>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27210 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/fileSize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26877 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/hallOfFame>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26876 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfPiersInWater>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26872 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/rgbCoordinateBlue>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27415 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/productionStartDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26866 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/openAccessContent>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26939 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/humanDevelopmentIndexAsOf>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27165 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfSilverMedalsWon>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26857 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/circuitLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27725 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/minorityFloorLeader>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 26853 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/maidenFlight>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26851 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/committee>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26850 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/drugbank>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26848 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/battleHonours>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27321 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/epoch>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26846 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/endYearOfSales>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26844 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/weight>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26458 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/atcSuffix>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26841 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/colourHexCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26838 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/synonym>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26837 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/flag>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28300 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/impactFactor>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26829 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/background>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26827 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/diseasesdb>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26916 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/meshNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27078 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/giniCoefficientRanking>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 27036 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/chairmanTitle>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27404 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/debut>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28310 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/pseudonym>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27315 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/uniprot>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27558 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfStudioAlbums>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27475 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lastSeason>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28408 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfStateDeputies>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27505 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/issn>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27515 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/formerCallsign>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27205 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/aircraftType>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27792 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/topLevelDomain>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26808 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/reopeningDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28054 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/vehiclesPerDay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27113 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/colourName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26798 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/entrezgene>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26797 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/endYearOfInsertion>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26795 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/duration>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26836 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/minimumTemperature>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28308 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/definition>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26896 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/inn>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26871 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/meanTemperature>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26786 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfEmployees>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26783 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/period>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27882 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/currencyCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26781 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/schoolNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26994 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/cmykCoordinateCyanic>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 26992 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/distanceToBelfast>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26772 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/irishName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26771 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/percentageOfAreaWater>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28603 AND t1.p = 26770 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/cargoFuel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27392 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/birthYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26473 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/testaverage>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28603 AND t1.p = 26921 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/demolitionDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27457 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/boilingPoint>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26764 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfMembers>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26763 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberBuilt>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27455 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/maximumDepth>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27277 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/frozen>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26759 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/isbn>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28432 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/discharge>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26755 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/serviceNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28033 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/trackNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 26752 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/ecNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27450 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/muteCharacterInPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26961 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lunarSurfaceTime>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27138 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/finalPublicationDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28063 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/passengersPerYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27038 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/filmAudioType>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28534 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/buildingStartDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27055 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/longtype>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26746 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/postalCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26735 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/coden>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28498 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/egafdId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27526 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/headLabel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26731 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/torqueOutput>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26460 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/band>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26925 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lastLaunch>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26729 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/spacewalkEnd>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27187 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/governmentElevation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28075 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/otherServingLines>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26727 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfPages>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 27722 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfOffices>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26852 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/bedCount>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27190 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/areaRural>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27545 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/stationVisitDuration>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26720 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/launchDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26719 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/redline>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26479 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/minimumElevation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27796 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/areaMetro>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26715 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfRooms>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27041 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/material>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27917 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/runwaySurface>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26936 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/gun>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27442 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/fcRuns>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28230 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/port1DockingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27136 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/infantMortality>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28603 AND t1.p = 27497 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/orbitalPeriod>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26806 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/satellite>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27171 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/wingArea>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26713 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/unloCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27478 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/bridgeCarries>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28222 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/weddingParentsDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26880 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/voltageOfElectrification>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27879 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/recommissioningDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26874 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/serviceModule>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27217 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/purpose>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27358 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfVineyards>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28038 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/hsvCoordinateHue>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 26697 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/causalties>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26696 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/serviceEndDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28306 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/orderDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26694 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/finalPublicationYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26809 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/firstAirDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28365 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/subjectOfPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27771 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/locusSupplementaryData>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26907 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/characterInPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27481 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/eruptionYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27264 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/detectionMethod>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27368 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/commonName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26677 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lunarSampleMass>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27237 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/originalName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26673 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/requirement>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26672 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/firstAscentYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27734 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/mirDockings>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26671 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfCountries>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 28113 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lineLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28305 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/projectStartDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27023 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/nrhpReferenceNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28593 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/acceleration>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26463 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/capitalElevation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27737 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/throwingSide>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26666 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfCompetitors>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26812 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/icd10>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26887 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/goalsInNationalTeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26661 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/visitorsPercentageChange>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28149 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/powerOutput>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26478 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/latestReleaseVersion>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26660 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/fareZone>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26655 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/poles>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26728 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/fansgroup>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27676 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/humanDevelopmentIndex>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28603 AND t1.p = 26654 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/eTeatrId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27630 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/wikiPageRevisionID>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 26652 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/foundingYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26651 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/fc>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26789 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/volume>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26650 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/decideDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26996 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/symbol>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26687 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/broadcastTranslator>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27562 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfRestaurants>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27156 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/areaTotal>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26983 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/certificationDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26645 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/censusYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 28292 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/closingYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26644 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/successfulLaunches>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26642 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/callSign>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26640 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/density>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26639 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/operatingIncome>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26464 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/partialFailedLaunches>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26638 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/feastDay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26636 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/noteOnRestingPlace>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26712 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/allegiance>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26940 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/annualTemperature>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27051 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/populationDensity>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26630 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/iupacName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26658 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/ageRange>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28051 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/majorityFloorLeader>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 26626 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/portfolio>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26625 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfMinistries>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27034 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/fate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28303 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/revenue>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26629 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/classes>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27362 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/areaTotalRanking>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 27779 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/campusType>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27537 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/perCapitaIncomeAsOf>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27602 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/productionEndYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26612 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/populationRural>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26967 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/issDockings>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26832 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/visitorsPerYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28592 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/whaDraftYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27193 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfSeasons>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26710 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/networth>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26633 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/approximateCalories>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27228 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/maximumBoatLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27009 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/electionMajority>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26607 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/pubchem>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26603 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/projectType>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26734 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/pdb>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26646 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/specialist>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28454 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/populationTotalRanking>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 27060 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/settingOfPlay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26599 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/watershed>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28389 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/notifyDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27344 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/rocketStages>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27523 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lccn>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26747 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/cosparId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 26594 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/icaoLocationIdentifier>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26730 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/argueDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26592 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/distanceLaps>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26602 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lastFlightEndDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26648 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/englishName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27758 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/totalLaunches>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26588 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/landingSite>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26587 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfGraduateStudents>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27250 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/careerPrizeMoney>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27373 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/premiereYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26662 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/dateConstruction>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27167 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/role>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27351 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/bSide>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27032 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfLaps>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27130 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/openingYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27723 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/podiums>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26981 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/games>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27716 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lowerAge>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27900 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/co2Emission>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26477 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/seasonNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28561 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/supplementalDraftYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27597 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/code>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26568 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/crews>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27976 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/icdo>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28463 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/programCost>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28293 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/airDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26565 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/prominence>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26563 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/ratio>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27586 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/crewSize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28125 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/refseqprotein>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27575 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfStudents>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26581 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/populationUrban>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27778 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/railGauge>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26573 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/formerName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26560 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/cmykCoordinateYellow>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 28381 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/graySubject>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 27536 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/startDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27260 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/vehicleCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28037 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/mgiid>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27389 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/participant>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26830 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/areaCode>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26895 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/areaWater>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26586 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/dateOfBurial>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27870 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfAlbums>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26929 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/motto>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26555 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/discontinued>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27196 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/leaderTitle>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27966 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/totalTravellers>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27557 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/visitorStatisticsAsOf>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27269 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/classification>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26858 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/restoreDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26551 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/nameDay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26653 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/ranking>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 26807 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/spacewalkBegin>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27001 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/isPartOfRoute>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27717 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/date>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26528 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/coachingRecord>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27149 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/populationAsOf>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27097 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/closed>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26737 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/longName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26523 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/transmission>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27030 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lastPosition>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 27598 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfOrbits>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27301 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/ordination>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26521 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/rgbCoordinateGreen>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28150 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/grayPage>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28602 AND t1.p = 26634 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/meanRadius>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26519 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/dateCompleted>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27614 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/shoreLength>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 28156 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/noteOnPlaceOfBurial>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26552 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/brainInfoNumber>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26615 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/reopeningYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 27304 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/visitorsPerDay>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27735 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/railwayPlatforms>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27105 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/distanceToCapital>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26706 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/port2UndockingDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27189 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/toll>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27587 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/added>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 26572 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/pistonStroke>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26617 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/range>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26508 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/activeYearsEndYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26507 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/appearancesInNationalTeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 28089 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lunarOrbitTime>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26590 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/timeInSpace>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26506 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/shareOfAudience>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28603 AND t1.p = 26576 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/other>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 26898 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/electionDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27433 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/numberOfDoctoralStudents>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 26705 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/registration>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26754 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/digitalSubChannel>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27488 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/maximumInclination>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28603 AND t1.p = 27417 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/command>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27712 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lastLaunchDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27439 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/onChromosome>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 28401 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/isPeerReviewed>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28600 AND t1.p = 27464 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/broadcastStationClass>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27014 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/distanceToDouglas>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27203 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/meshName>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26865 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/overallRecord>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28221 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/dissolved>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28394 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/coronationDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27037 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/fees>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26647 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/commissioningDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27080 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/port2DockedTime>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26989 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/lunarModule>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 28176 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/cargoWater>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 26548 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/areaLand>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27299 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/firstLaunch>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 27743 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/ethnicGroupsInYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26489 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/formationDate>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28601 AND t1.p = 28117 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/shipBeam>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28599 AND t1.p = 27016 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/battingSide>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26792 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- [Rule] owl:Nothing(<int$false>) :- swrlb:notInValueSpace(?X1,xsd:anyURI), <http://dbpedia.org/ontology/review>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28606 AND t1.p = 27430 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/id>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 27752 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/draftYear>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28598 AND t1.p = 26486 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/militaryUnitSize>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26485 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/meshId>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28596 AND t1.p = 26959 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/hsvCoordinateSaturation>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28604 AND t1.p = 27494 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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/subdivisions>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT 28594, 2, 28595 FROM "__triples" t0, "__triples" t1 WHERE t0.s = t1.o AND t0.p = 28587 AND t0.o = 28597 AND t1.p = 27615 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = 28594 AND ex.p = 2 AND ex.o = 28595);
    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_Nothing_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Nothing_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28595;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Nothing_delta_old" ON "dbrdf_Nothing_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Nothing_delta_new"(s integer) ON COMMIT DROP;

    -- Iterate recursive rules

    WHILE delta_old_size <> 0 LOOP
        delta_old_size := 0;

        -- Evaluate seminaive rules

        -- <http://www.w3.org/2002/07/owl#Nothing$delta_new>(?Y) :- <http://www.w3.org/2002/07/owl#Nothing$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Nothing_delta_new"(s) SELECT t1.o FROM "dbrdf_Nothing_delta_old" t0, "__triples" t1 WHERE 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 = 28595);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2073
    ---- DEPENDS ON: 2071, 1767, 1623, 1336, 90, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/HistoricPlace>(?X) :- <http://dbpedia.org/ontology/added>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28609 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 = 28609);
    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_HistoricBuilding_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_HistoricBuilding_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28607;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_HistoricBuilding_delta_old" ON "dbrdf_HistoricBuilding_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_HistoricBuilding_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_LandmarksOrHistoricalBuildings_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_LandmarksOrHistoricalBuildings_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28608;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_LandmarksOrHistoricalBuildings_delta_old" ON "dbrdf_LandmarksOrHistoricalBuildings_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_LandmarksOrHistoricalBuildings_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_HistoricPlace_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_HistoricPlace_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28609;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_HistoricPlace_delta_old" ON "dbrdf_HistoricPlace_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_HistoricPlace_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/HistoricBuilding$delta_new>(?X) :- <http://schema.org/LandmarksOrHistoricalBuildings$delta_old>(?X) .
        INSERT INTO "dbrdf_HistoricBuilding_delta_new"(s) SELECT t0.s FROM "dbrdf_LandmarksOrHistoricalBuildings_delta_old" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28607);


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


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


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


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


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


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


        -- Propagate $delta_new

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

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

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2074
    ---- DEPENDS ON: 2037, 1826, 1812, 1703, 1535, 1444, 1429, 1354, 1314, 1313, 1732, 1052, 999, 995, 795, 604, 1764, 431, 2073, 335, 1983, 279, 1973, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Building>(?X) :- <http://dbpedia.org/ontology/Hospital>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28610 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28203 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28610);
    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_Building_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Building_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28610;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Building_delta_old" ON "dbrdf_Building_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Building_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/Building$delta_new>(?Y) :- <http://dbpedia.org/ontology/Building$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_Building_delta_new"(s) SELECT t1.o FROM "dbrdf_Building_delta_old" t0, "__triples" t1 WHERE 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 = 28610);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2075
    ---- DEPENDS ON: 2070, 2069, 1946, 1781, 1725, 1653, 1575, 1562, 1548, 1516, 1385, 1246, 1234, 1160, 1136, 1133, 1131, 970, 817, 784, 758, 571, 466, 95, 2074, 48, 29, 14, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2076
    ---- DEPENDS ON: 2007, 2029, 1836, 1760, 1617, 1598, 1556, 1545, 1505, 1497, 1466, 1456, 1413, 1408, 1371, 1363, 1358, 1351, 1345, 1306, 1260, 2075, 1211, 1209, 1206, 1205, 1139, 1132, 1128, 1117, 1106, 1092, 1074, 1065, 991, 896, 861, 844, 812, 791, 785, 761, 2073, 700, 694, 693, 660, 644, 637, 630, 567, 500, 949, 1264, 299, 222, 2054, 186, 177, 1319, 104, 85, 75, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Place>(?X1) :- <http://dbpedia.org/ontology/regionServed>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 2, 28613 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 = 28613);
    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_Place_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Place_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28612;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Place_delta_old" ON "dbrdf_Place_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Place_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Place_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Place_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28613;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Place_delta_old0" ON "dbrdf_Place_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Place_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/Place$delta_new>(?X) :- <http://dbpedia.org/ontology/Place$delta_old>(?X) .
        INSERT INTO "dbrdf_Place_delta_new"(s) SELECT t0.s FROM "dbrdf_Place_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28612);


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


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


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


        -- Propagate $delta_new

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

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28613 FROM "dbrdf_Place_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_Place_delta_old0";
        INSERT INTO "dbrdf_Place_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Place_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Place_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2077
    ---- DEPENDS ON: 0
    ----------------------------------------

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2078
    ---- DEPENDS ON: 2077, 2045, 0, 1979, 1964, 1942, 1921, 1920, 1891, 1885, 1864, 1845, 1843, 1829, 1825, 1821, 1816, 1804, 1786, 1777, 1772, 2062, 1769, 1768, 1761, 1759, 1753, 1731, 1730, 1724, 1702, 1697, 1687, 1678, 1645, 1642, 1634, 1633, 1631, 1623, 1619, 1603, 1591, 1587, 1565, 1557, 1554, 1536, 1526, 1510, 1506, 1503, 1490, 1489, 1482, 1471, 1450, 1442, 1439, 1433, 1418, 1414, 1412, 1409, 1396, 1395, 1394, 1374, 1360, 1343, 1342, 1328, 1327, 1322, 1309, 1305, 1283, 1265, 1261, 1256, 1253, 1215, 1214, 1168, 1154, 1152, 1142, 1138, 1132, 1124, 1422, 1096, 1076, 1067, 1061, 1055, 1332, 1034, 1030, 1025, 1023, 1008, 1004, 987, 971, 954, 946, 944, 941, 939, 926, 908, 907, 904, 897, 894, 888, 884, 876, 865, 861, 859, 848, 847, 842, 830, 828, 827, 820, 807, 803, 802, 771, 769, 768, 766, 756, 755, 747, 1784, 735, 734, 730, 727, 717, 701, 690, 685, 678, 677, 676, 670, 658, 653, 651, 643, 642, 641, 632, 630, 592, 585, 583, 582, 570, 569, 568, 566, 563, 557, 1507, 529, 524, 521, 520, 496, 1820, 480, 473, 461, 451, 449, 430, 2000, 414, 409, 402, 397, 392, 387, 380, 373, 372, 357, 352, 351, 342, 312, 302, 294, 1879, 283, 276, 271, 262, 261, 259, 236, 235, 230, 229, 222, 217, 216, 211, 207, 206, 200, 188, 153, 151, 150, 146, 136, 128, 111, 1370, 92, 74, 1080, 65, 61, 60, 2040, 51, 2042, 28, 24, 1171
    ----------------------------------------

    -- Nonrecursive rules

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

    -- [Rule] <http://dbpedia.org/ontology/Person>(?X) :- <http://dbpedia.org/ontology/Monarch>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28453 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28429 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28393 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28371 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28336 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28328 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28428 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28291 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28276 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28273 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28272 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28262 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28256 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28614 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28233 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28232 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28281 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26475 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28202 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28197 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28186 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28177 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28136 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28127 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28126 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28124 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28083 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28079 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28057 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28046 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28352 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28018 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26474 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28002 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27982 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27974 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27963 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27941 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27933 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28111 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28399 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27902 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27899 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27886 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27885 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27884 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27833 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27817 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27812 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27799 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27795 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27750 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27745 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27742 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27864 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27704 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 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 = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27656 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27639 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27629 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27912 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28028 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27583 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27554 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27822 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27517 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27619 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27491 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27474 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27458 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27433 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27431 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27426 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27413 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28049 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27395 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27381 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27375 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27371 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27998 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27363 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27352 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27346 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27625 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27335 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27334 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27348 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27315 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27314 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28309 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27294 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27290 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28139 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27256 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27253 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27251 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27754 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27240 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27239 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28289 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27611 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27218 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27426 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27211 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28232 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27818 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27174 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27169 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27161 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27160 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27154 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28475 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27137 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27214 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27127 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27126 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27116 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27114 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27069 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27135 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27067 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27428 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27054 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27542 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27053 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27050 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27924 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27046 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28202 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27641 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27007 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27040 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26979 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27012 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28327 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26956 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27904 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27750 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26932 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27142 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27185 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28515 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26897 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26892 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27003 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26885 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26880 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26875 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26863 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26856 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28323 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26840 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26835 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26834 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26825 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27329 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27162 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27289 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27441 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26794 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26784 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28386 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26765 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26758 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26753 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28350 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26744 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26743 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26469 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27548 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26794 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26934 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28002 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26712 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26711 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28116 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26704 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26699 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26693 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26689 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26688 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27394 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26670 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26855 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26717 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26635 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26632 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26698 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26628 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28332 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26618 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26610 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28264 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26913 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27860 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27076 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26574 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26741 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28095 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26556 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27567 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26546 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26593 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26542 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26541 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26944 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26718 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28558 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 26532 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27052 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27219 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28560 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26870 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27317 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27563 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27832 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27384 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 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 = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26505 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26776 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 26541 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27659 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 28491 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27981 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27231 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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, 28616 FROM "__triples" t0 WHERE t0.p = 27004 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28616);
    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 = 28615;
    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 = 28617;
    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 = 28616;
    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 = 28615);


        -- <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 = 28615);


        -- <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 = 28617);


        -- <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 = 28617);


        -- <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 = 28616);


        -- <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 = 28616);


        -- <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 = 28616);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28615 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, 28617 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, 28616 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 2079
    ---- DEPENDS ON: 2078, 0
    ----------------------------------------

    -- Nonrecursive rules

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

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2080
    ---- DEPENDS ON: 2079, 2022, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/CoStars>(?X0,?X3) :- <http://dbpedia.org/ontology/PersonR>(?X0,?X1), <http://dbpedia.org/ontology/CoStarring>(?X1,?X2), <http://dbpedia.org/ontology/PersonR>(?X2,?X3) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28619, t2.o FROM "__triples" t0, "__triples" t1, "__triples" t2 WHERE t0.o = t1.s AND t1.o = t2.s AND t0.p = 28618 AND t1.p = 28538 AND t2.p = 28618 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28619 AND ex.o = t2.o);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2081
    ---- DEPENDS ON: 1309, 1956, 2079, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/musicWorkHasProducer>(?X0,?X3) :- <http://dbpedia.org/ontology/MusicalWorkR>(?X0,?X1), <http://dbpedia.org/ontology/producer>(?X1,?X2), <http://dbpedia.org/ontology/PersonR>(?X2,?X3) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28620, t2.o FROM "__triples" t0, "__triples" t1, "__triples" t2 WHERE t0.o = t1.s AND t1.o = t2.s AND t0.p = 28467 AND t1.p = 27799 AND t2.p = 28618 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28620 AND ex.o = t2.o);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2082
    ---- DEPENDS ON: 2081, 0
    ----------------------------------------

    -- Nonrecursive rules

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

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2083
    ---- DEPENDS ON: 1744, 2082, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/similarArtists>(?X0,?X3) :- <http://dbpedia.org/ontology/artist>(?X1,?X0), <http://dbpedia.org/ontology/SimilarMusicalWork>(?X1,?X2), <http://dbpedia.org/ontology/artist>(?X2,?X3) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.o, 28622, t2.o FROM "__triples" t0, "__triples" t1, "__triples" t2 WHERE t0.s = t1.s AND t1.o = t2.s AND t0.p = 28247 AND t1.p = 28621 AND t2.p = 28247 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 28622 AND ex.o = t2.o);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2084
    ---- DEPENDS ON: 2002, 2083, 2003, 0
    ----------------------------------------

    -- Nonrecursive rules

    -- [Rule] <http://dbpedia.org/ontology/SimilarMusicGroups>(?X0,?X3) :- <http://schema.org/MusicGroupR>(?X0,?X1), <http://dbpedia.org/ontology/similarArtists>(?X1,?X2), <http://schema.org/MusicGroupR>(?X2,?X3) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 28623, t2.o FROM "__triples" t0, "__triples" t1, "__triples" t2 WHERE t0.o = t1.s AND t1.o = t2.s AND t0.p = 28517 AND t1.p = 28622 AND t2.p = 28517 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 28623 AND ex.o = t2.o);
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    total_tuples := total_tuples + rows_nr;

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

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2085
    ---- DEPENDS ON: 2084, 1744, 1743, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

    -- Prepare temporary tables for recursive rules

    delta_old_size := 0;

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


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


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2086
    ---- DEPENDS ON: 2078, 964, 2057, 662, 109, 80, 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, 28625 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28616 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28625);
    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, 28625 FROM "__triples" t0 WHERE t0.p = 27451 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28625);
    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, 28625 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28579 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28625);
    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, 28625 FROM "__triples" t0 WHERE t0.p = 27146 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28625);
    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, 28625 FROM "__triples" t0 WHERE t0.p = 26591 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28625);
    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, 28625 FROM "__triples" t0 WHERE t0.p = 26562 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.o AND ex.p = 2 AND ex.o = 28625);
    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 = 28625;
    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 = 28625);


        -- Propagate $delta_new

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28625 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 2087
    ---- DEPENDS ON: 2077, 1825, 1727, 1716, 1693, 1670, 1662, 1538, 1522, 1462, 1424, 1253, 1060, 983, 872, 690, 430, 410, 309, 287, 254, 120, 35, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/GrandPrix>(?X) :- <http://dbpedia.org/ontology/secondDriverCountry>(?X,?X1) .
    INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28626 FROM "__triples" t0 WHERE t0.p = 28014 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28626);
    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_GrandPrix_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_GrandPrix_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28626;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_GrandPrix_delta_old" ON "dbrdf_GrandPrix_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_GrandPrix_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/GrandPrix$delta_new>(?Y) :- <http://dbpedia.org/ontology/GrandPrix$delta_old>(?X0), owl:sameAs(?X0,?Y) .
        INSERT INTO "dbrdf_GrandPrix_delta_new"(s) SELECT t1.o FROM "dbrdf_GrandPrix_delta_old" t0, "__triples" t1 WHERE 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 = 28626);


        -- Propagate $delta_new

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

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2088
    ---- DEPENDS ON: 1979, 1923, 1761, 1741, 1599, 820, 566, 474, 242, 194, 1774, 2087, 1604, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/SportsEvent>(?X) :- <http://dbpedia.org/ontology/Olympics>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28628 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28096 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28628);
    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_SportsEvent_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SportsEvent_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28627;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SportsEvent_delta_old" ON "dbrdf_SportsEvent_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SportsEvent_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SportsEvent_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_SportsEvent_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28628;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_SportsEvent_delta_old0" ON "dbrdf_SportsEvent_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_SportsEvent_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/SportsEvent$delta_new>(?X) :- <http://dbpedia.org/ontology/SportsEvent$delta_old>(?X) .
        INSERT INTO "dbrdf_SportsEvent_delta_new"(s) SELECT t0.s FROM "dbrdf_SportsEvent_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28627);


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


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


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


        -- Propagate $delta_new

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

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28628 FROM "dbrdf_SportsEvent_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_SportsEvent_delta_old0";
        INSERT INTO "dbrdf_SportsEvent_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_SportsEvent_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_SportsEvent_delta_new0";

    END LOOP;

    -- END Recursive rules

    ----------------------------------------
    ---- COMPONENT 2089
    ---- DEPENDS ON: 1980, 1970, 1961, 1894, 1549, 1951, 1392, 1300, 883, 775, 2026, 688, 353, 347, 2088, 323, 298, 932, 0
    ----------------------------------------

    -- Nonrecursive rules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    -- [Rule] <http://dbpedia.org/ontology/Event>(?X) :- <http://dbpedia.org/ontology/Election>(?X) .
    INSERT INTO "__triples"(s, p, o) SELECT t0.s, 2, 28630 FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 27419 AND NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28630);
    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_Event_delta_old"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Event_delta_old"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28629;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Event_delta_old" ON "dbrdf_Event_delta_old"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Event_delta_new"(s integer) ON COMMIT DROP;
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Event_delta_old0"(s integer) ON COMMIT DROP;
    INSERT INTO "dbrdf_Event_delta_old0"(s) SELECT t0.s FROM "__triples" t0 WHERE t0.p = 2 AND t0.o = 28630;
    GET DIAGNOSTICS rows_nr = ROW_COUNT;
    delta_old_size := delta_old_size + rows_nr;
    CREATE INDEX "IDX_0_dbrdf_Event_delta_old0" ON "dbrdf_Event_delta_old0"(s);
    CREATE LOCAL TEMPORARY TABLE "dbrdf_Event_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/Event$delta_new>(?X) :- <http://dbpedia.org/ontology/Event$delta_old>(?X) .
        INSERT INTO "dbrdf_Event_delta_new"(s) SELECT t0.s FROM "dbrdf_Event_delta_old0" t0 WHERE NOT EXISTS (SELECT 1 FROM "__triples" ex WHERE ex.s = t0.s AND ex.p = 2 AND ex.o = 28629);


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


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


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


        -- Propagate $delta_new

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

        INSERT INTO "__triples"(s, p, o) SELECT DISTINCT t0.s, 2, 28630 FROM "dbrdf_Event_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_Event_delta_old0";
        INSERT INTO "dbrdf_Event_delta_old0"(s) SELECT DISTINCT t0.s FROM "dbrdf_Event_delta_new0" t0;
        TRUNCATE TABLE "dbrdf_Event_delta_new0";

    END LOOP;

    -- END Recursive rules

    RETURN total_tuples;
END;
$$ LANGUAGE plpgsql;

-- END FUNCTION:   do_reasoning_all
------------------------------------------------------------------------------------------
