@agenticprimitives/ontology 1.0.0-alpha.4 → 1.0.0-alpha.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.md +59 -21
  2. package/cbox/agent-facet-shapes.shacl.ttl +130 -0
  3. package/cbox/capability-catalog-shapes.shacl.ttl +284 -0
  4. package/cbox/card-projection-shapes.shacl.ttl +216 -0
  5. package/cbox/consultation-shapes.shacl.ttl +85 -0
  6. package/cbox/content-vocabulary.ttl +52 -0
  7. package/cbox/controlled-vocabularies.ttl +224 -4
  8. package/cbox/discovery-graph-shapes.shacl.ttl +284 -0
  9. package/cbox/familyoffice-shapes.shacl.ttl +92 -0
  10. package/cbox/familyoffice-vocabulary.ttl +48 -0
  11. package/cbox/geo-vocabulary.ttl +36 -0
  12. package/cbox/guidance-vocabulary.ttl +22 -0
  13. package/cbox/interaction-shapes.shacl.ttl +218 -0
  14. package/cbox/interaction-vocabulary.ttl +159 -0
  15. package/cbox/judgment-shapes.shacl.ttl +83 -0
  16. package/cbox/naming-registry-shapes.shacl.ttl +272 -0
  17. package/cbox/org-team-shapes.shacl.ttl +184 -0
  18. package/cbox/privacy-credential-shapes.shacl.ttl +187 -0
  19. package/cbox/profile-facet-vocabulary.ttl +50 -0
  20. package/cbox/registry-vocabulary.ttl +86 -0
  21. package/cbox/run-measures-shapes.shacl.ttl +59 -0
  22. package/cbox/run-provenance-shapes.shacl.ttl +264 -0
  23. package/cbox/scope-vocabulary.ttl +112 -0
  24. package/cbox/skill-grounding-vocabulary.ttl +18 -0
  25. package/cbox/skill-vocabulary.ttl +50 -0
  26. package/context.jsonld +37 -1
  27. package/dist/arg-types.d.ts +60 -0
  28. package/dist/arg-types.d.ts.map +1 -0
  29. package/dist/arg-types.js +143 -0
  30. package/dist/arg-types.js.map +1 -0
  31. package/dist/artifacts.d.ts +9 -2
  32. package/dist/artifacts.d.ts.map +1 -1
  33. package/dist/artifacts.js +153 -2
  34. package/dist/artifacts.js.map +1 -1
  35. package/dist/contact-fields.d.ts +28 -0
  36. package/dist/contact-fields.d.ts.map +1 -0
  37. package/dist/contact-fields.js +38 -0
  38. package/dist/contact-fields.js.map +1 -0
  39. package/dist/decisions.d.ts +69 -0
  40. package/dist/decisions.d.ts.map +1 -0
  41. package/dist/decisions.js +98 -0
  42. package/dist/decisions.js.map +1 -0
  43. package/dist/evaluation-context.d.ts +134 -0
  44. package/dist/evaluation-context.d.ts.map +1 -0
  45. package/dist/evaluation-context.js +136 -0
  46. package/dist/evaluation-context.js.map +1 -0
  47. package/dist/governance.d.ts +84 -0
  48. package/dist/governance.d.ts.map +1 -0
  49. package/dist/governance.js +88 -0
  50. package/dist/governance.js.map +1 -0
  51. package/dist/grounded-vocabulary.d.ts +29 -0
  52. package/dist/grounded-vocabulary.d.ts.map +1 -0
  53. package/dist/grounded-vocabulary.js +110 -0
  54. package/dist/grounded-vocabulary.js.map +1 -0
  55. package/dist/household.d.ts +19 -0
  56. package/dist/household.d.ts.map +1 -0
  57. package/dist/household.js +41 -0
  58. package/dist/household.js.map +1 -0
  59. package/dist/index.d.ts +1091 -3
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +1323 -5
  62. package/dist/index.js.map +1 -1
  63. package/dist/outcomes.d.ts +47 -0
  64. package/dist/outcomes.d.ts.map +1 -0
  65. package/dist/outcomes.js +40 -0
  66. package/dist/outcomes.js.map +1 -0
  67. package/dist/participant-vocabulary.d.ts +57 -0
  68. package/dist/participant-vocabulary.d.ts.map +1 -0
  69. package/dist/participant-vocabulary.js +66 -0
  70. package/dist/participant-vocabulary.js.map +1 -0
  71. package/dist/party-roles.d.ts +115 -0
  72. package/dist/party-roles.d.ts.map +1 -0
  73. package/dist/party-roles.js +343 -0
  74. package/dist/party-roles.js.map +1 -0
  75. package/dist/payload-classes.d.ts +22 -0
  76. package/dist/payload-classes.d.ts.map +1 -0
  77. package/dist/payload-classes.js +30 -0
  78. package/dist/payload-classes.js.map +1 -0
  79. package/dist/plan-shapes.d.ts +18 -0
  80. package/dist/plan-shapes.d.ts.map +1 -0
  81. package/dist/plan-shapes.js +38 -0
  82. package/dist/plan-shapes.js.map +1 -0
  83. package/dist/principles.generated.d.ts +11 -0
  84. package/dist/principles.generated.d.ts.map +1 -0
  85. package/dist/principles.generated.js +293 -0
  86. package/dist/principles.generated.js.map +1 -0
  87. package/dist/published-works.d.ts +13 -0
  88. package/dist/published-works.d.ts.map +1 -0
  89. package/dist/published-works.js +18 -0
  90. package/dist/published-works.js.map +1 -0
  91. package/dist/relations.d.ts +44 -0
  92. package/dist/relations.d.ts.map +1 -0
  93. package/dist/relations.js +104 -0
  94. package/dist/relations.js.map +1 -0
  95. package/dist/run-measures-context.d.ts +74 -0
  96. package/dist/run-measures-context.d.ts.map +1 -0
  97. package/dist/run-measures-context.js +77 -0
  98. package/dist/run-measures-context.js.map +1 -0
  99. package/dist/run-provenance-context.d.ts +315 -0
  100. package/dist/run-provenance-context.d.ts.map +1 -0
  101. package/dist/run-provenance-context.js +323 -0
  102. package/dist/run-provenance-context.js.map +1 -0
  103. package/dist/transitions.d.ts +42 -0
  104. package/dist/transitions.d.ts.map +1 -0
  105. package/dist/transitions.js +100 -0
  106. package/dist/transitions.js.map +1 -0
  107. package/dist/vault-records.d.ts +74 -0
  108. package/dist/vault-records.d.ts.map +1 -0
  109. package/dist/vault-records.js +777 -0
  110. package/dist/vault-records.js.map +1 -0
  111. package/dist/versions.generated.d.ts +262 -0
  112. package/dist/versions.generated.d.ts.map +1 -0
  113. package/dist/versions.generated.js +318 -0
  114. package/dist/versions.generated.js.map +1 -0
  115. package/evaluation.jsonld +133 -0
  116. package/mappings/actor-context-standards.ttl +89 -0
  117. package/mappings/agent-discovery-standards.ttl +127 -0
  118. package/mappings/collaboration-crosswalk-actors.ttl +30 -0
  119. package/mappings/collaboration-crosswalk-authority.ttl +31 -0
  120. package/mappings/collaboration-crosswalk-guidance.ttl +29 -0
  121. package/mappings/collaboration-crosswalk-intent.ttl +29 -0
  122. package/mappings/collaboration-crosswalk-messaging.ttl +37 -0
  123. package/mappings/collaboration-crosswalk-organization.ttl +66 -0
  124. package/mappings/collaboration-crosswalk-protocols.ttl +49 -0
  125. package/mappings/collaboration-crosswalk-skills.ttl +50 -0
  126. package/mappings/collaboration-profile.ttl +82 -0
  127. package/mappings/commerce-engagement-crosswalk.ttl +83 -0
  128. package/mappings/spine-standards.ttl +83 -0
  129. package/package.json +31 -9
  130. package/run-measures.jsonld +34 -0
  131. package/run-provenance.jsonld +314 -0
  132. package/tbox/actor-context.ttl +145 -0
  133. package/tbox/agent-resolution.ttl +308 -0
  134. package/tbox/agreement.ttl +77 -0
  135. package/tbox/attestation.ttl +156 -0
  136. package/tbox/card-projection.ttl +350 -0
  137. package/tbox/constraints.ttl +150 -0
  138. package/tbox/contact.ttl +61 -0
  139. package/tbox/content.ttl +76 -0
  140. package/tbox/context.ttl +508 -0
  141. package/tbox/coordination.ttl +263 -0
  142. package/tbox/core.ttl +325 -7
  143. package/tbox/dcat-imports.ttl +19 -0
  144. package/tbox/discovery.ttl +273 -0
  145. package/tbox/dqv-imports.ttl +29 -0
  146. package/tbox/earl-imports.ttl +32 -0
  147. package/tbox/engagement.ttl +349 -0
  148. package/tbox/entitlement.ttl +41 -0
  149. package/tbox/estate.ttl +78 -0
  150. package/tbox/evaluation.ttl +330 -0
  151. package/tbox/execution.ttl +720 -0
  152. package/tbox/familyoffice.ttl +87 -0
  153. package/tbox/fulfillment.ttl +140 -0
  154. package/tbox/geo.ttl +28 -0
  155. package/tbox/governance.ttl +67 -0
  156. package/tbox/guidance.ttl +40 -0
  157. package/tbox/household.ttl +142 -0
  158. package/tbox/identity.ttl +133 -6
  159. package/tbox/inference.ttl +177 -0
  160. package/tbox/intents.ttl +241 -0
  161. package/tbox/interaction.ttl +297 -0
  162. package/tbox/messaging.ttl +244 -0
  163. package/tbox/naming.ttl +114 -0
  164. package/tbox/org.ttl +410 -0
  165. package/tbox/payload.ttl +94 -0
  166. package/tbox/payment.ttl +124 -0
  167. package/tbox/plan.ttl +169 -0
  168. package/tbox/principles.ttl +212 -0
  169. package/tbox/privacy-credential.ttl +436 -0
  170. package/tbox/profile.ttl +107 -0
  171. package/tbox/prov-imports.ttl +73 -0
  172. package/tbox/registry.ttl +382 -0
  173. package/tbox/resolution.ttl +108 -0
  174. package/tbox/scope.ttl +59 -0
  175. package/tbox/security-exposure.ttl +102 -0
  176. package/tbox/situation.ttl +56 -0
  177. package/tbox/skills.ttl +316 -0
  178. package/tbox/skos-imports.ttl +54 -0
  179. package/tbox/transition.ttl +63 -0
  180. package/tbox/trust.ttl +210 -0
  181. package/tbox/values.ttl +81 -0
  182. package/tbox/verification-receipt.ttl +134 -0
  183. package/versions.adoption.json +173 -0
