What problem does it solve?
This Skill provides a command-line interface to interact with the Sparq RDF/SPARQL engine, enabling users to load RDF files, run SPARQL queries, build/query memory-mapped indexes, and perform various operations on datasets.
Core Features & Use Cases
- RDF File Loading: Load Turtle, N-Triples, N-Quads, and TriG files into the Sparq engine.
- SPARQL Query Execution: Run SPARQL queries against loaded RDF data.
- Memory-Mapped Indexing: Build and query memory-mapped indexes for large datasets.
- Reasoning: Materialize RDFS/OWL-RL/N3 reasoning closures.
- Data Ingestion: Stream and ingest large RDF dumps.
- Benchmarking: Benchmark query performance.
- Use Case: Imagine you have a large dataset of RDF triples and you want to query and analyze the data using SPARQL. This Skill allows you to do so via the command line, providing flexibility and control over your data processing tasks.
Quick Start
Build and run the Sparq CLI to query an RDF file:
cargo run --release -p sparq-cli -- query data.ttl turtle 'SELECT ?s ?p ?o WHERE { ?s ?p ?o } LIMIT 10'