|
| 1 | +@prefix web4: <https://web4.io/ontology#> . |
| 2 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 3 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 4 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 5 | + |
| 6 | +# =========================================================================== |
| 7 | +# Web4 T3/V3 Fractal Trust Ontology |
| 8 | +# |
| 9 | +# T3 and V3 tensors are NOT fixed-dimensionality arrays. Each has 3 BASE |
| 10 | +# dimensions that serve as root nodes in an open-ended RDF sub-graph of |
| 11 | +# contextualized sub-dimensions. The graph has no built-in bound. |
| 12 | +# |
| 13 | +# This is what makes Web4 an ontology, not infrastructure: everything is |
| 14 | +# graph nodes and edges, rooted in the 3 base dimensions for each LCT. |
| 15 | +# |
| 16 | +# Canonical equation: Web4 = MCP + RDF + LCT + T3/V3*MRH + ATP/ADP |
| 17 | +# The * ("contextualized by") means T3/V3 graphs are scoped through MRH. |
| 18 | +# =========================================================================== |
| 19 | + |
| 20 | +### Classes |
| 21 | + |
| 22 | +web4:Dimension a rdfs:Class ; |
| 23 | + rdfs:comment "A measurable facet of trust or value. Root dimensions are the T3/V3 bases; sub-dimensions refine them fractally via web4:subDimensionOf. The graph is open-ended." . |
| 24 | + |
| 25 | +web4:T3Tensor a rdfs:Class ; |
| 26 | + rdfs:comment "Trust tensor bound to an entity-role pair. Contains scores for 3 root dimensions (Talent/Training/Temperament) and any number of sub-dimensions." . |
| 27 | + |
| 28 | +web4:V3Tensor a rdfs:Class ; |
| 29 | + rdfs:comment "Value tensor bound to an entity-role pair. Contains scores for 3 root dimensions (Valuation/Veracity/Validity) and any number of sub-dimensions." . |
| 30 | + |
| 31 | +web4:DimensionScore a rdfs:Class ; |
| 32 | + rdfs:comment "A scored observation linking a tensor to a specific dimension. Reifies the measurement with timestamp and provenance." . |
| 33 | + |
| 34 | +### T3 Root Dimensions (instances of Dimension, not classes) |
| 35 | + |
| 36 | +web4:Talent a web4:Dimension ; |
| 37 | + rdfs:comment "T3 root: capability and natural aptitude for a specific role." . |
| 38 | + |
| 39 | +web4:Training a web4:Dimension ; |
| 40 | + rdfs:comment "T3 root: learned skills, certifications, and experience for a role." . |
| 41 | + |
| 42 | +web4:Temperament a web4:Dimension ; |
| 43 | + rdfs:comment "T3 root: behavioral consistency, reliability, and ethical disposition in a role." . |
| 44 | + |
| 45 | +### V3 Root Dimensions (instances of Dimension, not classes) |
| 46 | + |
| 47 | +web4:Valuation a web4:Dimension ; |
| 48 | + rdfs:comment "V3 root: subjective worth as perceived by recipients." . |
| 49 | + |
| 50 | +web4:Veracity a web4:Dimension ; |
| 51 | + rdfs:comment "V3 root: truthfulness and accuracy of claims." . |
| 52 | + |
| 53 | +web4:Validity a web4:Dimension ; |
| 54 | + rdfs:comment "V3 root: soundness of reasoning and confirmed value delivery." . |
| 55 | + |
| 56 | +### The Fractal Edge |
| 57 | + |
| 58 | +web4:subDimensionOf a rdf:Property ; |
| 59 | + rdfs:domain web4:Dimension ; |
| 60 | + rdfs:range web4:Dimension ; |
| 61 | + rdfs:comment "Links a sub-dimension to its parent. Creates the open-ended fractal sub-graph. Anyone can extend the dimension tree without modifying this ontology. Analogous to skos:broader." . |
| 62 | + |
| 63 | +### Tensor Binding Properties |
| 64 | + |
| 65 | +web4:entity a rdf:Property ; |
| 66 | + rdfs:domain web4:T3Tensor ; |
| 67 | + rdfs:range rdfs:Resource ; |
| 68 | + rdfs:comment "The LCT entity this tensor measures." . |
| 69 | + |
| 70 | +web4:role a rdf:Property ; |
| 71 | + rdfs:domain web4:T3Tensor ; |
| 72 | + rdfs:range rdfs:Resource ; |
| 73 | + rdfs:comment "The role context. Trust is always role-specific." . |
| 74 | + |
| 75 | +web4:hasDimensionScore a rdf:Property ; |
| 76 | + rdfs:domain web4:T3Tensor ; |
| 77 | + rdfs:range web4:DimensionScore ; |
| 78 | + rdfs:comment "Links a tensor to a scored dimension observation." . |
| 79 | + |
| 80 | +### DimensionScore Properties |
| 81 | + |
| 82 | +web4:dimension a rdf:Property ; |
| 83 | + rdfs:domain web4:DimensionScore ; |
| 84 | + rdfs:range web4:Dimension ; |
| 85 | + rdfs:comment "Which dimension is being scored." . |
| 86 | + |
| 87 | +web4:score a rdf:Property ; |
| 88 | + rdfs:domain web4:DimensionScore ; |
| 89 | + rdfs:range xsd:decimal ; |
| 90 | + rdfs:comment "Numeric score (typically 0.0-1.0 for trust, may exceed for value)." . |
| 91 | + |
| 92 | +web4:observedAt a rdf:Property ; |
| 93 | + rdfs:domain web4:DimensionScore ; |
| 94 | + rdfs:range xsd:dateTime ; |
| 95 | + rdfs:comment "When this score was observed." . |
| 96 | + |
| 97 | +web4:witnessedBy a rdf:Property ; |
| 98 | + rdfs:domain web4:DimensionScore ; |
| 99 | + rdfs:range rdfs:Resource ; |
| 100 | + rdfs:comment "LCT that witnessed this score." . |
| 101 | + |
| 102 | +### Backward-Compatible Shorthand Properties |
| 103 | +# |
| 104 | +# These literal-valued properties preserve the flat representation: |
| 105 | +# _:tensor1 web4:talent 0.95 . |
| 106 | +# This is syntactic sugar for the full form: |
| 107 | +# _:tensor1 web4:hasDimensionScore [ web4:dimension web4:Talent ; web4:score 0.95 ] . |
| 108 | +# Both forms are valid. The shorthand carries the aggregate score of the sub-graph. |
| 109 | + |
| 110 | +web4:talent a rdf:Property ; |
| 111 | + rdfs:domain web4:T3Tensor ; |
| 112 | + rdfs:range xsd:decimal ; |
| 113 | + rdfs:comment "Shorthand: aggregate Talent score." . |
| 114 | + |
| 115 | +web4:training a rdf:Property ; |
| 116 | + rdfs:domain web4:T3Tensor ; |
| 117 | + rdfs:range xsd:decimal ; |
| 118 | + rdfs:comment "Shorthand: aggregate Training score." . |
| 119 | + |
| 120 | +web4:temperament a rdf:Property ; |
| 121 | + rdfs:domain web4:T3Tensor ; |
| 122 | + rdfs:range xsd:decimal ; |
| 123 | + rdfs:comment "Shorthand: aggregate Temperament score." . |
| 124 | + |
| 125 | +web4:valuation a rdf:Property ; |
| 126 | + rdfs:domain web4:V3Tensor ; |
| 127 | + rdfs:range xsd:decimal ; |
| 128 | + rdfs:comment "Shorthand: aggregate Valuation score." . |
| 129 | + |
| 130 | +web4:veracity a rdf:Property ; |
| 131 | + rdfs:domain web4:V3Tensor ; |
| 132 | + rdfs:range xsd:decimal ; |
| 133 | + rdfs:comment "Shorthand: aggregate Veracity score." . |
| 134 | + |
| 135 | +web4:validity a rdf:Property ; |
| 136 | + rdfs:domain web4:V3Tensor ; |
| 137 | + rdfs:range xsd:decimal ; |
| 138 | + rdfs:comment "Shorthand: aggregate Validity score." . |
| 139 | + |
| 140 | +# =========================================================================== |
| 141 | +# Domain Extension Example (commented — not part of core ontology) |
| 142 | +# |
| 143 | +# Any domain can define sub-dimensions without modifying this file: |
| 144 | +# |
| 145 | +# @prefix med: <https://web4.io/ontology/medical#> . |
| 146 | +# |
| 147 | +# med:SurgicalPrecision a web4:Dimension ; |
| 148 | +# web4:subDimensionOf web4:Talent ; |
| 149 | +# rdfs:comment "Fine motor skill under pressure." . |
| 150 | +# |
| 151 | +# med:DiagnosticIntuition a web4:Dimension ; |
| 152 | +# web4:subDimensionOf web4:Talent ; |
| 153 | +# rdfs:comment "Pattern recognition in symptoms." . |
| 154 | +# |
| 155 | +# med:BoardCertification a web4:Dimension ; |
| 156 | +# web4:subDimensionOf web4:Training . |
| 157 | +# |
| 158 | +# med:StressResponse a web4:Dimension ; |
| 159 | +# web4:subDimensionOf web4:Temperament . |
| 160 | +# |
| 161 | +# # Sub-sub-dimensions (fractal): |
| 162 | +# med:LaparoscopicSkill a web4:Dimension ; |
| 163 | +# web4:subDimensionOf med:SurgicalPrecision . |
| 164 | +# |
| 165 | +# # SPARQL to find all Talent sub-dimensions (any depth): |
| 166 | +# # SELECT ?dim WHERE { ?dim web4:subDimensionOf* web4:Talent } |
| 167 | +# =========================================================================== |
0 commit comments