@@ -0,0 +1,50 @@
1
+ # Collaboration crosswalk — capabilities + projections (spec 325 §4.5; ADR-0051).
2
+
3
+ @prefix aps: <https://agenticprimitives.dev/ns/skill#> .
4
+ @prefix apint: <https://agenticprimitives.dev/ns/intent#> .
5
+ @prefix apres: <https://agenticprimitives.dev/ns/resolution#> .
6
+ @prefix owls: <http://www.daml.org/services/owl-s/1.2/#> .
7
+ @prefix wsmo: <http://www.wsmo.org/ns/d2rl#> .
8
+ @prefix sawsdl: <http://www.w3.org/ns/sawsdl#> .
9
+ @prefix wot: <https://www.w3.org/2019/wot/td#> .
10
+ @prefix oasf: <https://schema.oasf.outshift.com/#> .
11
+ @prefix a2a: <https://google.github.io/A2A/specification#> .
12
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
13
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
14
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
15
+
16
+ <> rdfs:comment "Capability profile: CapabilityDefinition is canonical; OASF/A2A/MCP are projections." .
17
+
18
+ aps:Skill rdfs:seeAlso owls:Service ;
19
+ rdfs:comment "On-chain capability definition anchor (spec 251); not the full semantic profile." .
20
+
21
+ aps:CapabilityDefinition skos:closeMatch owls:ServiceProfile, wot:ActionAffordance, oasf:Skill ;
22
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/specs/325-agentic-primitives-collaboration-profile.md#45-skill-profile-a2a-wave-foundation> ;
23
+ rdfs:comment "Stable AP semantic capability — richer than A2A AgentSkill advertisement." .
24
+
25
+ aps:AgentSkillDefinition rdfs:subClassOf aps:CapabilityDefinition ; owl:deprecated true .
26
+
27
+ aps:CapabilityGrounding skos:closeMatch owls:ServiceGrounding, wot:Form ;
28
+ rdfs:seeAlso sawsdl:Lifting , sawsdl:Lowering .
29
+
30
+ aps:SkillGrounding rdfs:subClassOf aps:CapabilityGrounding ; owl:deprecated true .
31
+
32
+ aps:CapabilityProtocolProjection skos:closeMatch a2a:AgentSkill, oasf:Skill ;
33
+ rdfs:comment "OASF skill taxon or A2A AgentSkill descriptor — adapter output ONLY." .
34
+
35
+ aps:SkillProtocolProjection rdfs:subClassOf aps:CapabilityProtocolProjection ; owl:deprecated true .
36
+
37
+ aps:semanticType rdfs:seeAlso sawsdl:modelReference .
38
+
39
+ aps:IntentCapabilityMatch skos:closeMatch wsmo:Mediator ;
40
+ rdfs:seeAlso apres:Resolver ;
41
+ rdfs:comment "Intent → capability bridge evidence (spec 325 §6.2)." .
42
+
43
+ aps:IntentSkillMatch rdfs:subClassOf aps:IntentCapabilityMatch ; owl:deprecated true .
44
+
45
+ apint:InvokeSkillIntent rdfs:seeAlso aps:CapabilityDefinition .
46
+
47
+ # ─── Taxonomy mapping (spec 347 §5) — the reified aps:SkillTaxonomyMapping stands for ONE SKOS
48
+ # mapping triple; `relation` names which. AP ids stay canonical; OASF / HCS-14 taxa are targets.
49
+ aps:SkillTaxonomyMapping rdfs:seeAlso skos:exactMatch, skos:closeMatch, skos:broadMatch, skos:narrowMatch ;
50
+ rdfs:comment "SkillTaxonomyMappingV1.relation: exact→skos:exactMatch, close→skos:closeMatch, broad→skos:broadMatch, narrow→skos:narrowMatch. Version-pinned; a taxonomy version change is review-required." .
@@ -0,0 +1,82 @@
1
+ # Collaboration Profile — document of record (spec 325; ADR-0049).
2
+ # Machine-readable index of crosswalk sections. AP T-box stays native; this file
3
+ # links profile sections to mapping artifacts and external pattern families.
4
+ #
5
+ # EVERY IRI IN THIS FILE IS ABSOLUTE, AND MUST STAY THAT WAY. These artifacts are
6
+ # loaded into a NAMED GRAPH whose name is the parse base URI — `urn:ap:ontology`, an
7
+ # opaque URN with no hierarchical path. A relative reference (`<crosswalk.ttl>`,
8
+ # `<../../specs/325.md>`) cannot be resolved against an opaque base, so the whole file
9
+ # is rejected `400 MALFORMED DATA` and every artifact after it in the load order never
10
+ # lands. `<>` (the empty reference) is the one exception: it denotes the base itself and
11
+ # needs no resolution, which is why the sibling crosswalks parse.
12
+
13
+ @prefix apcollab: <https://agenticprimitives.dev/ns/collaboration#> .
14
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
16
+ @prefix dcterms: <http://purl.org/dc/terms/> .
17
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
18
+
19
+ apcollab: a owl:Ontology ;
20
+ rdfs:label "Agentic Primitives Collaboration Profile" ;
21
+ owl:versionInfo "0.1.0" ;
22
+ dcterms:title "Agentic Primitives Collaboration Profile" ;
23
+ dcterms:created "2026-07-13"^^<http://www.w3.org/2001/XMLSchema#date> ;
24
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/specs/325-agentic-primitives-collaboration-profile.md> ;
25
+ rdfs:comment "Interoperability profile over external standards. Pattern capture via skos:closeMatch — not owl:imports of upper ontologies (ADR-0049)." .
26
+
27
+ apcollab:CollaborationProfile a skos:ConceptScheme ;
28
+ rdfs:label "Collaboration Profile sections" ;
29
+ skos:hasTopConcept apcollab:ActorProfile, apcollab:OrganizationProfile, apcollab:MessagingProfile,
30
+ apcollab:IntentProfile, apcollab:SkillProfile, apcollab:AuthorityProfile, apcollab:ProtocolBindings .
31
+
32
+ apcollab:ActorProfile a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
33
+ skos:prefLabel "Actor profile" ;
34
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/packages/ontology/mappings/collaboration-crosswalk-actors.ttl> ;
35
+ skos:definition "Universal Agent (Person/Organization/Service); PROV-O + ActivityStreams pattern alignment." .
36
+
37
+ apcollab:OrganizationProfile a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
38
+ skos:prefLabel "Organization profile" ;
39
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/packages/ontology/mappings/collaboration-crosswalk-organization.ttl> ;
40
+ skos:definition "Membership, roles, posts, enrollment; W3C ORG + DOLCE/DnS Situation patterns." .
41
+
42
+ apcollab:MessagingProfile a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
43
+ skos:prefLabel "Messaging profile" ;
44
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/packages/ontology/mappings/collaboration-crosswalk-messaging.ttl> ;
45
+ skos:definition "CommunicativeAct, Conversation, Topic, Thread; FIPA + SIOC + Open Floor patterns." .
46
+
47
+ apcollab:IntentProfile a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
48
+ skos:prefLabel "Intent profile" ;
49
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/packages/ontology/mappings/collaboration-crosswalk-intent.ttl> ;
50
+ skos:definition "Intent hierarchy; ValueFlows + WSMO Goal mediation patterns." .
51
+
52
+ apcollab:SkillProfile a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
53
+ skos:prefLabel "Capability profile" ;
54
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/packages/ontology/mappings/collaboration-crosswalk-skills.ttl> ;
55
+ skos:definition "CapabilityDefinition semantic source; OWL-S/SAWSDL/WoT/OASF/A2A projection patterns." .
56
+
57
+ apcollab:AuthorityProfile a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
58
+ skos:prefLabel "Authority profile" ;
59
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/packages/ontology/mappings/collaboration-crosswalk-authority.ttl> ;
60
+ skos:definition "Delegation, Entitlement, VC attestation, ODRL policy projection; role materialization bridge." .
61
+
62
+ apcollab:ProtocolBindings a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
63
+ skos:prefLabel "Protocol bindings" ;
64
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/packages/ontology/mappings/collaboration-crosswalk-protocols.ttl> ;
65
+ skos:definition "A2A, MCP, OASF, Open Floor, NLIP, ActivityPub, ANP as ExchangeEnvelope bindings — not ontology core." .
66
+
67
+ apcollab:RoleToAuthorityBridge a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
68
+ skos:prefLabel "Role → authority bridge" ;
69
+ skos:definition "RoleAssignment materializedBy Delegation, supportedBy Entitlement — beyond W3C ORG." .
70
+
71
+ apcollab:IntentToSkillBridge a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
72
+ skos:prefLabel "Intent → capability bridge" ;
73
+ skos:definition "IntentCapabilityMatch proves semantic fit between Intent and CapabilityDefinition in organizational context." .
74
+
75
+ apcollab:GuidanceSkillProfile a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
76
+ skos:prefLabel "Agent Skill package profile" ;
77
+ rdfs:seeAlso <https://github.com/agentictrustlabs/agenticprimitives/blob/main/packages/ontology/mappings/collaboration-crosswalk-guidance.ttl> ;
78
+ skos:definition "Agent Skill packages (SKILL.md) vs aps: CapabilityDefinition (ADR-0050, ADR-0051)." .
79
+
80
+ apcollab:ConversationToExecutionBridge a skos:Concept ; skos:inScheme apcollab:CollaborationProfile ;
81
+ skos:prefLabel "Conversation → execution bridge" ;
82
+ skos:definition "ExchangeEnvelope → CommunicativeAct → Intent → grounded skill invocation → Outcome." .
@@ -0,0 +1,83 @@
1
+ # Commerce ↔ engagement crosswalk (spec 337; companion to spec 336).
2
+ #
3
+ # ONE OFFER ALGEBRA, TWO ARENAS: the intent-workflow chain (spec 336 — intent precedes offer) and
4
+ # the agentic-commerce chain (spec 337 — offer precedes intent: listings, carts, auctions) ground
5
+ # to the SAME apeng:/apint: classes. This module anchors them to the external standards, with the
6
+ # ADR-0049 discipline: skos:closeMatch and rdfs:seeAlso ONLY — never owl:equivalentClass or
7
+ # owl:sameAs. An external record (an ICM intent expression, an AP2 mandate VC, a marketplace
8
+ # order) is EVIDENCE ABOUT a canonical artifact, never the canonical artifact itself.
9
+ #
10
+ # Prefix notes:
11
+ # icm: TM Forum Intent Common Model (TR290 series; validated by the TM Forum Intent Ontology,
12
+ # TIO/TR292; surfaced by the TMF921 v5 Intent Management API whose Intent.expression IS
13
+ # an RDF graph). The ONLY formal RDF ontology among the standards mapped here — the
14
+ # others are wire protocols anchored by seeAlso URL.
15
+ # schema: schema.org — the web's direction-neutral Offer/Demand pair.
16
+ # vf: ValueFlows — already the spine's base (apint:Intent ⊑ vf:Intent); its
17
+ # intent → commitment → economic event triad is the arena-neutral economic core.
18
+
19
+ @prefix apint: <https://agenticprimitives.dev/ns/intent#> .
20
+ @prefix apeng: <https://agenticprimitives.dev/ns/engagement#> .
21
+ @prefix apdisc: <https://agenticprimitives.dev/ns/discovery#> .
22
+ @prefix icm: <https://tio.models.tmforum.org/tio/IntentCommonModel#> .
23
+ @prefix schema: <https://schema.org/> .
24
+ @prefix vf: <https://w3id.org/valueflows#> .
25
+ @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
26
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
27
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
28
+
29
+ <> rdfs:comment "Offer is canonical (spec 337 §2); listing / cart / bid / auction / ICM intent expression / AP2 mandate are projections or evidence, never new classes. No OWL equivalence assertions anywhere in this file — closeMatch and seeAlso only (ADR-0049)." .
30
+
31
+ # ─── TM Forum ICM / TIO / TMF921 — the formal-ontology anchor ────────────────────────────────────
32
+
33
+ apint:Intent skos:closeMatch icm:Intent , vf:Intent , schema:Demand ;
34
+ rdfs:seeAlso <https://www.tmforum.org/oda/open-apis/directory/intent-management-api-TMF921> ;
35
+ rdfs:comment "ICM's Intent is likewise a formal declarative expression (an RDF graph validated against TIO), not a ticket. schema:Demand is the web's demand-side projection. apint:Intent already subclasses vf:Intent — the deepest reason both arenas share one ontology." .
36
+
37
+ apint:ConstraintSet skos:closeMatch icm:Expectation ;
38
+ rdfs:comment "ICM types its expectations (delivery / property / reporting) rather than passing strings — the same first-class-typed-constraints decision as D-38. Reporting expectations map to AP success criteria + receipt requirements." .
39
+
40
+ apeng:EngagementProbe skos:closeMatch icm:Intent ;
41
+ rdfs:seeAlso <https://www.tmforum.org/oda/open-apis/directory/intent-management-api-TMF921> ;
42
+ rdfs:comment "TMF921's ProbeIntent ('tell me whether you could, and what the likely result would be — do not start work') is the closest standardized ancestor of the probe. DELIBERATE DIVERGENCE: TMF921 models the probe as a SUBTYPE of Intent; AP models it as a communicative act CARRYING an audience-bound projection, so one canonical Intent yields many per-candidate probes without minting competing Intents (spec 337 §4.1)." .
43
+
44
+ apeng:EngagementResponse skos:closeMatch icm:IntentReport ;
45
+ rdfs:comment "ICM reports are anchored to the expectations they answer; AP responses are anchored to the probe (and receipts to success criteria). The refuse-vs-failure discipline holds in both: a rejection report is an answer, not an error." .
46
+
47
+ # ─── The offer algebra ↔ commerce standards ──────────────────────────────────────────────────────
48
+
49
+ apeng:Offer skos:closeMatch schema:Offer , vf:Commitment ;
50
+ rdfs:seeAlso <https://github.com/ProjectOpenSea/seaport> ;
51
+ rdfs:comment "A signed, expiring, digest-pinned, acceptance-capable commitment. Seaport's order struct (offer[]/consideration[]) proved the class is direction-neutral: a listing and a bid are one shape. In ValueFlows terms an offer IS a (conditional) Commitment — commerce and workflow were already one ontology there." .
52
+
53
+ apeng:StandingOffer rdfs:seeAlso <https://github.com/ProjectOpenSea/seaport> , <https://github.com/universal-commerce-protocol/ucp> ;
54
+ rdfs:comment "The marketplace primitive: a listing is a StandingOffer with broadcast audience (UCP catalog entries that are bookable at stated terms; a Seaport listing anyone can fill). NOT apdisc:Offering — that is a capability claim and cannot be accepted." .
55
+
56
+ apeng:FulfillmentOffer skos:closeMatch schema:Offer ;
57
+ rdfs:seeAlso <https://github.com/google-agentic-commerce/AP2> ;
58
+ rdfs:comment "The merchant-signed CART/CHECKOUT of AP2 and UCP is this class: exact items, price, tax, shipping, digest-pinned, intent-bound ('what you see is what you pay for'). Composed from StandingOffers via apeng:composesOffer." .
59
+
60
+ apeng:OfferAcceptance skos:closeMatch schema:Order ;
61
+ rdfs:comment "Order placement. Pins the accepted revision digest — a superseded (repriced) offer cannot be filled at the old terms by replay." .
62
+
63
+ apeng:EngagementCampaign rdfs:seeAlso <https://github.com/ProjectOpenSea/seaport> ;
64
+ rdfs:comment "An AUCTION is a campaign profile: English = seller-run campaign collecting competing buyer offers (campaignDeadline = close, OfferSelection = hammer); Dutch = ONE StandingOffer repriced by superseding revisions, first acceptance wins. No auction class is minted (spec 337 §3)." .
65
+
66
+ # ─── The authority leg ↔ AP2 / ACP ───────────────────────────────────────────────────────────────
67
+
68
+ apeng:Mandate rdfs:seeAlso <https://github.com/google-agentic-commerce/AP2> ;
69
+ rdfs:comment "AP2's Intent Mandate (human-not-present: bounded standing authority — limits, timing, conditions) and Cart Mandate (approval digest-pinned to one exact cart) are BOTH this class in its two bindings: derived-from-delegation caveats for the open form; offer-digest binding for the closed form. AP2 carries them as W3C Verifiable Credentials — a credential PROJECTION of the mandate, matching AP's delegation substrate rather than replacing it." .
70
+
71
+ apeng:ExecutionCredential rdfs:seeAlso <https://github.com/google-agentic-commerce/AP2> ;
72
+ rdfs:comment "AP2's scoped purchase credential / payment token and ACP's Shared Payment Token are this discipline on payment rails: the agent presents a short-lived attenuation and never holds the raw credential or the durable authority." .
73
+
74
+ apeng:FulfillmentReceipt rdfs:seeAlso <https://github.com/google-agentic-commerce/AP2> ;
75
+ rdfs:comment "AP2 closes with DUAL receipts (processor-signed payment receipt + merchant-signed checkout receipt) bound to the mandate hashes — the same digest-binding rule: a settlement tx alone is a redirect-shaped non-receipt unless acceptance digest, mandate and outcome are individually bound." .
76
+
77
+ # ─── The claim/commitment firewall, restated for catalogs ────────────────────────────────────────
78
+
79
+ apdisc:Offering skos:closeMatch schema:Product ;
80
+ rdfs:comment "A catalog/registry entry describes what a provider generally offers — evidence for discovery, NOT acceptance-capable. UCP catalog rows that ARE bookable at stated terms project apeng:StandingOffer instead. Conflating these two is the marketplace edition of invoking providers that never agreed to the job." .
81
+
82
+ apeng:composesOffer rdfs:seeAlso <https://github.com/universal-commerce-protocol/ucp> ;
83
+ rdfs:comment "The cart edge. UCP's cart/checkout objects and AP2's cart contents are wire projections of this composition." .
@@ -0,0 +1,83 @@
1
+ # Mappings — substrate spine ↔ industry-standard crosswalks.
2
+ # Spec 225 §11.5; the substrate's external-standard bridge.
3
+ # Lets a downstream consumer reason that "an apint:Intent is an erc7521:UserIntent"
4
+ # without reading our spec text.
5
+
6
+ @prefix apint: <https://agenticprimitives.dev/ns/intent#> .
7
+ @prefix apcst: <https://agenticprimitives.dev/ns/constraint#> .
8
+ @prefix apres: <https://agenticprimitives.dev/ns/resolution#> .
9
+ @prefix apful: <https://agenticprimitives.dev/ns/fulfillment#> .
10
+ @prefix apagr: <https://agenticprimitives.dev/ns/agreement#> .
11
+ @prefix appay: <https://agenticprimitives.dev/ns/payment#> .
12
+ @prefix apatt: <https://agenticprimitives.dev/ns/attestation#> .
13
+ @prefix apvc: <https://agenticprimitives.dev/ns/verifiable-credential#> .
14
+
15
+ @prefix erc7521: <https://eips.ethereum.org/EIPS/eip-7521#> .
16
+ @prefix erc7683: <https://www.erc7683.org/spec#> .
17
+ @prefix erc7710: <https://eips.ethereum.org/EIPS/eip-7710#> .
18
+ @prefix erc7715: <https://eips.ethereum.org/EIPS/eip-7715#> .
19
+ @prefix erc8004: <https://eips.ethereum.org/EIPS/eip-8004#> .
20
+ @prefix eas: <https://docs.attest.org/spec#> .
21
+ @prefix a2a: <https://google.github.io/A2A/specification#> .
22
+ @prefix anoma: <https://anoma.net/spec#> .
23
+ @prefix x402: <https://www.x402.org/spec#> .
24
+ @prefix ap2: <https://google.github.io/A2A/ap2#> .
25
+ @prefix vf: <https://w3id.org/valueflows#> .
26
+ @prefix ufo-c: <http://purl.org/nemo/ufo-c#> .
27
+ @prefix w3cvc: <https://www.w3.org/2018/credentials#> .
28
+ @prefix prov: <http://www.w3.org/ns/prov#> .
29
+
30
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
31
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
32
+
33
+ # ─── Intent crosswalks (Layer 2) ──────────────────────────────────────
34
+
35
+ apint:Intent owl:equivalentClass anoma:Intent ;
36
+ owl:equivalentClass erc7521:UserIntent ;
37
+ owl:equivalentClass erc7683:Order ;
38
+ rdfs:subClassOf vf:Intent , ufo-c:Intention .
39
+
40
+ # ─── Constraint + Assumption (Layer 3 — ERC-7683 resolver-assumption parallel) ──
41
+
42
+ apcst:AssumptionSet rdfs:subClassOf erc7683:ResolverAssumptionSet .
43
+ apcst:NamedAssumption rdfs:subClassOf erc7683:NamedAssumption .
44
+
45
+ # ─── Resolution (Layer 4) ─────────────────────────────────────────────
46
+
47
+ apres:Resolver rdfs:subClassOf erc7683:Resolver .
48
+ apres:ResolvedOrder rdfs:subClassOf erc7683:CanonicalOrder .
49
+
50
+ # ─── Agreement (Layer 8) ──────────────────────────────────────────────
51
+
52
+ apagr:AgreementCredential rdfs:subClassOf w3cvc:VerifiableCredential .
53
+
54
+ # ─── Payment (Layer 9b) ───────────────────────────────────────────────
55
+
56
+ appay:PaymentMandate rdfs:subClassOf ap2:Mandate ;
57
+ rdfs:subClassOf x402:PaymentRequirement .
58
+ appay:OpenPaymentMandate rdfs:subClassOf ap2:IntentMandate .
59
+ appay:ClosedPaymentMandate rdfs:subClassOf ap2:CheckoutMandate .
60
+ appay:PaymentReceipt rdfs:subClassOf w3cvc:VerifiableCredential .
61
+
62
+ # ─── Fulfillment crosswalks (Layers 10–12 — A2A alignment) ───────────
63
+
64
+ apful:Task owl:equivalentClass a2a:Task .
65
+ apful:Message owl:equivalentClass a2a:Message .
66
+ apful:Artifact owl:equivalentClass a2a:Artifact .
67
+ apful:HandoffPolicy rdfs:subClassOf a2a:HandoffPolicy .
68
+
69
+ # ─── Validation + reputation crosswalks (Layers 14–15; ERC-8004) ─────
70
+
71
+ apatt:Attestation rdfs:subClassOf eas:Attestation .
72
+ apatt:ValidationCredential owl:equivalentClass erc8004:ValidationRecord .
73
+ apatt:TrustUpdate owl:equivalentClass erc8004:ReputationRecord .
74
+ apatt:Validator rdfs:subClassOf erc8004:Validator .
75
+
76
+ # ─── Provenance crosswalks ────────────────────────────────────────────
77
+
78
+ apful:IntentTraceSpan rdfs:subClassOf prov:Activity .
79
+ apres:ResolutionReceipt rdfs:subClassOf prov:Entity .
80
+
81
+ # ─── VC envelope crosswalk ────────────────────────────────────────────
82
+
83
+ apvc:VerifiableCredential owl:equivalentClass w3cvc:VerifiableCredential .
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "@agenticprimitives/ontology",
3
- "version": "1.0.0-alpha.4",
3
+ "version": "1.0.0-alpha.41",
4
4
  "description": "Monorepo-wide formal vocabulary (RDFS/OWL T-box + SHACL/SKOS C-box + A-box fixtures) for agentic primitives. Off-chain source of truth the on-chain ontology (ADR-0009) instantiates. Ships TTL/JSON-LD artifacts + typed IRI constants.",
5
+ "homepage": "https://agenticprimitives.dev",
6
+ "bugs": {
7
+ "url": "https://github.com/agentictrustlabs/agenticprimitives/issues"
8
+ },
9
+ "author": {
10
+ "name": "Agentic Trust Labs",
11
+ "url": "https://agenticprimitives.dev"
12
+ },
5
13
  "license": "MIT",
6
14
  "repository": {
7
15
  "type": "git",
8
16
  "url": "git+https://github.com/agentictrustlabs/agenticprimitives.git",
9
17
  "directory": "packages/ontology"
10
18
  },
11
- "homepage": "https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/ontology",
12
- "bugs": {
13
- "url": "https://github.com/agentictrustlabs/agenticprimitives/issues"
14
- },
15
19
  "type": "module",
16
20
  "main": "./dist/index.js",
17
21
  "types": "./dist/index.d.ts",
@@ -23,22 +27,35 @@
23
27
  "./artifacts": {
24
28
  "types": "./dist/artifacts.d.ts",
25
29
  "import": "./dist/artifacts.js"
30
+ },
31
+ "./participant-vocabulary": {
32
+ "types": "./dist/participant-vocabulary.d.ts",
33
+ "import": "./dist/participant-vocabulary.js"
26
34
  }
27
35
  },
