Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetCmd ¶
type GetCmd struct {
Classes *classesCmd `arg:"subcommand:classes" help:"List the RDF classes the project declares with the annotations each one carries"`
Datatypes *datatypesCmd `arg:"subcommand:datatypes" help:"List the RDF datatypes the project declares"`
Instances *instancesCmd `arg:"subcommand:instances" help:"List the resources the project instantiates with the class each one is typed with"`
Properties *propertiesCmd `arg:"subcommand:properties" help:"List the RDF properties the project declares with the type each one is declared with"`
Shapes *shapesCmd `arg:"subcommand:shapes" help:"List the SHACL shapes the project declares with the class each one targets"`
Statements *statementsCmd `` /* 138-byte string literal not displayed */
Vocabularies *vocabulariesCmd `arg:"subcommand:vocabularies" help:"List the vocabularies the project has pinned, and whether each one is imported"`
}
GetCmd groups the lookups that read the RDF resources inside a built data product, plus `vocabularies`, which reads the pinned vocabulary and project ontology nodes in .sal/config.jsonld instead of the data product. Anything about the Iceberg table that holds a built data product belongs in `sal query` instead.
The resource lookups list only the resources the project itself defines by default, which are the ones named under the project base; an imported ontology or a module task contributes resources under its own namespace, and those are listed only with each lookup's own --all flag. The flag is declared on each lookup rather than here, since it has no meaning for `statements` or `vocabularies`.