Agricultural Service of Product Farm

The record that knows a measurement from a number.

AgriQL is a database language for soil, crop, water, and weather. A season stays in one .aqdb file. A value keeps its unit. A length is not added to a mass.

01

One file for the season

Soil, crop, water, and weather stay together. The file can be copied and opened later.

02

Units are checked

Millimetres and kilograms are not added. Millimetres and metres can be, because both are length.

03

Analysis stays outside

Excel, Python, and R can take a result. They do not become the record.

Measured, not estimated

The field-device logger on emulated boards.

Development build after 3.10.1, run in QEMU. Not yet measured on a physical board.

1,465instructions to record one soil reading on Cortex-M3
5.77 Bof flash written per soil reading
40%less flash than the plain layout on a soil log
4instruction sets: Cortex-M0, M3, M4, and RISC-V

See every figure and what it leaves out

The same numeral

Three quantities. Not one number.

25 mmrain
25 %moisture
25 kgfertiliser

This is an explanation, not a live reading. A spreadsheet will add those values. AgriQL will not. AgriQL also does not predict yield. See why the three quantities stay apart.

Look through the release

The path, and the statements.

Questions

What is AgriQL?

AgriQL is a database language for agricultural measurements, made by Agricultural Service of Product Farm. Version 3.10.1 stores a season in one .aqdb file.

How is AgriQL different from a general-purpose database?

A general-purpose database stores numbers and will add them if you ask. AgriQL rejects a length added to a mass. It does not join several tables in this release, and it is not meant for every application.

Which files can AgriQL import?

CSV, TSV, JSON, and Excel. Parquet is not accepted. A spreadsheet that exists only online is not accepted.

Where can AgriQL be installed?

On Windows, macOS, and Linux, from source. It can also run as a service on a private network. Packages for apt, dnf, Homebrew, and WinGet are not published.

Does AgriQL run on a sensor node?

A field-device logger is in development after 3.10.1. It writes readings straight into a microcontroller's flash. On emulated Cortex-M3, Cortex-M4, and RISC-V boards it takes about 1,500 instructions and under 6 bytes of flash per soil reading. It has not yet run on a physical board. See the benchmarks.

What does this release not do?

It does not join several tables. It does not read Parquet, and it does not read a spreadsheet that exists only online. The full list is on the limits page.