28
36
  "files": [
29
37
  "LICENSE",
30
38
  "dist",
31
39
  "context.jsonld",
40
+ "run-provenance.jsonld",
41
+ "run-measures.jsonld",
42
+ "evaluation.jsonld",
32
43
  "tbox",
33
44
  "cbox",
34
45
  "abox",
35
- "README.md"
46
+ "mappings",
47
+ "README.md",
48
+ "versions.adoption.json"
36
49
  ],
37
50
  "publishConfig": {
38
51
  "access": "public"
39
52
  },
40
53
  "devDependencies": {
41
- "vitest": "^2.1.0"
54
+ "vitest": "^4.1.11",
55
+ "@zazuko/env-node": "^2.1.1",
56
+ "shacl-engine": "^1.1.2",
57
+ "@agenticprimitives/provenance": "0.0.0-alpha.6",
58
+ "@agenticprimitives/evaluation": "0.0.0-alpha.11"
42
59
  },
43
60
  "keywords": [
44
61
  "ontology",
@@ -46,13 +63,18 @@
46
63
  "owl",
47
64
  "shacl",
48
65
  "knowledge-graph",
49
- "agentic"
66
+ "agentic",
67
+ "agentic-primitives",
68
+ "agenticprimitives",
69
+ "ai-agents",
70
+ "agent-authority",
71
+ "agentic-trust"
50
72
  ],
