mirror of
https://github.com/Babibubebon/gbizinfo-lod.git
synced 2024-09-22 22:54:21 +09:00
Remove BOM and extra quotes
This commit is contained in:
parent
48faee8b7b
commit
1d766a0dc7
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class GbizInfoKatsudoMapper(CSV2RDFMapper):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def map_to_triples(row: dict[str, str]) -> list[_TripleMapType]:
|
def map_to_triples(row: dict[str, str]) -> list[_TripleMapType]:
|
||||||
s = HJ_DATA[row["ID-識別値"]]
|
s = HJ_DATA[row["ID-識別値"]]
|
||||||
ss = HJ_EXT[f"{row['ID-識別値']}_{row['キー情報']}"]
|
ss = HJ_EXT[f"{row['ID-識別値']}_{row['キー情報'].strip("\ufeff\"")}"]
|
||||||
|
|
||||||
triples = [
|
triples = [
|
||||||
(s, HJ.法人活動情報, ss),
|
(s, HJ.法人活動情報, ss),
|
||||||
|
|
|
@ -14,7 +14,7 @@ class GbizInfoChotatsuMapper(GbizInfoKatsudoMapper):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def map_to_triples(row: dict[str, str]) -> list[_TripleMapType]:
|
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 = GbizInfoKatsudoMapper.map_to_triples(row)
|
||||||
triples.extend(
|
triples.extend(
|
||||||
|
|
Loading…
Reference in a new issue