COD2RDF(1)
π 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 givingwww.crystallography.netby 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 theSELECTprivilege, 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
- debian trixie: cod-tools 3.11.0+dfsg-1 Β· LGPL-3.0-only
- ubuntu questing: cod-tools 3.11.0+dfsg-1
- ubuntu resolute: cod-tools 3.11.0+dfsg-2build1 Β· LGPL-3.0-only
- ubuntu stonking: cod-tools 3.12.0+dfsg-2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms