A new way
to build
software.
Forma develops a Semantic Computing architecture and its own language, FormaSL. Relations, claims and rules become explicit parts of a program, available for computation.
One world.
Different
perspectives.
The carrier reports that a shipment has arrived. The recipient has not yet confirmed receipt. The records concern the same delivery, but not the same event.
Explore the world modelCARRIER / STATEMENT
“The shipment arrived at the port.”
An agent issued an identifiable statement.
RECIPIENT / CONFIRMATION
Receipt has not yet been confirmed.
Missing confirmation does not prove the shipment failed to arrive.
Four roles.
One relation.
An assignment brings together an agent, an artifact, a project and an environment within one occurrence. The FormaSL metagraph preserves the roles and identity of that relation.
Understand the metagraphThe domain
becomes part
of the program.
FormaSL declares relations and Claims, queries occurrences, derives consequences, and governs analysis and transformations through explicit contracts.
Explore FormaSLmodule semantic_roles {
type Agent
type Artifact
type Project
type Environment
relation Assignment {
role assignee: Agent
role artifact: Artifact
role project: Project
role environment: Environment
}
assert claim a1 : Assignment(
assignee: $alice,
artifact: $dataset,
project: $atlas,
environment: $production
) { by : $registry }
}Four roles. One relation.
Assignment brings four typed participants into one occurrence. A Claim records the attributable statement.
module query_basic {
type Artifact
relation DependsOn {
role dependent: Artifact
role prerequisite: Artifact
}
assert claim d1 : DependsOn(
dependent: $app,
prerequisite: $parser
) { by : $manifest }
match DirectDependencies() {
pattern ?d: DependsOn(
dependent: ?dependent,
prerequisite: ?prerequisite
)
}
}Query without modifying the source.
match retrieves dependencies between artifacts without introducing another Claim.
rule Base using DependsOn(?x: Artifact) {
when DependsOn(dependent: ?a, prerequisite: ?b)
derive positive ReachableDependency(
dependent: ?a, prerequisite: ?b
)
}
rule Step using DependsOn(?x: Artifact) {
when DependsOn(dependent: ?a, prerequisite: ?b)
when ReachableDependency(dependent: ?b, prerequisite: ?c)
derive positive ReachableDependency(
dependent: ?a, prerequisite: ?c
)
}Derivation is not assertion.
Rules describe derived consequences; inference does not create an attributable statement by itself.
assert claim open_v1 : States(
subject: $release, position: $open
) {
by : $registry_a
valid_at : t1
recorded_at : $t2
}
adopt claim open_v1 as accepted_open {
by : $reviewer
based_on : $review_basis
recorded_at : $t4
}
retract claim accepted_open {
by : $reviewer
based_on : $later_evidence
recorded_at : $t5
}Revisions preserve history.
Adoption and retraction retain references to earlier Claims and their temporal conditions.
transform Normalize($d: Device) using Reading {
rule normalize {
match {
pattern ?r: Reading(
device: ?device, value: ?value
)
}
per match
construct Normalized as $normalized {
role device: ?device
role value: ?value
}
}
}Construct new structures.
transform specifies how a destination structure is built from source data.
The contract.
The realizations.
Meaning declared by the application remains separate from realization plans, execution and storage. Different mechanisms can meet the same requirements.
Inspect the architectureOne ecosystem.
Many mechanisms.
FormaGraph, the spatial engine, Forma Intelligence, data systems, interfaces and durable execution address distinct needs on a shared semantic basis.
Explore the ecosystemFormaGraph Engine
Graph algorithms and GNN engine. Computes paths, centrality and communities, with GraphSAGE, GCN and GAT reference families.
Reuse more
than code.
The aim is to preserve relations, contracts and results with recoverable conditions of interpretation, so other applications can build on them.
View documentationAn architecture for representing, developing and executing software.