link-groups
Convert a link-group CSV to RDF and optionally apply changes via WordLift API.
Usage
worai link-groups <links.csv> [options]
Arguments
| Argument | Type | Description |
|---|---|---|
links.csv | string | Path to input CSV file. |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--format | choice | turtle | Output RDF format: turtle, json-ld, xml, n3. |
--apply | bool | false | Apply changes via WordLift API. |
--dry-run | bool | false | With --apply, show curl commands without executing them. The API key is shown as <API_KEY_HIDDEN>. |
--concurrency | int | 2 | Number of concurrent API requests. |
--retries | int | 3 | Number of retries for failed API requests. |
Examples
worai link-groups ./links.csv --format turtleworai link-groups ./links.csv --apply --dry-run --concurrency 4
Notes
--applyrequiresWORDLIFT_API_KEY(orprofiles.<name>.api_keyin config).--apply --dry-rundoes not need a key.- To run a command printed by
--dry-run, replace<API_KEY_HIDDEN>with your API key.