rdfizer 4.7.2.7.dev1701165764__tar.gz → 4.7.2.7.dev1701166318__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/PKG-INFO +1 -1
  2. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer/__init__.py +13 -13
  3. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer/semantify.py +13 -13
  4. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer.egg-info/PKG-INFO +1 -1
  5. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/README.md +0 -0
  6. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer/__main__.py +0 -0
  7. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer/functions.py +0 -0
  8. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer/triples_map/TriplesMap.py +0 -0
  9. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer/triples_map/__init__.py +0 -0
  10. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer.egg-info/SOURCES.txt +0 -0
  11. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer.egg-info/dependency_links.txt +0 -0
  12. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer.egg-info/entry_points.txt +0 -0
  13. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer.egg-info/requires.txt +0 -0
  14. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/rdfizer.egg-info/top_level.txt +0 -0
  15. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/setup.cfg +0 -0
  16. {rdfizer-4.7.2.7.dev1701165764 → rdfizer-4.7.2.7.dev1701166318}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rdfizer
3
- Version: 4.7.2.7.dev1701165764
3
+ Version: 4.7.2.7.dev1701166318
4
4
  Summary: This project presents the SDM-RDFizer, an interpreter of mapping rules that allows the transformation of (un)structured data into RDF knowledge graphs. The current version of the SDM-RDFizer assumes mapping rules are defined in the RDF Mapping Language (RML) by Dimou et al.
5
5
  Home-page: https://github.com/SDM-TIB/SDM-RDFizer
6
6
  Author: Maria-Esther Vidal
@@ -1617,7 +1617,7 @@ def semantify_xml(triples_map, triples_map_list, output_file_descriptor):
1617
1617
  dictionary_table_update(subject)
1618
1618
  dictionary_table_update(obj)
1619
1619
  dictionary_table_update(predicate + "_" + obj)
1620
- rdf_type = subject + " " + predicate + " " + obj + " .\n"
1620
+ rdf_type = subject + " " + predicate + " " + obj + ".\n"
1621
1621
  for graph in triples_map.subject_map.graph:
1622
1622
  if graph != None and "defaultGraph" not in graph:
1623
1623
  if "{" in graph:
@@ -1625,13 +1625,13 @@ def semantify_xml(triples_map, triples_map_list, output_file_descriptor):
1625
1625
  "subject",
1626
1626
  triples_map.iterator,
1627
1627
  parent_map,
1628
- namespace) + "> .\n"
1628
+ namespace) + ">.\n"
1629
1629
  dictionary_table_update(
1630
1630
  "<" + string_substitution_xml(graph, "{(.+?)}", child, "subject",
1631
1631
  triples_map.iterator, parent_map,
1632
1632
  namespace) + ">")
1633
1633
  else:
1634
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
1634
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
1635
1635
  dictionary_table_update("<" + graph + ">")
1636
1636
  if duplicate == "yes":
1637
1637
  if dic_table[predicate + "_" + obj] not in g_triples:
@@ -2482,12 +2482,12 @@ def semantify_json(triples_map, triples_map_list, delimiter, output_file_descrip
2482
2482
  if "{" in graph:
2483
2483
  rdf_type = rdf_type[:-2] + " <" + string_substitution_json(graph, "{(.+?)}", data,
2484
2484
  "subject", ignore,
2485
- iterator) + "> .\n"
2485
+ iterator) + ">.\n"
2486
2486
  dictionary_table_update(
2487
2487
  "<" + string_substitution_json(graph, "{(.+?)}", data, "subject", ignore,
2488
2488
  iterator) + ">")
2489
2489
  else:
2490
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
2490
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
2491
2491
  dictionary_table_update("<" + graph + ">")
2492
2492
  if duplicate == "yes":
2493
2493
  if dic_table[predicate + "_" + obj] not in g_triples:
@@ -3336,12 +3336,12 @@ def semantify_file(triples_map, triples_map_list, delimiter, output_file_descrip
3336
3336
  if "{" in graph:
3337
3337
  rdf_type = rdf_type[:-2] + " <" + string_substitution(graph, "{(.+?)}", row, "subject",
3338
3338
  ignore,
3339
- triples_map.iterator) + "> .\n"
3339
+ triples_map.iterator) + ">.\n"
3340
3340
  dictionary_table_update(
3341
3341
  "<" + string_substitution(graph, "{(.+?)}", row, "subject", ignore,
3342
3342
  triples_map.iterator) + ">")
3343
3343
  else:
3344
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
3344
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
3345
3345
  dictionary_table_update("<" + graph + ">")
