You can import data from Excel using the "Add many records" function in a type view, with tabular data.
=IFERROR(IF(FIND(CHAR(10);C2);"["""&SUBSTITUTE(C2;CHAR(10);""",""")&"""]";IF(C2<>"";C2;""));IF(C2<>"";C2;""))
For importing traits (called subdocuments in TerminusDB), this is an example of what you put in a cell for structured data (this example is for the markdown property of the "Statement" type that is part of the standard type library. Adapt to your type and data, it's in JSON/JSON-LD format.
{"@type": "Markdown", "markdown":"# Source\n\nImported text in JSON Document"}
Each row in the "Add many records" tabular data importer is converted into JSON format, and the type set by the type you are adding instances of. All data is type-checked as you enter it, including the JSON data provided. The error paned shown in the video is an example, and was triggered because the type "Note" was not "LinkedNote" that the Excel file was formatted for.
Note that the table shows row numbers starting with 1, whereas the type-checker starts uses row index starting with 0. Not fixed yet, and something to be aware of.
A simple workflow for importing data:
Importing data is useful in a number of scenarios!