Compare commits

...

2 commits

Author SHA1 Message Date
e744e08bee
Bump version to 0.2.2 2024-09-15 03:54:54 +09:00
1d766a0dc7
Remove BOM and extra quotes 2024-09-15 03:52:22 +09:00
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ class GbizInfoKatsudoMapper(CSV2RDFMapper):
@staticmethod
def map_to_triples(row: dict[str, str]) -> list[_TripleMapType]:
s = HJ_DATA[row["ID-識別値"]]
ss = HJ_EXT[f"{row['ID-識別値']}_{row['キー情報']}"]
ss = HJ_EXT[f"{row['ID-識別値']}_{row['キー情報'].strip("\ufeff\"")}"]
triples = [
(s, HJ.法人活動情報, ss),

View file

@ -14,7 +14,7 @@ class GbizInfoChotatsuMapper(GbizInfoKatsudoMapper):
@staticmethod
def map_to_triples(row: dict[str, str]) -> list[_TripleMapType]:
ss = HJ_EXT[f"{row['ID-識別値']}_{row['キー情報']}"]
ss = HJ_EXT[f"{row['ID-識別値']}_{row['キー情報'].strip("\ufeff\"")}"]
triples = GbizInfoKatsudoMapper.map_to_triples(row)
triples.extend(

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "gbizinfo-lod"
version = "0.2.1"
version = "0.2.2"
description = "A tool to generate LOD datasets for gBizINFO"
authors = ["Babibubebon <babibubebon@babibubebo.org>"]
homepage = "https://github.com/Babibubebon/gbizinfo-lod"