3346
3346
  if duplicate == "yes":
3347
3347
  dictionary_table_update(subject)
@@ -4385,17 +4385,17 @@ def semantify_mysql(row, row_headers, triples_map, triples_map_list, output_file
4385
4385
  dictionary_table_update(subject)
4386
4386
  dictionary_table_update(obj)
4387
4387
  dictionary_table_update(predicate + "_" + obj)
4388
- rdf_type = subject + " " + predicate + " " + obj + " .\n"
4388
+ rdf_type = subject + " " + predicate + " " + obj + ".\n"
4389
4389
  for graph in triples_map.subject_map.graph:
4390
4390
  if graph != None and "defaultGraph" not in graph:
4391
4391
  if "{" in graph:
4392
4392
  rdf_type = rdf_type[:-2] + " <" + string_substitution(graph, "{(.+?)}", row, "subject",
4393
4393
  ignore,
4394
- triples_map.iterator) + "> .\n"
4394
+ triples_map.iterator) + ">.\n"
4395
4395
  dictionary_table_update("<" + string_substitution(graph, "{(.+?)}", row, "subject", ignore,
4396
4396
  triples_map.iterator) + ">")
4397
4397
  else:
4398
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
4398
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
4399
4399
  dictionary_table_update("<" + graph + ">")
4400
4400
  if duplicate == "yes":
4401
4401
  if dic_table[predicate + "_" + obj] not in g_triples:
@@ -5181,18 +5181,18 @@ def semantify_postgres(row, row_headers, triples_map, triples_map_list, output_f
5181
5181
  dictionary_table_update(subject)
5182
5182
  dictionary_table_update(obj)
5183
5183
  dictionary_table_update(predicate + "_" + obj)
5184
- rdf_type = subject + " " + predicate + " " + obj + " .\n"
5184
+ rdf_type = subject + " " + predicate + " " + obj + ".\n"
5185
5185
  for graph in triples_map.subject_map.graph:
5186
5186
  if graph != None and "defaultGraph" not in graph:
5187
5187
  if "{" in graph:
5188
5188
  rdf_type = rdf_type[:-2] + " <" + string_substitution_array(graph, "{(.+?)}", row,
5189
5189
  row_headers, "subject",
5190
- ignore) + "> .\n"
5190
+ ignore) + ">.\n"
5191
5191
  dictionary_table_update(
5192
5192
  "<" + string_substitution_array(graph, "{(.+?)}", row, row_headers, "subject",
5193
5193
  ignore) + ">")
5194
5194
  else:
5195
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
5195
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
5196
5196
  dictionary_table_update("<" + graph + ">")
5197
5197
  if duplicate == "yes":
5198
5198
  if dic_table[predicate + "_" + obj] not in g_triples:
@@ -1617,7 +1617,7 @@ def semantify_xml(triples_map, triples_map_list, output_file_descriptor):
1617
1617
  dictionary_table_update(subject)
1618
1618
  dictionary_table_update(obj)
1619
1619
  dictionary_table_update(predicate + "_" + obj)
1620
- rdf_type = subject + " " + predicate + " " + obj + " .\n"
1620
+ rdf_type = subject + " " + predicate + " " + obj + ".\n"
1621
1621
  for graph in triples_map.subject_map.graph:
1622
1622
  if graph != None and "defaultGraph" not in graph:
1623
1623
  if "{" in graph:
@@ -1625,13 +1625,13 @@ def semantify_xml(triples_map, triples_map_list, output_file_descriptor):
1625
1625
  "subject",
1626
1626
  triples_map.iterator,
1627
1627
  parent_map,
1628
- namespace) + "> .\n"
1628
+ namespace) + ">.\n"
1629
1629
  dictionary_table_update(
1630
1630
  "<" + string_substitution_xml(graph, "{(.+?)}", child, "subject",
1631
1631
  triples_map.iterator, parent_map,
1632
1632
  namespace) + ">")
1633
1633
  else:
1634
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
1634
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
1635
1635
  dictionary_table_update("<" + graph + ">")
1636
1636
  if duplicate == "yes":
1637
1637
  if dic_table[predicate + "_" + obj] not in g_triples:
@@ -2482,12 +2482,12 @@ def semantify_json(triples_map, triples_map_list, delimiter, output_file_descrip
2482
2482
  if "{" in graph:
2483
2483
  rdf_type = rdf_type[:-2] + " <" + string_substitution_json(graph, "{(.+?)}", data,
2484
2484
  "subject", ignore,
2485
- iterator) + "> .\n"
2485
+ iterator) + ">.\n"
2486
2486
  dictionary_table_update(
2487
2487
  "<" + string_substitution_json(graph, "{(.+?)}", data, "subject", ignore,
2488
2488
  iterator) + ">")
