Expand description
§rdfless
A command-line tool for parsing, filtering, and formatting RDF data with colored output. This crate is primarily intended as a CLI application, not as a reusable library.
Re-exports§
pub use format_object as format_owned_object;
pub use format_predicate as format_owned_predicate;
pub use format_subject as format_owned_subject;
Structs§
Enums§
Traits§
- Args
Config - Define a trait for the Args interface
Functions§
- detect_
format_ from_ path - Helper function to detect format from file extension
- estimate_
output_ lines - Estimate the number of lines the output will take
- extract_
prefixes - Extract prefix declarations from RDF content Supports both Turtle (@prefix) and SPARQL (PREFIX) syntax
- format_
object - Format an owned object
- format_
predicate - Format an owned predicate
- format_
subject - Format an owned subject
- get_
effective_ colors - get_
terminal_ height - Get terminal height for paging decisions
- load_
config - parse_
for_ estimation - Parse input and return triples and prefixes for estimation or processing
- parse_
robust - Parse input with robust error handling and return detailed results
- process_
input - quad_
to_ owned - Convert a Quad to an OwnedTriple with graph information
- render_
output - Render output to any writer
- should_
use_ pager - Determine if paging should be used based on content length
- string_
to_ color - triple_
to_ owned - Convert a Triple to an OwnedTriple (oxrdf version with RDF-star support)