Queries
Write the answer you want.
Amorfs is a knowledge format, so a query is written the same way as the knowledge. You write the answer you want, with placeholders where information is missing.
Limit how much comes back by controlling depth and breadth at each point.
Knowledge Packs come with ready-made query recipes, so an agent learns the exact structure for common questions, and how the data supports it.
The examples below illustrate that flow. The Playpen shows how the same knowledge can be presented in different ways. Live query is not available on this site.
Not another retrieval layer.
RAG retrieves information and asks the model to reconstruct the answer.
A knowledge graph represents relationships, but the agent still has to
determine which entities, relationships and timeframes matter.
Amorfs starts with the knowledge itself.
Each fact carries the identity, relationship, timeframe and source needed
to interrogate it directly.
Example 1
A question an AI normally has to reconstruct
Which patent-use relationship was in force for Ozempic on 31 December 2019?
The raw ingredients
- Ozempic (NDA 209637 product 001)
- semaglutide
- indication
- patent-use relationship
- 31 December 2019
- Orange Book
Documents → interpretation → reconstruction
With Amorfs
- Product
- Ozempic, NDA 209637 product 001
- Ingredient
- semaglutide, UNII 53AXN4NNHX
- Indication
- U-2580, once-weekly 1.0 mg for type 2 diabetes
- Relationship
- patent 10335462
- Valid on
- 31 December 2019 (listed 25 July 2019)
- Source
- Orange Book, retrieved 23 September 2026
Knowledge → query → answer
Example 2
A question an AI normally has to reconstruct
Who was the direct parent of Fairfield Invest SL on 16 April 2026?
The raw ingredients
- Fairfield Invest SL
- ownership relationship
- parent entity
- effective date
- source
- historical relationship
Documents → interpretation → reconstruction
With Amorfs
- Direct parent
- Deutsche Bank AG
- Valid on
- 16 April 2026
- Relationship
- Direct parent
- Source
- Colegio de Registradores de la Propiedad, Mercantiles y Bienes Muebles de España
- Status
- Attested
Knowledge → query → answer
Example 1
Which patent-use relationship was in force for Ozempic on 31 December 2019?
Wegovy (NDA 215256) is the same ingredient, approved 4 June 2021, so it is absent from this date.
Query
product {depth=4} [
+ application ["NDA209637"]
+ product_no ["001"]
+ name [*]
+ strength [*]
+ form [*]
- contains {limit=1} [
+ name [*]
+ unii [*]
]
+ patent {valid=<=2019-12-31, limit=8} [
- expire {optional} [*]
- use_code {limit=1} [
U-2580
+ text [*]
]
]
]
Result
product [
+ application [NDA209637]
+ product_no [001]
+ name [ OZEMPIC | Ozempic ]
+ strength [ 2MG/1.5ML (1.34MG/ML) ]
+ form [SOLUTION;SUBCUTANEOUS]
- contains {2017-12-05/, created=2017-12-05} [
+ name [ SEMAGLUTIDE | semaglutide ]
+ unii [53AXN4NNHX]
]
+ patent {2019-07-25/, created=2019-07-25} [
10335462
- expire [2033-06-21]
- use_code [
U-2580
+ text [A METHOD OF TREATING TYPE 2 DIABETES COMPRISING ADMINISTERING SEMAGLUTIDE ONCE WEEKLY IN A AMOUNT OF 1.0 MG TO A SUBJECT IN NEED THEREOF]
]
]
]
Open this result in the Playpen
Example 2
Who was the direct parent of Fairfield Invest SL on 16 April 2026?
[*] is a placeholder. depth=4 sets how far this recipe follows. limit=1 keeps a single direct parent for 16 April 2026, with the accounting standard and the attesting register.
Query
legal_entity {depth=4} [
+ lei [9598005PGS3B6FWRJ071]
+ name [*]
+ direct_parent {optional, valid=<=2026-04-16, limit=1} [
+ lei [*]
+ name [*]
- accounting_standard {optional} [*]
- attested_by {optional} [
+ lei [*]
]
]
]
Result
legal_entity [ {{@lei_7LTWFZYICNSX8D621K86}}
+ lei [7LTWFZYICNSX8D621K86]
+ name ["DEUTSCHE BANK AKTIENGESELLSCHAFT"{de} | "Deutsche Bank AG"{en, informal}]
+ jurisdiction [DE]
+ category [GENERAL]
+ entity_status [ACTIVE]
+ registration_status [ISSUED]
+ managing_lou [5299000J2N45DDNE4Y28]
+ legal_form [6QQB]
+ bic [DEUTDEFFXXX]
+ exception [DIRECT_ACCOUNTING_CONSOLIDATION_PARENT
- reason [NO_KNOWN_PERSON]
]
+ exception [ULTIMATE_ACCOUNTING_CONSOLIDATION_PARENT
- reason [NO_KNOWN_PERSON]
]
]
legal_entity [ {{@lei_9598005PGS3B6FWRJ071}}
+ lei [9598005PGS3B6FWRJ071]
+ name ["FAIRFIELD INVEST SL"{es}]
+ jurisdiction [ES]
+ category [GENERAL]
+ entity_status [ACTIVE]
+ registration_status [ISSUED]
+ managing_lou [959800R2X69K6Y6MX775]
]
legal_entity [ {{@lei_959800R2X69K6Y6MX775}}
+ lei [959800R2X69K6Y6MX775]
+ name ["COLEGIO DE REGISTRADORES DE LA PROPIEDAD, MERCANTILES Y BIENES MUEBLES DE ESPAÑA"{es}]
+ jurisdiction [ES]
+ category [GENERAL]
+ entity_status [ACTIVE]
+ registration_status [ISSUED]
+ managing_lou [959800R2X69K6Y6MX775]
+ legal_form [1R4N]
]
legal_entity [ {{@lei_9598005PGS3B6FWRJ071}}
+ direct_parent [@lei_7LTWFZYICNSX8D621K86 {2026-04-16/, created=2026-08-15}
- accounting_standard [IFRS]
- attested_by [@lei_959800R2X69K6Y6MX775]
]
]
legal_entity [ {{@lei_9598005PGS3B6FWRJ071}}
+ ultimate_parent [@lei_7LTWFZYICNSX8D621K86 {2026-04-16/, created=2026-08-15}
- accounting_standard [LOCAL_GAAP]
]
]
Open this result in the Playpen