RDFPIPE(1)

๐Ÿ’– RDFPIPE(1) ๐Ÿ’–

okay bestie, welcome to the manual page for rdfpipe โ€” she's a User Command and she's lowkey a whole legend ๐Ÿซถ


โœจ NAME โœจ

rdfpipe: parsing RDF in different formats and serializing the resulting graph to a chosen format


๐ŸŒˆ SYNOPSIS ๐ŸŒˆ

rdfpipe [-h] [-i INPUT_FORMAT] [-o OUTPUT_FORMAT] [--ns=PFX=NS ...] [-]
[FILE ...]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So basically, rdfpipe is a commandline tool for parsing RDF in different formats and serializing the resulting graph to a chosen format. That's the whole vibe. ๐Ÿ’…

She reads file system paths, URLs, or straight from stdin if - is given. And then? The result is serialized to stdout. Slay. โœจ


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • --version โ€” show the program's version number and exit. She'll tell you who she is and then dip. ๐Ÿ’€
  • -h, --help โ€” show this help message and exit. The classic "help me help you" move.
  • -i INPUT_FORMAT, --input-format=INPUT_FORMAT โ€” Format of the input document(s). The available input formats are, no cap, literally this whole list: application/trix, xml, n3, turtle, microdata, application/svg+xml, mdata, nquads, rdfa, trix, application/xhtml+xml, rdfa1.1, application/n-quads, hturtle, rdfa1.0, text/n3, text/html, text/turtle, application/rdf+xml, html, application/n-triples, nt.

If no format is given, it will be guessed from the file name extension. (She's psychic like that. ๐Ÿ”ฎ)

Oh and pookie, you can hand keywords to the parser after the format, like this: FORMAT:(+)KW1,-KW2,KW3=VALUE. ๐Ÿ‘‘

  • -o OUTPUT_FORMAT, --output-format=OUTPUT_FORMAT โ€” Format of the graph serialization. Available output formats are: turtle, n3, text/n3, trig, pretty-xml, nt, application/rdf+xml, application/n-triples, application/n-quads, nquads, application/trix, xml, text/turtle, trix.

Default format is: 'n3'. She has a favourite, and it's n3. ๐Ÿ“

Same deal as input, bestie โ€” keywords to the serializer can be given after format like: FORMAT:(+)KW1,-KW2,KW3=VALUE.

  • --ns=PREFIX=NAMESPACE โ€” Register a namespace binding (QName prefix to a base URI). This can be used more than once, so go off, register as many as your heart desires. ๐Ÿ’œ
  • --no-guess โ€” Don't guess format based on file suffix. She'll stop reading your mind, you're welcome.
  • --no-out โ€” Don't output the resulting graph. This one's useful for checking validity of input โ€” like a vibe check but for your RDF. ๐Ÿ”ฅ
  • -w, --warn โ€” Output warnings to stderr. By default, only critical errors get shown, so this is you asking her to be more chatty. ๐Ÿ—ฃ๏ธ

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

This manual page was written by Olivier Berger <obergix@debian.org>, for the Debian distribution. Shoutout to Olivier, fr fr. ๐Ÿซถ


okay that's genuinely everything, bestie, nothing skipped, every flag accounted for ๐Ÿ’–

and that's a wrap on rdfpipe โ€” page rdfpipe, dated December 2013, from the User Commands girlies. mwah, go pipe some RDF, you ate. ๐Ÿ’…โœจ๐ŸŽ€