Describe the Bug
When the object of a triple has a special character, such as a colon, turtleToTripleMap() is failing with a saveToGroups errors as it is parsing on the colon in the object field, and returning the first part of the object in the predicate.
This happens with data that has a colon in the title of a book when testing personalLibrary app. I have since
eg the title of a book with value "Faking It: Artificial Intelligence in a Human World"
To Reproduce
Steps to reproduce the behavior:
- cd personalLibrary
- Edit _safeParseTtlToTriple() to uncomment return turtleToTripleMap(ttlContent);
instead of the custom turtle deserialiser I have added.
- Scan a book with a ':" in the subtitle and 'Save' to add to your library
- Click 'Library' in menu/appbar
- See error
see error relating to _saveToGroups
...
and the book file will pop up in a list of unparsed files.
Expected Behaviour
Turtle files with ":" in the value fields of triples should parse successfully.
Context
Where has the issue been observed:
[Add any other context about the problem here.]
App Version: personallibrary 0.0.10 (using custom deserialiser in 0.0.11)
Closing Criteria
Checklist for closing the issue:
Describe the Bug
When the object of a triple has a special character, such as a colon, turtleToTripleMap() is failing with a saveToGroups errors as it is parsing on the colon in the object field, and returning the first part of the object in the predicate.
This happens with data that has a colon in the title of a book when testing personalLibrary app. I have since
eg the title of a book with value "Faking It: Artificial Intelligence in a Human World"
To Reproduce
Steps to reproduce the behavior:
instead of the custom turtle deserialiser I have added.
and the book file will pop up in a list of unparsed files.
Expected Behaviour
Turtle files with ":" in the value fields of triples should parse successfully.
Context
Where has the issue been observed:
[Add any other context about the problem here.]
App Version: personallibrary 0.0.10 (using custom deserialiser in 0.0.11)
Closing Criteria
Checklist for closing the issue:
make prepmake qtest