---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# rapper

> The Raptor RDF parsing utility.
> Part of the Raptor RDF Syntax Library.
> More information: <https://librdf.org/raptor/rapper.html>.

- Convert an RDF/XML document to Turtle:

`rapper {{[-i|--input]}} rdfxml {{[-o|--output]}} turtle {{path/to/file}}`

- Count the number of triples in a Turtle file:

`rapper {{[-i|--input]}} turtle {{[-c|--count]}} {{path/to/file}}`
