ποΈ<PrimaryInterface> Class Doc.
| Tip: type 'help' to learn about any command.
| Tip: type '?' to learn about allowed actions.
-----------------------------------------------
03:31:21 ~ [es][b]@[Sin pudor(NA)]/[y1]: r
03:31:24 ~ [es][v]@[Caer en la cuenta(NA)]/[y1]: ls
(SYS: Started edit-session at 03:31:27)
Showing 2/2 results.
| 1. Darse cuenta | 2. Darse perfecta cuenta
>> mv 1 y2
>> y2
Showing 1/1 results.
| 1. Darse cuenta a
>> y1
Showing 1/1 results.
| 1. Darse perfecta cuenta
>> cd 1
03:31:56 ~ [es][v]@[Darse perfecta cuenta(NA)]/[y1]: edit lang en
Change applied successfully.
03:32:06 ~ [en][v]@[Darse perfecta cuenta(NA)]/[y1]: sug
(SYS: Started sug-session at 03:32:13)
| [es][v]@[Sobrentender(NA)] [Y/N] >>
| [es][v]@[Finiquitar(NA)] [Y/N] >> e2
| Succesfully binded node to 'e2' field.
| [es][v]@[Analizar(NA)] [Y/N] >> q
(SYS: Ended sug-session at 03:32:26)
03:32:06 ~ [en][v]@[Darse perfecta cuenta(NA)]/[y1]: e2
03:32:32 ~ [en][v]@[Darse perfecta cuenta(NA)]/[e2]: ls
(SYS: Started edit-session at 03:32:36)
Showing 1/1 results.
| 1. Finiquitar
>>
(SYS: Ended edit-session at 03:32:48)
03:32:32 ~ [en][v]@[Darse perfecta cuenta(NA)]/[e2]: Perro
| Successfully binded 'Perro'.
03:32:32 ~ [en][v]@[Darse perfecta cuenta(NA)]/[e2]: vg
| There are no examples.
>>
(SYS: Ended vg-session at 03:33:27)
03:32:32 ~ [en][v]@[Darse perfecta cuenta(NA)]/[e2]: pin
03:33:29 ~ [en][v]@[Darse perfecta cuenta(NA)*]/[e2]: details
| Synset sizes (y0 = 0, y1 = 2, y2 = 0)
| Semset sizes (e0 = 0, e1 = 0, e2 = 2)
03:33:29 ~ [en][v]@[Darse perfecta cuenta(NA)*]/[e2]: r -t v
03:33:42 ~ [es][v]@[Brasear(NA)]/[e2]:
0. Overview
SK_Interface
is a comprehensive command-line interface (CLI) designed to interact with a knowledge graph. It provides a wide range of functionalities including node navigation (cd
), modification (grab
, new
), information display (ls
, run
), and settings management (set
, unset
), among others. This documentation details the usage and features of each command available in the SK_Interface.
1. Basic Commands
The cd
command in the CLI facilitates navigation to different nodes within the graph.
When a user inputs cd
followed by a node name, the system either (1st case) directly navigates to the node if there's an exact match, or (2nd case) presents a selection interface to choose from among multiple matching nodes. In cases where no exact match exists (due to misspelling), the CLI provides guessed options based on the input for user selection (3rd case).
20:21:50 ~ [es][n]@[Esfinge(NA)]/[y1]: cd Zorro
20:23:10 ~ [es][n]@[Zorro(NA)]/[y1]:
20:21:07 ~ [es][j]@[Por defecto(NA)]/[y1]: cd Planta
| Do you mean ...
| 1) [es][n]@[Planta(NA)]
| 2) [es][j]@[Planta(vegetal)]
| (Press Enter without any input to exit)
>> 2
20:21:17 ~ [es][j]@[Planta(vegetal)]/[y1]:
20:21:17 ~ [es][j]@[Planta(vegetal)]/[y1]: cd Esfingie
| Do you mean ...
| 1) [es][n]@[Esfinge(NA)]
| 2) [es][n]@[Efigie(NA)]
| 3) [es][v]@[Fingir(NA)]
| 4) [es][v]@[Definirse(NA)]
| (Press Enter without any input to exit)
>> 1
20:21:50 ~ [es][n]@[Esfinge(NA)]/[y1]:
To go back, we can write cd ..
.
00:32:12 ~ [es][n]@[Spaghetti(NA)]/[y1]: cd Capacidad
00:36:08 ~ [es][n]@[Capacidad(NA)]/[y1]: cd Veto
00:36:10 ~ [es][n]@[Veto(NA)]/[y1]: cd ..
00:36:11 ~ [es][n]@[Capacidad(NA)]/[y1]: cd ..
00:36:15 ~ [es][n]@[Spaghetti(NA)]/[y1]: cd ..
Reached base state.
00:36:15 ~ [es][n]@[Spaghetti(NA)]/[y1]:
2. Editing commands
Creating a node consists on writing new
and filling some fields. And that's all actually.
01:20:33 ~ [es][n]@[(NA)]/[y1]: new Mentirosillo
> lang : es
> type : n
> lemma :
| Succesfully created.
01:24:17 ~ [es][n]@[Mentirosillo(NA)]/[y1]:
3. Advanced Commands
The grab
command in the CLI is versatile, offering two modes of operation. When used with an argument (i.e., grab [node_name]
), it targets and grabs a specific node named in the argument. If the specified node doesnβt match any existing nodes, the command initiates a selection process, suggesting similar nodes for the user to choose from. When used without an argument (grab
), it simply grabs the current node in the context.
Nodes can also be grabbed within the GB_Interface and the LS_Interface.
21:15:02 ~ [es][n]@[Oveja(NA)]/[y1]: grab
21:15:02 ~ [es][n]@[Oveja(NA)]/[y1]: grab Cordero
Last updated