-- DBMS: snowflake
CREATE TABLE US_REAL_ESTATE.CYBERSYN.GEOGRAPHY_CHARACTERISTICS (
    RELATIONSHIP_START_DATE DATE,
    RELATIONSHIP_END_DATE DATE,
    GEO_NAME TEXT,
    GEO_ID TEXT,
    RELATIONSHIP_TYPE TEXT,
    VALUE TEXT
);

INSERT INTO "US_REAL_ESTATE"."CYBERSYN"."GEOGRAPHY_CHARACTERISTICS" (RELATIONSHIP_START_DATE, RELATIONSHIP_END_DATE, GEO_NAME, GEO_ID, RELATIONSHIP_TYPE, VALUE) VALUES (NULL, NULL, '35203447', 'statcanId/S051235203447', 'coordinates_geojson', '{"coordinates":[[[-79.262111006,43.722276494],[-79.263548202,43.721947189],[-79.264281698,43.723633004],[-79.264284036,43.72363834],[-79.264479597,43.724086207],[-79.264921816,43.725110296],[-79.264979705,43.725255295],[-79.264858849,43.725281993],[-79.263530307,43.725575411],[-79.262530209,43.725812295],[-79.262080286,43.725913503],[-79.260656203,43.726216001],[-79.25923649,43.722935001],[-79.260673809,43.722605703],[-79.262111006,43.722276494]]],"type":"Polygon"}'), (NULL, NULL, 'Lake View', 'geoId/0538110', 'coordinates_geojson', '{"coordinates":[[[-90.839917,34.428681],[-90.839747,34.428692],[-90.839709,34.428692],[-90.839599,34.428695],[-90.839562,34.428697],[-90.839177,34.428736],[-90.836459,34.428863],[-90.836233,34.428874],[-90.835145,34.428935],[-90.833215,34.429056],[-90.830066,34.429221],[-90.828209,34.429315],[-90.827152,34.429368],[-90.827022,34.429375],[-90.8249,34.429535],[-90.824071,34.429716],[-90.823414,34.429865],[-90.821705,34.430283],[-90.819449,34.430837],[-90.816458,34.431596],[-90.815563,34.431805],[-90.81462,34.432041],[-90.81226,34.432634],[-90.812147,34.432662],[-90.808801,34.433525],[-90.807552,34.433848],[-90.805708,34.434447],[-90.803393,34.435205],[-90.798593,34.436772],[-90.798532,34.436793],[-90.795205,34.437902],[-90.795004,34.437968],[-90.794404,34.438168],[-90.794281,34.43821],[-90.794201,34.438221],[-90.792686,34.438711],[-90.790832,34.439313],[-90.788146,34.440193],[-90.786726,34.440659],[-90.786629,34.440666],[-90.78659,34.440669],[-90.786473,34.440678],[-90.786434,34.440681],[-90.786311,34.44072],[-90.785944,34.440838],[-90.785822,34.440878],[-90.785839,34.440291],[-90.785894,34.438532],[-90.785912,34.437946],[-90.785916,34.436912],[-90.785878,34.434177],[-90.785835,34.430761],[-90.785824,34.429835],[-90.785782,34.428548],[-90.785718,34.423606],[-90.785707,34.422376],[-90.785686,34.421503],[-90.785685,34.418251],[-90.785683,34.418171],[-90.785679,34.417869],[-90.785664,34.416725],[-90.78566,34.416344],[-90.785659,34.41629],[-90.785656,34.416128],[-90.785655,34.416075],[-90.785666,34.416075],[-90.786037,34.41613],[-90.786395,34.416097],[-90.789193,34.416273],[-90.789757,34.41629],[-90.790904,34.416268],[-90.79156,34.416329],[-90.791693,34.416312],[-90.791859,34.416246],[-90.793404,34.416214],[-90.793712,34.416188],[-90.794557,34.41612],[-90.795744,34.415939],[-90.796049,34.415912],[-90.796182,34.41595],[-90.796308,34.415945],[-90.796414,34.415863],[-90.797309,34.415703],[-90.797514,34.415731],[-90.797634,34.415665],[-90.797833,34.415599],[-90.798224,34.415599],[-90.79841,34.415533],[-90.798688,34.415522],[-90.798807,34.415467],[-90.799046,34.41544],[-90.799205,34.415434],[-90.799285,34.415385],[-90.799358,34.415319],[-90.79965,34.415258],[-90.800047,34.415253],[-90.800419,34.415154],[-90.800624,34.415088],[-90.801221,34.414995],[-90.801513,34.414874],[-90.801751,34.41477],[-90.802428,34.414638],[-90.803137,34.414446],[-90.803349,34.414385],[-90.803754,34.414242],[-90.803966,34.414138],[-90.804516,34.414012],[-90.804828,34.413935],[-90.80502,34.413874],[-90.805086,34.41383],[-90.805498,34.413688],[-90.805604,34.41366],[-90.806088,34.413468],[-90.806532,34.413248],[-90.807241,34.413017],[-90.807493,34.412907],[-90.807778,34.412792],[-90.808083,34.412693],[-90.808163,34.412627],[-90.808839,34.412325],[-90.809144,34.412171],[-90.80933,34.412089],[-90.809648,34.411885],[-90.80986,34.411814],[-90.810019,34.411776],[-90.810192,34.411671],[-90.81059,34.411314],[-90.810696,34.411254],[-90.810835,34.411199],[-90.810948,34.411127],[-90.81169,34.410754],[-90.811829,34.41066],[-90.811909,34.410627],[-90.812174,34.410462],[-90.812254,34.410391],[-90.812519,34.410237],[-90.812618,34.410144],[-90.812764,34.410067],[-90.812923,34.409929],[-90.812956,34.40988],[-90.813089,34.409803],[-90.813255,34.409671],[-90.81354,34.409512],[-90.813593,34.409468],[-90.814011,34.409303],[-90.814097,34.409226],[-90.814229,34.40916],[-90.814335,34.409078],[-90.814369,34.409028],[-90.814468,34.408957],[-90.814634,34.408803],[-90.814972,34.408561],[-90.815071,34.408512],[-90.815164,34.408347],[-90.81523,34.408176],[-90.815297,34.4081],[-90.815436,34.408061],[-90.815549,34.407979],[-90.815628,34.40788],[-90.815731,34.407721],[-90.815761,34.407676],[-90.815847,34.407561],[-90.815873,34.407484],[-90.816298,34.407215],[-90.816516,34.406995],[-90.816702,34.406841],[-90.816795,34.406704],[-90.816881,34.4065],[-90.81702,34.406374],[-90.817219,34.406237],[-90.817339,34.406072],[-90.817511,34.405671],[-90.81769,34.40544],[-90.817902,34.40522],[-90.818147,34.404885],[-90.818366,34.404649],[-90.818578,34.404242],[-90.818631,34.404105],[-90.818671,34.403731],[-90.819002,34.403033],[-90.819168,34.402747],[-90.819214,34.402582],[-90.819446,34.402099],[-90.819599,34.401841],[-90.819738,34.401368],[-90.819844,34.401231],[-90.819963,34.401159],[-90.819957,34.401094],[-90.81995,34.401027],[-90.819932,34.400931],[-90.819924,34.400885],[-90.82001,34.400665],[-90.820149,34.400533],[-90.820155,34.400514],[-90.820215,34.400361],[-90.820274,34.400377],[-90.820451,34.400427],[-90.820511,34.400444],[-90.821566,34.400731],[-90.822037,34.40086],[-90.824409,34.401306],[-90.824753,34.401337],[-90.824784,34.401348],[-90.825081,34.401451],[-90.825356,34.401585],[-90.825706,34.401741],[-90.825793,34.401767],[-90.825813,34.401773],[-90.825876,34.401791],[-90.825897,34.401798],[-90.826309,34.402187],[-90.826721,34.402458],[-90.827529,34.402853],[-90.832811,34.405435],[-90.834572,34.406296],[-90.83562,34.406799],[-90.838766,34.408309],[-90.8396,34.40871],[-90.839832,34.408765],[-90.839823,34.408884],[-90.839799,34.409243],[-90.839797,34.409282],[-90.839791,34.409363],[-90.839787,34.409415],[-90.839778,34.409532],[-90.83974,34.410042],[-90.839728,34.410212],[-90.839721,34.41078],[-90.839702,34.412486],[-90.839697,34.413055],[-90.839689,34.41378],[-90.83967,34.415564],[-90.839665,34.415955],[-90.839657,34.41668],[-90.839659,34.417207],[-90.839665,34.418788],[-90.839668,34.419316],[-90.83971,34.420141],[-90.839838,34.422617],[-90.839881,34.423443],[-90.839864,34.423575],[-90.839814,34.423974],[-90.839798,34.424107],[-90.839737,34.425838],[-90.839722,34.428158],[-90.839767,34.428349],[-90.839912,34.4286],[-90.839917,34.428681]]],"type":"Polygon"}'), (NULL, NULL, 'Census Tract 413.28, Clark County, Washington', 'geoId/53011041328', 'coordinates_geojson', '{"coordinates":[[[-122.503957,45.60668],[-122.502922,45.606667],[-122.50252,45.606662],[-122.500364,45.606665],[-122.500346,45.606665],[-122.500141,45.606663],[-122.499819,45.60666],[-122.498785,45.606652],[-122.498145,45.606653],[-122.496225,45.606658],[-122.495586,45.60666],[-122.494897,45.606665],[-122.49283,45.60668],[-122.492141,45.606685],[-122.491324,45.606689],[-122.488875,45.606702],[-122.488416,45.606705],[-122.488059,45.606692],[-122.487253,45.606693],[-122.484837,45.606699],[-122.484032,45.606701],[-122.483141,45.606706],[-122.481126,45.606719],[-122.480468,45.606724],[-122.479578,45.606733],[-122.478839,45.606734],[-122.476623,45.60674],[-122.475885,45.606742],[-122.475891,45.607401],[-122.475912,45.60938],[-122.475919,45.61004],[-122.47547,45.610046],[-122.475382,45.610048],[-122.475261,45.610051],[-122.474581,45.610058],[-122.474317,45.610061],[-122.473772,45.610051],[-122.473316,45.610044],[-122.473237,45.610035],[-122.472944,45.610012],[-122.472915,45.610008],[-122.472697,45.609982],[-122.472361,45.609924],[-122.472189,45.609887],[-122.471966,45.609828],[-122.471655,45.609747],[-122.471085,45.609627],[-122.471067,45.609624],[-122.47081,45.609567],[-122.470794,45.609564],[-122.470624,45.609527],[-122.470602,45.609522],[-122.469998,45.609386],[-122.469793,45.609327],[-122.469585,45.609257],[-122.469399,45.609183],[-122.469281,45.609137],[-122.469134,45.609071],[-122.469013,45.609011],[-122.468865,45.608953],[-122.468743,45.60891],[-122.468646,45.608868],[-122.468538,45.608808],[-122.468456,45.608751],[-122.468397,45.608696],[-122.468359,45.608654],[-122.468334,45.608581],[-122.468309,45.608538],[-122.468301,45.608399],[-122.468306,45.608266],[-122.468335,45.607582],[-122.468344,45.607467],[-122.468345,45.607366],[-122.468341,45.607303],[-122.468316,45.607184],[-122.468299,45.607135],[-122.468256,45.607056],[-122.468222,45.60701],[-122.468183,45.606967],[-122.468029,45.606814],[-122.467448,45.606761],[-122.467109,45.606767],[-122.467055,45.606768],[-122.466981,45.606769],[-122.466448,45.60676],[-122.465705,45.606753],[-122.46567,45.606752],[-122.465269,45.606745],[-122.46498,45.60674],[-122.462983,45.606738],[-122.462516,45.606738],[-122.462463,45.606738],[-122.462396,45.606739],[-122.461711,45.606747],[-122.460368,45.606738],[-122.45891,45.606744],[-122.45887,45.606744],[-122.458692,45.606747],[-122.457629,45.606764],[-122.457078,45.606762],[-122.456788,45.606761],[-122.45373,45.606809],[-122.452236,45.606806],[-122.450622,45.606803],[-122.450615,45.606278],[-122.450595,45.604705],[-122.450589,45.604181],[-122.450571,45.603337],[-122.450532,45.601356],[-122.450526,45.600806],[-122.450517,45.599963],[-122.450509,45.599452],[-122.450489,45.59809],[-122.450473,45.597923],[-122.450439,45.59755],[-122.450448,45.597415],[-122.450453,45.597326],[-122.450458,45.597266],[-122.450465,45.597062],[-122.450469,45.596974],[-122.450503,45.596914],[-122.450657,45.596694],[-122.450815,45.596556],[-122.450832,45.596542],[-122.452123,45.595619],[-122.452149,45.595596],[-122.452334,45.595446],[-122.452547,45.595221],[-122.452583,45.595169],[-122.452643,45.595043],[-122.452665,45.594982],[-122.452679,45.594919],[-122.452686,45.5948],[-122.45269,45.594338],[-122.452692,45.594114],[-122.452696,45.593728],[-122.452691,45.591696],[-122.45269,45.5916],[-122.452682,45.590688],[-122.452681,45.590679],[-122.452681,45.590645],[-122.452986,45.590647],[-122.453234,45.590642],[-122.454151,45.590654],[-122.454783,45.590642],[-122.454866,45.59064],[-122.454893,45.590641],[-122.455022,45.590648],[-122.455158,45.590682],[-122.455189,45.590698],[-122.455218,45.590738],[-122.455239,45.590821],[-122.455238,45.590897],[-122.455229,45.590934],[-122.455225,45.591153],[-122.455221,45.591443],[-122.455205,45.591631],[-122.455206,45.591764],[-122.455226,45.591807],[-122.455258,45.591876],[-122.455339,45.591931],[-122.455384,45.591942],[-122.455473,45.591958],[-122.455598,45.591962],[-122.45594,45.59196],[-122.457278,45.591953],[-122.457614,45.591956],[-122.458173,45.591961],[-122.458382,45.591966],[-122.458586,45.591965],[-122.459594,45.591962],[-122.45979,45.591962],[-122.459826,45.591965],[-122.460238,45.592003],[-122.460491,45.592086],[-122.460781,45.592181],[-122.461072,45.592307],[-122.461238,45.592369],[-122.461492,45.592451],[-122.461817,45.592472],[-122.462053,45.592473],[-122.462072,45.592474],[-122.463738,45.592446],[-122.463876,45.592444],[-122.464094,45.592441],[-122.4643,45.592439],[-122.464706,45.592434],[-122.465043,45.59243],[-122.465281,45.592438],[-122.465697,45.59247],[-122.465866,45.59251],[-122.465918,45.592524],[-122.466101,45.592574],[-122.466179,45.592596],[-122.46631,45.592632],[-122.466402,45.592675],[-122.466623,45.592806],[-122.466836,45.592968],[-122.46685,45.592979],[-122.467062,45.593196],[-122.467962,45.59443],[-122.467983,45.594456],[-122.468107,45.594606],[-122.468265,45.59477],[-122.46843,45.594892],[-122.468753,45.595142],[-122.468844,45.595219],[-122.470025,45.596218],[-122.470053,45.596247],[-122.470097,45.596293],[-122.470146,45.596366],[-122.470187,45.596455],[-122.470206,45.596558],[-122.470219,45.596732],[-122.47036,45.596731],[-122.470874,45.596729],[-122.470995,45.596729],[-122.471046,45.596729],[-122.471107,45.596728],[-122.471292,45.596722],[-122.471354,45.59672],[-122.471546,45.596713],[-122.471962,45.5967],[-122.472125,45.596699],[-122.47223,45.596698],[-122.472292,45.596698],[-122.472318,45.596698],[-122.472883,45.596695],[-122.473003,45.596694],[-122.475058,45.596685],[-122.475504,45.596683],[-122.475558,45.596683],[-122.475744,45.596681],[-122.475884,45.596679],[-122.476029,45.596677],[-122.476232,45.596676],[-122.477698,45.596675],[-122.478187,45.596675],[-122.478767,45.596669],[-122.480201,45.596656],[-122.48051,45.596654],[-122.481091,45.596649],[-122.48166,45.596643],[-122.482642,45.596635],[-122.483368,45.596641],[-122.483938,45.596646],[-122.485127,45.596625],[-122.485222,45.596624],[-122.485651,45.596624],[-122.486338,45.596638],[-122.486991,45.596668],[-122.487566,45.596707],[-122.488192,45.596721],[-122.488692,45.596717],[-122.488876,45.596716],[-122.489882,45.596702],[-122.490032,45.596699],[-122.490059,45.596699],[-122.490482,45.596701],[-122.490633,45.596702],[-122.490678,45.596703],[-122.490851,45.596703],[-122.491507,45.596706],[-122.491726,45.596707],[-122.491808,45.596707],[-122.492056,45.596708],[-122.492139,45.596709],[-122.492491,45.596715],[-122.49282,45.596713],[-122.494865,45.596707],[-122.495377,45.596706],[-122.495547,45.596711],[-122.495699,45.596704],[-122.496098,45.596703],[-122.497752,45.596701],[-122.498304,45.596701],[-122.498651,45.5967],[-122.499692,45.5967],[-122.499766,45.5967],[-122.50004,45.596696],[-122.502576,45.596696],[-122.503922,45.596696],[-122.50392,45.596788],[-122.503849,45.598171],[-122.503895,45.59991],[-122.50388,45.600231],[-122.503878,45.600542],[-122.503875,45.601476],[-122.503874,45.601788],[-122.503876,45.60201],[-122.503884,45.602268],[-122.503883,45.602298],[-122.503875,45.603274],[-122.503878,45.603359],[-122.503864,45.60383],[-122.503862,45.603903],[-122.503856,45.604341],[-122.503876,45.604808],[-122.503936,45.606212],[-122.503957,45.60668]]],"type":"Polygon"}'), (NULL, NULL, 'Census Tract 402.01, Cook County, Illinois', 'geoId/17031040201', 'coordinates_geojson', '{"coordinates":[[[-87.698952,41.976733],[-87.698464,41.976735],[-87.698343,41.976736],[-87.697003,41.976745],[-87.696516,41.976749],[-87.696028,41.976752],[-87.694566,41.976762],[-87.694079,41.976766],[-87.693744,41.976768],[-87.693018,41.976773],[-87.692742,41.976775],[-87.692409,41.976778],[-87.692396,41.976704],[-87.692385,41.976596],[-87.692363,41.976359],[-87.692351,41.976104],[-87.69235,41.976049],[-87.692347,41.975867],[-87.691707,41.975871],[-87.691603,41.975872],[-87.691609,41.976039],[-87.691613,41.976334],[-87.690158,41.976337],[-87.689169,41.976346],[-87.689158,41.976072],[-87.689151,41.975892],[-87.689143,41.975697],[-87.689122,41.975111],[-87.689116,41.974917],[-87.68911,41.974753],[-87.689092,41.974263],[-87.689087,41.9741],[-87.68908,41.973883],[-87.689059,41.973232],[-87.689053,41.973016],[-87.689048,41.972862],[-87.689039,41.972578],[-87.689034,41.972403],[-87.68903,41.97225],[-87.689021,41.971999],[-87.688994,41.971249],[-87.688985,41.970999],[-87.688981,41.970881],[-87.688969,41.970529],[-87.688965,41.970412],[-87.68896,41.970273],[-87.688945,41.969856],[-87.688941,41.969718],[-87.688934,41.969539],[-87.688915,41.969003],[-87.688914,41.968971],[-87.688911,41.968825],[-87.68891,41.968783],[-87.688907,41.968657],[-87.688907,41.968615],[-87.689151,41.968612],[-87.6895,41.96861],[-87.689883,41.968605],[-87.690127,41.968603],[-87.690371,41.968601],[-87.691104,41.968594],[-87.691349,41.968593],[-87.691593,41.96859],[-87.692327,41.968583],[-87.692572,41.968581],[-87.692817,41.968579],[-87.693552,41.968573],[-87.693798,41.968572],[-87.694042,41.968569],[-87.694777,41.968562],[-87.695022,41.968561],[-87.695266,41.968559],[-87.695999,41.968554],[-87.696244,41.968553],[-87.696488,41.96855],[-87.697222,41.968543],[-87.697467,41.968542],[-87.697711,41.96854],[-87.698444,41.968533],[-87.698689,41.968532],[-87.698696,41.968751],[-87.698705,41.968989],[-87.698718,41.969409],[-87.698726,41.969629],[-87.698733,41.969847],[-87.698754,41.970504],[-87.698762,41.970723],[-87.698771,41.971013],[-87.698784,41.971422],[-87.698799,41.971885],[-87.698809,41.972176],[-87.698814,41.972357],[-87.698832,41.972904],[-87.698839,41.973086],[-87.698844,41.973269],[-87.698852,41.973539],[-87.698861,41.973819],[-87.698868,41.974003],[-87.698873,41.974149],[-87.698875,41.974175],[-87.698884,41.974587],[-87.698888,41.974734],[-87.698893,41.97495],[-87.698896,41.975071],[-87.698915,41.975601],[-87.698923,41.975818],[-87.698928,41.976001],[-87.698946,41.97655],[-87.698952,41.976733]]],"type":"Polygon"}'), (NULL, NULL, '24580116', 'statcanId/S051224580116', 'coordinates_wkt', 'POLYGON((-73.476010477 45.529209417,-73.476969054 45.52742794,-73.477724613 45.527747474,-73.478598254 45.528116632,-73.479454266 45.52847221,-73.47867593 45.529929794,-73.47753373 45.532071221,-73.476598824 45.531814569,-73.47569351 45.531571438,-73.474872984 45.531359766,-73.476010477 45.529209417))');