I feel like RDF/TripleStores and ECS both offer nice solutions to this problem.
With both you kinda separate your application into a control-plane (functions and other code) and a data-plane (in-memory database). With the control-plane referencing entities from the data-plane via opaque identifiers.
Conjunctive queries over the database are then equivalent to a structural type system with literal types, and allow for accepting potentially every entity in the system at every point in the system so long as the types match.
Anyone know of any good books about or introductions to RDF triples that cover practical applications? I’ve been meaning to look into it for representing data about US laws and regulations but ChatGPT isn’t really helping.
"Semantic web for the working ontologist" by Dean Allemang and James Hendler might be a good starter if you want to go proper Rdf/RDFS/OWL.
TBH I would probably take a look at terminusDB though. They do things a bit differently, and are def. more opinionated (more closed world, more databasey) but that opinionatedness helps provide a bit saner/stable foundation than the very grown rest of the ecosystem imho.
Comments
I feel like RDF/TripleStores and ECS both offer nice solutions to this problem.
With both you kinda separate your application into a control-plane (functions and other code) and a data-plane (in-memory database). With the control-plane referencing entities from the data-plane via opaque identifiers.
Conjunctive queries over the database are then equivalent to a structural type system with literal types, and allow for accepting potentially every entity in the system at every point in the system so long as the types match.
Anyone know of any good books about or introductions to RDF triples that cover practical applications? I’ve been meaning to look into it for representing data about US laws and regulations but ChatGPT isn’t really helping.
"Semantic web for the working ontologist" by Dean Allemang and James Hendler might be a good starter if you want to go proper Rdf/RDFS/OWL.
TBH I would probably take a look at terminusDB though. They do things a bit differently, and are def. more opinionated (more closed world, more databasey) but that opinionatedness helps provide a bit saner/stable foundation than the very grown rest of the ecosystem imho.
I'd also be really interested in something like this.