aboutsummaryrefslogtreecommitdiffstats
path: root/test/sort/OSP.nq
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28Put rdf:type properties first when pretty-printingDavid Robillard1-0/+3
This is a common convention in Turtle and TriG because the special "a" syntax for rdf type as the first property looks nice, makes things easier to read, and can be useful for streaming implementations because the type of the instance is known before reading its properties. Also significantly clean up the pretty-printing implementation in the process.
2022-01-28Replace serdi with more fine-grained toolsDavid Robillard1-0/+10
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.