nationalarchives / kettle-jena-plugins

Jena Plugins for Pentaho Kettle to transform data into RDF
MIT License
12 stars 4 forks source link

Strings with quotes in are not escaped correctly #18

Closed adamretter closed 3 years ago

adamretter commented 3 years ago

Given an input text of "Africa" OR "Afrika" we find that when serialized as an RDF literal value, we end up with missing escaped quotes at the beginning and end of the string. For example, the following Turtle is serialized:

<http://www.nationalarchives.gov.uk/topic.2>
      a       skos:Concept ;
      dct:subject "Africa\" OR \"Afrika" ;
      skos:prefLabel "Africa" .

The dct:subject should instead look like:

dct:subject "\"Africa\" OR \"Afrika\"" ;
langsamu commented 3 years ago

This is in the wrong repo. Currect issue is nationalarchives/tna-cat#34.

langsamu commented 3 years ago

@adamretter please close.