From b404312686874e539b617d1f27ccbaa5a82936af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 21 Oct 2021 15:38:10 -0400 Subject: Replace serdi with more fine-grained tools Especially with the new functionality, the complexity of the command-line interface alone was really becoming unmanageable. The serdi implementation also had the highest cyclomatic complexity of the entire codebase by a huge margin. So, take a page from the Unix philosophy and split serdi into several more finely-honed tools that can be freely composed. Though there is still unfortunately quite a bit of option overlap between them due to the common details of reading RDF, I think the resulting tools are a lot easier to understand, both from a user and a developer perspective. --- test/sort/input.trig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/sort/input.trig (limited to 'test/sort/input.trig') diff --git a/test/sort/input.trig b/test/sort/input.trig new file mode 100644 index 00000000..154a9fb8 --- /dev/null +++ b/test/sort/input.trig @@ -0,0 +1,19 @@ +@prefix eg: . + +eg:graph1 { +eg:s + eg:blank [ + eg:with eg:aProperty , + eg:orAnother + ] ; + eg:list ( + 1 + 2 + ) ; + eg:literal "s1" . +} + +eg:graph2 { +eg:a + eg:b eg:c . +} -- cgit v1.2.1