Compile-time W3C linked data from typed dependency graphs.
CUE comprehensions precompute all queries. CUE unification enforces all shapes. Every W3C artifact — JSON-LD, SHACL, DCAT, SKOS, OWL-Time — is a zero-cost projection of the same typed graph.
No triplestore. No SPARQL. No runtime validators. Just cue export.
Module: apercue.ca@v0
Source: github.com/quicue/apercue
cue mod init example.com/myproject@v0
# symlink apercue.ca into cue.mod/pkg/
cue eval . -e summary
cue export . -e gaps.shacl_report --out json
cue export . -e cpm.time_report --out json
| Package | Key Patterns |
|---|---|
vocab/ | #Resource, #TypeRegistry, JSON-LD @context, #VizData |
patterns/ | #Graph, #CriticalPath, #ComplianceCheck, #CycleDetector, #ConnectedComponents, #Subgraph, #GraphDiff |
charter/ | #Charter, #GapAnalysis, #Milestone |
views/ | #TypeVocabulary (SKOS ConceptScheme) |
| Spec | Pattern | Status |
|---|---|---|
| JSON-LD 1.1 | @context, @type, @id | Implemented |
| SHACL | sh:ValidationReport | Implemented |
| SKOS | skos:ConceptScheme | Implemented |
| EARL | earl:Assertion | Implemented |
| OWL-Time | time:Interval | Implemented |
| Dublin Core | dcterms:requires | Implemented |
| DCAT 3 | dcat:Catalog | Planned |
| ODRL 2.2 | odrl:Policy | Planned |
| Hydra Core | hydra:ApiDocumentation | Planned |
| Example | Domain | Resources |
|---|---|---|
| course-prereqs | University CS degree | 12 courses, 3 charter gates |
| recipe-ingredients | Cooking (Beef Bourguignon) | 17 steps, critical path |
| project-tracker | Software release | 10 tasks, status tracking |
| supply-chain | Laptop assembly | 15 parts, 5 tiers |
Traditional semantic web:
Data → RDF Triplestore → SPARQL Queries → SHACL Validator → JSON-LD Serializer
(4 runtime components, 4 failure points)
apercue.ca:
Data → cue export -e <projection>
(1 binary, 0 servers, compile-time guarantees)
Apache 2.0 — Source