2489
2489
  else:
2490
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
2490
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
2491
2491
  dictionary_table_update("<" + graph + ">")
2492
2492
  if duplicate == "yes":
2493
2493
  if dic_table[predicate + "_" + obj] not in g_triples:
@@ -3336,12 +3336,12 @@ def semantify_file(triples_map, triples_map_list, delimiter, output_file_descrip
3336
3336
  if "{" in graph:
3337
3337
  rdf_type = rdf_type[:-2] + " <" + string_substitution(graph, "{(.+?)}", row, "subject",
3338
3338
  ignore,
3339
- triples_map.iterator) + "> .\n"
3339
+ triples_map.iterator) + ">.\n"
3340
3340
  dictionary_table_update(
3341
3341
  "<" + string_substitution(graph, "{(.+?)}", row, "subject", ignore,
3342
3342
  triples_map.iterator) + ">")
3343
3343
  else:
3344
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
3344
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
3345
3345
  dictionary_table_update("<" + graph + ">")
3346
3346
  if duplicate == "yes":
3347
3347
  dictionary_table_update(subject)
@@ -4385,17 +4385,17 @@ def semantify_mysql(row, row_headers, triples_map, triples_map_list, output_file
4385
4385
  dictionary_table_update(subject)
4386
4386
  dictionary_table_update(obj)
4387
4387
  dictionary_table_update(predicate + "_" + obj)
4388
- rdf_type = subject + " " + predicate + " " + obj + " .\n"
4388
+ rdf_type = subject + " " + predicate + " " + obj + ".\n"
4389
4389
  for graph in triples_map.subject_map.graph:
4390
4390
  if graph != None and "defaultGraph" not in graph:
4391
4391
  if "{" in graph:
4392
4392
  rdf_type = rdf_type[:-2] + " <" + string_substitution(graph, "{(.+?)}", row, "subject",
4393
4393
  ignore,
4394
- triples_map.iterator) + "> .\n"
4394
+ triples_map.iterator) + ">.\n"
4395
4395
  dictionary_table_update("<" + string_substitution(graph, "{(.+?)}", row, "subject", ignore,
4396
4396
  triples_map.iterator) + ">")
4397
4397
  else:
4398
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
4398
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
4399
4399
  dictionary_table_update("<" + graph + ">")
4400
4400
  if duplicate == "yes":
4401
4401
  if dic_table[predicate + "_" + obj] not in g_triples:
@@ -5181,18 +5181,18 @@ def semantify_postgres(row, row_headers, triples_map, triples_map_list, output_f
5181
5181
  dictionary_table_update(subject)
5182
5182
  dictionary_table_update(obj)
5183
5183
  dictionary_table_update(predicate + "_" + obj)
5184
- rdf_type = subject + " " + predicate + " " + obj + " .\n"
5184
+ rdf_type = subject + " " + predicate + " " + obj + ".\n"
5185
5185
  for graph in triples_map.subject_map.graph:
5186
5186
  if graph != None and "defaultGraph" not in graph:
5187
5187
  if "{" in graph:
5188
5188
  rdf_type = rdf_type[:-2] + " <" + string_substitution_array(graph, "{(.+?)}", row,
5189
5189
  row_headers, "subject",
5190
- ignore) + "> .\n"
5190
+ ignore) + ">.\n"
5191
5191
  dictionary_table_update(
5192
5192
  "<" + string_substitution_array(graph, "{(.+?)}", row, row_headers, "subject",
5193
5193
  ignore) + ">")
5194
5194
  else:
5195
- rdf_type = rdf_type[:-2] + " <" + graph + "> .\n"
5195
+ rdf_type = rdf_type[:-2] + " <" + graph + ">.\n"
5196
5196
  dictionary_table_update("<" + graph + ">")
5197
5197
  if duplicate == "yes":
5198
5198
  if dic_table[predicate + "_" + obj] not in g_triples:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rdfizer
3
- Version: 4.7.2.7.dev1701165764
3
+ Version: 4.7.2.7.dev1701166318
4
4
  Summary: This project presents the SDM-RDFizer, an interpreter of mapping rules that allows the transformation of (un)structured data into RDF knowledge graphs. The current version of the SDM-RDFizer assumes mapping rules are defined in the RDF Mapping Language (RML) by Dimou et al.
5
5
  Home-page: https://github.com/SDM-TIB/SDM-RDFizer
6
6
  Author: Maria-Esther Vidal