51
73
  "scripts": {
52
74
  "build": "tsc -p tsconfig.build.json",
53
75
  "typecheck": "tsc -p tsconfig.json --noEmit",
54
76
  "test": "vitest run",
55
- "test:unit": "vitest run test/unit",
77
+ "test:unit": "vitest run test/unit --passWithNoTests",
56
78
  "test:integration": "vitest run test/integration --passWithNoTests",
57
79
  "test:watch": "vitest",
58
80
  "clean": "rm -rf dist"
@@ -0,0 +1,34 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "@base": "urn:ap:prov:",
5
+ "prov": "http://www.w3.org/ns/prov#",
6
+ "dqv": "http://www.w3.org/ns/dqv#",
7
+ "apeval": "https://agenticprimitives.dev/ns/evaluation#",
8
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
9
+ "id": "@id",
10
+ "type": "@type",
11
+ "graph": "@graph",
12
+ "used": { "@id": "prov:used", "@type": "@id", "@container": "@set" },
13
+ "generated": { "@id": "prov:generated", "@type": "@id", "@container": "@set" },
14
+ "wasAssociatedWith": { "@id": "prov:wasAssociatedWith", "@type": "@id" },
15
+ "wasAttributedTo": { "@id": "prov:wasAttributedTo", "@type": "@id" },
16
+ "wasDerivedFrom": { "@id": "prov:wasDerivedFrom", "@type": "@id" },
17
+ "wasGeneratedBy": { "@id": "prov:wasGeneratedBy", "@type": "@id" },
18
+ "startedAtTime": { "@id": "prov:startedAtTime", "@type": "xsd:dateTime" },
19
+ "endedAtTime": { "@id": "prov:endedAtTime", "@type": "xsd:dateTime" },
20
+ "computedOn": { "@id": "dqv:computedOn", "@type": "@id" },
21
+ "isMeasurementOf": { "@id": "dqv:isMeasurementOf", "@type": "@id" },
22
+ "value": { "@id": "dqv:value", "@type": "xsd:decimal" },
23
+ "unit": "apeval:unit",
24
+ "hasMeasurement": { "@id": "apeval:hasMeasurement", "@type": "@id", "@container": "@set" },
25
+ "Entity": "prov:Entity",
26
+ "Activity": "prov:Activity",
27
+ "Bundle": "prov:Bundle",
28
+ "QualityMeasurement": "dqv:QualityMeasurement",
29
+ "QualityMeasurementDataset": "dqv:QualityMeasurementDataset",
30
+ "RunMeasures": "apeval:RunMeasures",
31
+ "RunMeasurement": "apeval:RunMeasurement",
32
+ "Measuring": "apeval:Measuring"
33
+ }
34
+ }