Skip to content

Type mismatch between Place ID assignment plaintext identifier in model and triple store #73

@kevinstadler

Description

@kevinstadler

Place ID assignment plaintext identifier is supposed to be a string according to the model, but in the triple store they are all xsd:integer:

  <path>
    <id>p_place_id_assignment_identifier_plain</id>
    <weight>0</weight>
    <enabled>1</enabled>
    <group_id>g_place_id_assignment_identifier</group_id>
    <bundle>b2cbbb7ed70ac8fba83649e715280953</bundle>
    <field>f4d9e6a8894de3471db24a90c2740711</field>
    <fieldtype>string</fieldtype>
    <displaywidget>string_textfield</displaywidget>
    <formatterwidget>string</formatterwidget>
    <cardinality>1</cardinality>
    <field_type_informative>string</field_type_informative>
    <path_array>
      <x>http://www.cidoc-crm.org/cidoc-crm/E27_Site</x>
      <y>^http://www.cidoc-crm.org/cidoc-crm/P140_assigned_attribute_to</y>
      <x>http://www.cidoc-crm.org/cidoc-crm/E15_Identifier_Assignment</x>
      <y>http://www.cidoc-crm.org/cidoc-crm/P37_assigned</y>
      <x>http://www.cidoc-crm.org/cidoc-crm/E42_Identifier</x>
    </path_array>
    <datatype_property>http://www.cidoc-crm.org/cidoc-crm/P190_has_symbolic_content</datatype_property>
    <short_name/>
    <disamb>0</disamb>
    <description/>
    <uuid>b6dbb6dd-371a-4ffe-9d41-e82f51e74606</uuid>
    <is_group>0</is_group>
    <name>Plaintext identifier</name>
  </path>
  <path>

I can work around this for now with an adjustment to the generated Pydantic model, but for sake of consistency the model should be changed accordingly or (if other data sources with non-integer identifiers are to be imported later) the types of the existing data should be corrected.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions