anusii / anusii/solidpod

SOLID POD: Deprecate `parseTTL()`

Open
#252 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
10
Forks
7
Avg merge
1d 3h
Merged PRs (30d)
6

Description

The function parseTTL() in solid/utils/rdf.dart can not correct parse triples that share the same subject and predicate, e.g.

(sub, pre, obj1),
(sub, pre, obj2),

It can be replaced with turtleToTripleMap() implemented in the same file. Deprecate and eventually remove it from the codebase.

Note that parseTTL() does string splitting to extract the subject, predicate and object terms, but turtleToTripleMap() does not do such string splitting.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in solid/utils/rdf.dart by reading parseTTL() and turtleToTripleMap(), then search the codebase for parseTTL() callers. Migrate the callers to the replacement, deprecate parseTTL(), and verify that no remaining usage depends on its string-splitting behavior before eventual removal.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
data
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.