Query Farm Source-Available License, Version 1.0

Copyright (c) 2025, 2026 Query Farm LLC. All rights reserved.

## 1. Definitions

"Licensor" means Query Farm LLC (http://query.farm, hello@query.farm) and its
affiliates under common control.

"VGI" means the Vector Gateway Interface, the DuckDB extension technology developed
by the Licensor, also referred to by the Licensor as its "Hyperfederation" database
technology.

"Licensed Work" means VGI, including its source code, object code, and any
documentation distributed with it, in each version made available by the Licensor
under this License.

"You" (or "Your") means the individual or legal entity exercising rights under this
License, together with all affiliates under common control with that entity.

"Production Use" means any use of the Licensed Work other than for development,
testing, evaluation, experimentation, or other non-production purposes.

"Hyperfederation Services" means services relating to the federation, gateway,
integration, querying, or interoperation of data sources using VGI or
functionally equivalent technology, including services that expose, broker, or
provide access to such federated or gateway capabilities.

"Commercial Marketplace" means any platform, exchange, or intermediary service,
whether or not operated for a fee, that connects providers and consumers of
Hyperfederation Services, or that facilitates the offering, discovery, exchange,
sale, or licensing of Hyperfederation Services among third parties.

"Competing Offering" means a product or service that You make available to third
parties, on a paid basis (including through paid support, subscription, or hosting
arrangements), whose capabilities significantly overlap with those of the Licensor's
version(s) of the Licensed Work.

## 2. Grant of Rights

Subject to the terms and limitations of this License, the Licensor grants You a
worldwide, royalty-free, non-exclusive license to:

(a) use, copy, and run the Licensed Work for any non-production purpose;

(b) modify the Licensed Work and create derivative works of it;

(c) redistribute the Licensed Work and Your derivative works, provided You comply
with Section 5; and

(d) make Production Use of the Licensed Work, except where such use is restricted by
Section 3 or reserved to the Licensor by Section 4.

## 3. Production Use Conditions

The grant of Production Use in Section 2(d) does not extend to, and You may not
without a separate commercial license from the Licensor:

(a) provide a Competing Offering to third parties; or

(b) offer the Licensed Work, or any derivative work of it, to third parties on a
hosted, embedded, or as-a-service basis where doing so competes with the Licensor's
commercial interests in the Licensed Work.

"Embedded" includes incorporating the source or object code of the Licensed Work
into a Competing Offering, and packaging a Competing Offering such that the Licensed
Work must be accessed or downloaded for that offering to function.

Hosting or using the Licensed Work for Your own internal purposes is not a Competing
Offering and is permitted, including across Your affiliates under common control.

## 4. Reserved Rights

Notwithstanding any other provision of this License, the Licensor reserves to itself
the exclusive right to build, operate, offer, or authorize a Commercial Marketplace
that incorporates, integrates, is built upon, or otherwise uses the Licensed Work.

This License grants You no right to construct, operate, or enable a Commercial
Marketplace using the Licensed Work, whether on a commercial or non-commercial basis,
and any such use requires a separate written agreement with the Licensor.

## 5. Redistribution

If You redistribute the Licensed Work or any derivative work of it, in original or
modified form, You must:

(a) include a complete, unmodified copy of this License with each copy; and

(b) cause any recipient to receive the Licensed Work subject to the terms of this
License.

The conditions in Sections 3 and 4 apply to every recipient of the Licensed Work,
whether received directly from the Licensor or through a third party.

## 6. Conversion to Open Source

For each version of the Licensed Work, on the tenth anniversary of the date the
Licensor first made that version publicly available (the "Change Date" for that
version), the Licensor additionally grants You the right to use that version under
the terms of the Apache License, Version 2.0, and on and after that version's Change
Date the restrictions in Sections 3 and 4 no longer apply to that version.

This License applies separately to each version of the Licensed Work, and the Change
Date may differ between versions.

## 7. Commercial Licensing

If Your intended use is not permitted under this License, You may obtain a separate
commercial license from the Licensor by contacting hello@query.farm. Absent such a
license, You must refrain from the restricted use.

## 8. Trademarks

This License does not grant You any right to use the names, trademarks, service
marks, or logos of the Licensor, including "Vector Gateway Interface," "VGI," and
"Hyperfederation," except as required for reasonable and customary use in describing
the origin of the Licensed Work.

## 9. Termination

Any use of the Licensed Work in violation of this License automatically terminates
Your rights under this License for the current and all other versions of the Licensed
Work. Your rights may be reinstated only by a writing signed by the Licensor.

## 10. Disclaimer of Warranty and Limitation of Liability

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION ANY WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL THE LICENSOR BE
LIABLE TO YOU FOR ANY DAMAGES ARISING OUT OF OR RELATING TO THIS LICENSE OR THE USE
OF THE LICENSED WORK, WHETHER IN CONTRACT, TORT, OR OTHERWISE.