crates/knut-popviz/mappings/population.json
{
"catalog": [
{
"name": "population",
"type": "iceberg"
}
],
"node": [
{
"label": "Person",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "Person",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "lon",
"targetFieldName": "lon"
},
{
"sourceFieldName": "lat",
"targetFieldName": "lat"
},
{
"sourceFieldName": "kommun",
"targetFieldName": "kommun"
},
{
"sourceFieldName": "ekonomiskt_bistand",
"targetFieldName": "ekonomiskt_bistand"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "lon"
},
{
"name": "lat"
},
{
"name": "kommun"
},
{
"name": "ekonomiskt_bistand"
},
{
"name": "round"
}
]
},
{
"label": "Address",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "Address",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "lon",
"targetFieldName": "lon"
},
{
"sourceFieldName": "lat",
"targetFieldName": "lat"
},
{
"sourceFieldName": "kommun",
"targetFieldName": "kommun"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "lon"
},
{
"name": "lat"
},
{
"name": "kommun"
},
{
"name": "round"
}
]
},
{
"label": "Company",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "Company",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "Debt",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "Debt",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "Loan",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "Loan",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "TaxRecord",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "TaxRecord",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "KfmCase",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "KfmCase",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "PoliceRecord",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "PoliceRecord",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "FkBenefit",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "FkBenefit",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "AfRecord",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "AfRecord",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "Vehicle",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "Vehicle",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "round"
}
]
},
{
"label": "Property",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "Property",
"mappedField": [
{
"sourceFieldName": "_gar_id",
"targetFieldName": "id"
},
{
"sourceFieldName": "idx",
"targetFieldName": "idx"
},
{
"sourceFieldName": "name",
"targetFieldName": "name"
},
{
"sourceFieldName": "lon",
"targetFieldName": "lon"
},
{
"sourceFieldName": "lat",
"targetFieldName": "lat"
},
{
"sourceFieldName": "kommun",
"targetFieldName": "kommun"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"id": [
{
"name": "id",
"type": "LONG"
}
],
"attribute": [
{
"name": "idx"
},
{
"name": "name"
},
{
"name": "lon"
},
{
"name": "lat"
},
{
"name": "kommun"
},
{
"name": "round"
}
]
}
],
"edge": [
{
"label": "LIVES_AT",
"fromNodeLabel": "Person",
"toNodeLabel": "Address",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_LIVES_AT",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "OWNS",
"fromNodeLabel": "Person",
"toNodeLabel": "Company",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_OWNS",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "OWES",
"fromNodeLabel": "Person",
"toNodeLabel": "Debt",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_OWES",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "HOLDS",
"fromNodeLabel": "Person",
"toNodeLabel": "Loan",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_HOLDS",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "FILED",
"fromNodeLabel": "Person",
"toNodeLabel": "TaxRecord",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_FILED",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "SUBJECT_OF",
"fromNodeLabel": "Person",
"toNodeLabel": "KfmCase",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_SUBJECT_OF",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "FLAGGED_BY",
"fromNodeLabel": "Person",
"toNodeLabel": "PoliceRecord",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_FLAGGED_BY",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "RECEIVES",
"fromNodeLabel": "Person",
"toNodeLabel": "FkBenefit",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_RECEIVES",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "REGISTERED_AT",
"fromNodeLabel": "Person",
"toNodeLabel": "AfRecord",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_REGISTERED_AT",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "DRIVES",
"fromNodeLabel": "Person",
"toNodeLabel": "Vehicle",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_DRIVES",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
},
{
"label": "OWNS_PROPERTY",
"fromNodeLabel": "Person",
"toNodeLabel": "Property",
"dataSourceGroup": {
"externalDataSource": {
"enabled": true,
"catalog": "population",
"table": "rel_OWNS_PROPERTY",
"mappedField": [
{
"sourceFieldName": "src",
"targetFieldName": "src"
},
{
"sourceFieldName": "dst",
"targetFieldName": "dst"
},
{
"sourceFieldName": "round",
"targetFieldName": "round"
}
]
}
},
"fromKey": [
{
"name": "src",
"type": "LONG"
}
],
"toKey": [
{
"name": "dst",
"type": "LONG"
}
],
"attribute": [
{
"name": "round",
"type": "LONG"
}
]
}
]
}