COD2RDF(1)

πŸ“¦
version 3.12.0 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– COD2RDF πŸ’–

okay bestie, welcome to cod2rdf β€” it's a section 1 general commands manual page, so it's a command you run in your shell. sit down, grab a boba, we're gonna describe COD structures in RDF together πŸ¦‹


✨ NAME ✨

cod2rdf β€” describe (in RDF format) properties of COD structures. that's it, that's the whole job. she describes things. in RDF. about COD structures. πŸ’…


🌸 SYNOPSIS 🌸

cod2rdf --options 1000000 "[1-9][0-9]6"

like... yes. that's literally how you call her. the numbers are doing numbers. iconic. ✨


🫢 DESCRIPTION 🫢

Describe (in RDF format) properties of COD structures.

no fr, that's the whole vibe. you point her at a COD database, she hands you back RDF describing the properties of the structures in it. main character energy, zero drama. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

so many options. we love a command with range. every single one is below, no cap, nothing skipped. πŸ’œ

  • -d, --database cod β€” use the database "cod" to query for structures.
  • -h, --host www.crystallography.net β€” the host. it's giving www.crystallography.net by default.
  • -s, --server www.crystallography.net β€” query the COD database on the host 'www.crystallography.net'.
  • -l, --localhost β€” use the database server on the localhost to query the COD database. staying home, cozy, valid. 🏠
  • -p, --port 3306 β€” use the specified port to query structures (default: 3306).
  • --platform mysql β€” use the specified SQL platform (default: 'mysql').
  • -u, --user cod_reader β€” use user name "cod_reader" to access the COD database. this user should have at least the SELECT privilege, i.e. should be able to read the COD database, without supplying a password.
  • --password β€” use the specified password to connect (default: ''). yes, the default is an empty string, she's lowkey unbothered.
  • --vocabulary-namespace cod β€” use vocabulary namespace "cod" to prefix properties native to the queried database.
  • --vocabulary-url-prefix http://www.crystallography.net/cod/doc/rdf/ β€” specify URL prefix for the database's native namespace.
  • --prefix, --db-url-prefix http://www.crystallography.net/cod/ β€” specify URL prefix for all objects in the queried database.
  • --postfix, --db-url-postfix .html β€” specify URL postfix for all objects in the queried database.
  • --def-table, --definition-table databases β€” look "databases" table for descriptions of remote databases.
  • --db-name, --database-name cod β€” use "cod" as the abbreviation of queried databases. this abbreviation is used in construction of cross-referencing table names, i.e. "pubchem_x_cod".
  • --from β€” generate RDFs for all database entries starting at specified entry and ending at either the entry specified using '--to' command line option or the last entry in the database.
  • --to β€” generate RDFs for all database entries from either the entry specified using '--from' command line option or the first entry in the database.
  • --range β€” generate RDFs for all database entries in the specified range. range should be specified in the form 'X-Y', where X is the first and Y is the last entry.
  • --revision β€” generate RDFs for all database entries deposited in the specified or older Subversion revision of the database.
  • --split-author-names β€” split author names in internal database representation at semicolons (';') to produce RDF-parsable list of author names. each author in such list is marked with "author" property instead of "authors", which is used for non-split value (default).
  • --no-split-author-names, --dont-split-author-names β€” make no assumptions about internal database representation of author list.
  • --xml-output β€” output RDF in XML carrier format (default).
  • --n3-output β€” output RDF in N3 (Notation3) carrier format.
  • --turtle-output β€” output RDF in Turtle carrier format. 🐒 yes the format is literally named turtle, we stan.
  • --ntriples-output, --n-triples-output β€” output RDF in N-Triples carrier format.
  • --replace-utf-codepoints-from β€” replace Unicode code points starting at specified point with carrier format-specific entities.
  • --no-replace-utf-codepoints, --dont-replace-utf-code-points β€” leave Unicode code points unescaped (default).
  • --html-utf-escapes β€” escape Unicode code points using HTML hexadecimal format corresponding to '&#x%04X;' formatted string (default).
  • --internal-utf-escapes β€” escape Unicode code points using internal format corresponding to '\u%04X' formatted string.
  • --utf-escape-format β€” escape Unicode code points using format corresponding to the provided formatted string.
  • --help, --usage β€” output a short usage message (this message) and exit. she's helpful like that 🫢
  • --version β€” output version information and exit.

😭 REPORTING BUGS 😭

found a bug? do not suffer in silence, bestie. report cod2rdf bugs using e-mail: cod-bugs@ibt.lt

fr fr, if something's broken, tell them. they wanna know. πŸ’Œ

okay and that's the whole page!! you read all of it, you're literally a Unix scholar now, no cap. πŸŽ“βœ¨

this was COD2RDF(1) from the General Commands Manual β€” section 1, general commands, the classic. mwah. πŸ’… πŸ¦‹ 🌸

πŸ“¦ where this page comes from