@zh-xx/antu 0.9.0

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 (118) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +11 -0
  3. package/THIRD-PARTY-NOTICES.md +739 -0
  4. package/assets/viewer.html +1503 -0
  5. package/bin/antu-mcp.mjs +1549 -0
  6. package/bin/antu.mjs +1494 -0
  7. package/examples/agent/fact/1-minimal.en.json +57 -0
  8. package/examples/agent/fact/1-minimal.zh-CN.json +29 -0
  9. package/examples/agent/fact/2-single-actor.en.json +66 -0
  10. package/examples/agent/fact/2-single-actor.zh-CN.json +28 -0
  11. package/examples/agent/fact/3-groups.en.json +34 -0
  12. package/examples/agent/fact/3-groups.zh-CN.json +34 -0
  13. package/examples/agent/fact/4-views.en.json +44 -0
  14. package/examples/agent/fact/4-views.zh-CN.json +44 -0
  15. package/examples/agent/fact/5-duration.en.json +28 -0
  16. package/examples/agent/fact/5-duration.zh-CN.json +28 -0
  17. package/examples/agent/fact/6-sources.en.json +30 -0
  18. package/examples/agent/fact/6-sources.zh-CN.json +30 -0
  19. package/examples/agent/fact/7-undated.en.json +34 -0
  20. package/examples/agent/fact/7-undated.zh-CN.json +34 -0
  21. package/examples/agent/justification/1-minimal.en.json +83 -0
  22. package/examples/agent/justification/1-minimal.zh-CN.json +83 -0
  23. package/examples/agent/justification/2-against-and-rejected.en.json +82 -0
  24. package/examples/agent/justification/2-against-and-rejected.zh-CN.json +82 -0
  25. package/examples/agent/justification/3-issues.en.json +107 -0
  26. package/examples/agent/justification/3-issues.zh-CN.json +107 -0
  27. package/examples/agent/justification/4-shared-fact.en.json +111 -0
  28. package/examples/agent/justification/4-shared-fact.zh-CN.json +111 -0
  29. package/examples/agent/justification/5-sources.en.json +97 -0
  30. package/examples/agent/justification/5-sources.zh-CN.json +97 -0
  31. package/examples/agent/justification/6-all-or-any.en.json +98 -0
  32. package/examples/agent/justification/6-all-or-any.zh-CN.json +98 -0
  33. package/examples/agent/procedure/1-minimal.en.json +15 -0
  34. package/examples/agent/procedure/1-minimal.zh-CN.json +15 -0
  35. package/examples/agent/procedure/2-decision.en.json +17 -0
  36. package/examples/agent/procedure/2-decision.zh-CN.json +17 -0
  37. package/examples/agent/procedure/3-branches.en.json +22 -0
  38. package/examples/agent/procedure/3-branches.zh-CN.json +22 -0
  39. package/examples/agent/procedure/4-stages.en.json +34 -0
  40. package/examples/agent/procedure/4-stages.zh-CN.json +34 -0
  41. package/examples/agent/procedure/5-inferred-spine.en.json +21 -0
  42. package/examples/agent/procedure/5-inferred-spine.zh-CN.json +21 -0
  43. package/examples/agent/procedure/6-merged-edges.en.json +19 -0
  44. package/examples/agent/procedure/6-merged-edges.zh-CN.json +19 -0
  45. package/examples/agent/procedure/7-rules.en.json +30 -0
  46. package/examples/agent/procedure/7-rules.zh-CN.json +30 -0
  47. package/examples/agent/relationship/1-minimal.en.json +28 -0
  48. package/examples/agent/relationship/1-minimal.zh-CN.json +28 -0
  49. package/examples/agent/relationship/2-equity.en.json +59 -0
  50. package/examples/agent/relationship/2-equity.zh-CN.json +59 -0
  51. package/examples/agent/relationship/3-guarantee.en.json +51 -0
  52. package/examples/agent/relationship/3-guarantee.zh-CN.json +51 -0
  53. package/examples/agent/relationship/4-groups.en.json +68 -0
  54. package/examples/agent/relationship/4-groups.zh-CN.json +68 -0
  55. package/examples/agent/relationship/5-kinship.en.json +69 -0
  56. package/examples/agent/relationship/5-kinship.zh-CN.json +69 -0
  57. package/examples/fact/fang-yuan-loan-and-conflict.en.json +330 -0
  58. package/examples/fact/fang-yuan-loan-and-conflict.zh-CN.json +237 -0
  59. package/examples/fact/gym-membership-face-scan.en.json +181 -0
  60. package/examples/fact/gym-membership-face-scan.zh-CN.json +181 -0
  61. package/examples/fact/lin-fang-v-zhao-lei-private-lending.en.json +122 -0
  62. package/examples/fact/lin-fang-v-zhao-lei-private-lending.zh-CN.json +122 -0
  63. package/examples/fact/marketplace-platform-liability.en.json +192 -0
  64. package/examples/fact/marketplace-platform-liability.zh-CN.json +192 -0
  65. package/examples/fact/neighbour-corridor-charging.en.json +201 -0
  66. package/examples/fact/neighbour-corridor-charging.zh-CN.json +201 -0
  67. package/examples/fact/sample-construction-payment.en.json +220 -0
  68. package/examples/fact/sample-construction-payment.zh-CN.json +139 -0
  69. package/examples/fact/sample-four-parties-four-slots.en.json +202 -0
  70. package/examples/fact/sample-four-parties-four-slots.zh-CN.json +121 -0
  71. package/examples/fact/sample-no-groups.en.json +100 -0
  72. package/examples/fact/sample-no-groups.zh-CN.json +100 -0
  73. package/examples/fact/sample-three-slots.en.json +102 -0
  74. package/examples/fact/sample-three-slots.zh-CN.json +102 -0
  75. package/examples/fact/sample-two-actors-one-side.en.json +143 -0
  76. package/examples/fact/sample-two-actors-one-side.zh-CN.json +143 -0
  77. package/examples/fact/sample-two-parties-each-side.en.json +183 -0
  78. package/examples/fact/sample-two-parties-each-side.zh-CN.json +183 -0
  79. package/examples/justification/fang-yuan-defense-excess.en.json +636 -0
  80. package/examples/justification/fang-yuan-defense-excess.zh-CN.json +636 -0
  81. package/examples/justification/neighbour-corridor-liability.en.json +571 -0
  82. package/examples/justification/neighbour-corridor-liability.zh-CN.json +571 -0
  83. package/examples/procedure/01-software-development-contract.en.json +290 -0
  84. package/examples/procedure/01-software-development-contract.zh-CN.json +290 -0
  85. package/examples/procedure/02-purchase-contract.en.json +46 -0
  86. package/examples/procedure/02-purchase-contract.zh-CN.json +46 -0
  87. package/examples/procedure/03-labour-outsourcing-contract.en.json +251 -0
  88. package/examples/procedure/03-labour-outsourcing-contract.zh-CN.json +251 -0
  89. package/examples/procedure/04-non-disclosure-agreement.en.json +79 -0
  90. package/examples/procedure/04-non-disclosure-agreement.zh-CN.json +79 -0
  91. package/examples/procedure/05-premises-lease.en.json +344 -0
  92. package/examples/procedure/05-premises-lease.zh-CN.json +344 -0
  93. package/examples/procedure/06-epc-general-contract.en.json +375 -0
  94. package/examples/procedure/06-epc-general-contract.zh-CN.json +375 -0
  95. package/examples/procedure/07-share-acquisition-agreement.en.json +368 -0
  96. package/examples/procedure/07-share-acquisition-agreement.zh-CN.json +368 -0
  97. package/examples/raw//351/207/207/350/264/255/345/220/210/345/220/214-PO-2026-088.md +31 -0
  98. package/examples/raw//357/274/2102031/357/274/211/347/244/272/345/210/221/345/210/2353/345/217/267-/350/231/232/346/236/204/347/275/221/347/273/234/345/225/206/345/237/216/346/241/210-/344/270/200/345/256/241.md +36 -0
  99. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/345/210/2351/345/217/267-/346/260/221/351/227/264/345/200/237/350/264/267/346/241/210-/344/270/200/345/256/241.md +31 -0
  100. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/345/210/2352/345/217/267-/345/201/245/350/272/253/346/210/277/345/210/267/350/204/270/345/205/245/345/234/272/346/241/210-/344/270/200/345/256/241.md +40 -0
  101. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/347/273/2101/345/217/267-/346/245/274/351/201/223/345/205/205/347/224/265/345/212/235/351/230/273/346/241/210-/344/272/214/345/256/241.md +38 -0
  102. package/examples/raw//357/274/2102032/357/274/211/347/244/272/345/210/221/347/273/2101/345/217/267-/346/226/271/350/277/234/346/241/210-/344/272/214/345/256/241.md +49 -0
  103. package/examples/relationship/fang-yuan-parties.en.json +226 -0
  104. package/examples/relationship/fang-yuan-parties.zh-CN.json +226 -0
  105. package/examples/relationship/lin-fang-v-zhao-lei-parties.en.json +140 -0
  106. package/examples/relationship/lin-fang-v-zhao-lei-parties.zh-CN.json +140 -0
  107. package/examples/relationship/marketplace-parties.en.json +259 -0
  108. package/examples/relationship/marketplace-parties.zh-CN.json +259 -0
  109. package/examples/relationship/sample-group-guarantee.en.json +138 -0
  110. package/examples/relationship/sample-group-guarantee.zh-CN.json +138 -0
  111. package/examples/relationship/sample-loan-guarantee.en.json +122 -0
  112. package/examples/relationship/sample-loan-guarantee.zh-CN.json +122 -0
  113. package/package.json +35 -0
  114. package/server.json +20 -0
  115. package/spec/agent/fact/guide.md +114 -0
  116. package/spec/agent/justification/guide.md +100 -0
  117. package/spec/agent/procedure/guide.md +109 -0
  118. package/spec/agent/relationship/guide.md +92 -0
@@ -0,0 +1,30 @@
1
+ {
2
+ "type": "procedure",
3
+ "specVersion": 1,
4
+ "title": "Rules: what may happen at any time",
5
+ "domain": "contract-performance",
6
+ "stages": [
7
+ { "id": "st-1", "label": "Delivery" },
8
+ { "id": "st-2", "label": "Payment" }
9
+ ],
10
+ "sources": [
11
+ { "id": "s-1", "type": "contract", "name": "Purchase contract", "loc": { "file": "purchase-contract.docx" } }
12
+ ],
13
+ "nodes": [
14
+ { "id": "n-1", "kind": "start", "label": "Contract signed", "stageId": "st-1" },
15
+ { "id": "n-2", "kind": "step", "label": "Seller delivers", "detail": "by 2026-10-31", "stageId": "st-1" },
16
+ { "id": "n-3", "kind": "step", "label": "Buyer pays", "detail": "within 30 days of delivery", "stageId": "st-2" },
17
+ { "id": "n-4", "kind": "end", "label": "Contract performed", "outcome": "positive", "stageId": "st-2" },
18
+ { "id": "n-5", "kind": "end", "label": "Contract terminated early", "outcome": "negative", "stageId": "st-2" }
19
+ ],
20
+ "edges": [
21
+ { "from": "n-1", "to": "n-2", "main": true },
22
+ { "from": "n-2", "to": "n-3", "main": true },
23
+ { "from": "n-3", "to": "n-4", "main": true }
24
+ ],
25
+ "rules": [
26
+ { "id": "r-1", "when": "Seller delivers late", "then": "Seller pays 0.1% of the price per day, capped at 5%", "outcome": "negative", "stageIds": ["st-1"], "sourceIds": ["s-1"] },
27
+ { "id": "r-2", "when": ["Seller is more than 30 days late", "Goods fail inspection twice"], "then": "Buyer may terminate", "outcome": "negative", "stageIds": ["st-1"], "endId": "n-5", "sourceIds": ["s-1"] },
28
+ { "id": "r-3", "when": "Buyer pays late", "then": "Buyer pays interest at 0.05% per day", "outcome": "negative", "stageIds": ["st-2"], "sourceIds": ["s-1"] }
29
+ ]
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "type": "procedure",
3
+ "specVersion": 1,
4
+ "title": "条款:随时可能发生的事",
5
+ "domain": "contract-performance",
6
+ "stages": [
7
+ { "id": "st-1", "label": "交货" },
8
+ { "id": "st-2", "label": "付款" }
9
+ ],
10
+ "sources": [
11
+ { "id": "s-1", "type": "contract", "name": "采购合同", "loc": { "file": "采购合同.docx" } }
12
+ ],
13
+ "nodes": [
14
+ { "id": "n-1", "kind": "start", "label": "合同签订", "stageId": "st-1" },
15
+ { "id": "n-2", "kind": "step", "label": "卖方交货", "detail": "2026-10-31 前", "stageId": "st-1" },
16
+ { "id": "n-3", "kind": "step", "label": "买方付款", "detail": "交货后 30 日内", "stageId": "st-2" },
17
+ { "id": "n-4", "kind": "end", "label": "合同履行完毕", "outcome": "positive", "stageId": "st-2" },
18
+ { "id": "n-5", "kind": "end", "label": "合同解除", "outcome": "negative", "stageId": "st-2" }
19
+ ],
20
+ "edges": [
21
+ { "from": "n-1", "to": "n-2", "main": true },
22
+ { "from": "n-2", "to": "n-3", "main": true },
23
+ { "from": "n-3", "to": "n-4", "main": true }
24
+ ],
25
+ "rules": [
26
+ { "id": "r-1", "when": "卖方逾期交货", "then": "卖方每日支付价款 0.1% 违约金,上限 5%", "outcome": "negative", "stageIds": ["st-1"], "sourceIds": ["s-1"] },
27
+ { "id": "r-2", "when": ["卖方逾期超过 30 日", "货物两次验收不合格"], "then": "买方可解除合同", "outcome": "negative", "stageIds": ["st-1"], "endId": "n-5", "sourceIds": ["s-1"] },
28
+ { "id": "r-3", "when": "买方逾期付款", "then": "买方按每日 0.05% 支付利息", "outcome": "negative", "stageIds": ["st-2"], "sourceIds": ["s-1"] }
29
+ ]
30
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "Minimal: one loan",
5
+ "entities": [
6
+ {
7
+ "id": "e-1",
8
+ "kind": "person",
9
+ "label": "Zhang San",
10
+ "role": "Lender"
11
+ },
12
+ {
13
+ "id": "e-2",
14
+ "kind": "person",
15
+ "label": "Li Si",
16
+ "role": "Borrower"
17
+ }
18
+ ],
19
+ "relations": [
20
+ {
21
+ "id": "r-1",
22
+ "from": "e-1",
23
+ "to": "e-2",
24
+ "kind": "debt",
25
+ "amount": "CNY 100,000"
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "最小可用:一笔借款",
5
+ "entities": [
6
+ {
7
+ "id": "e-1",
8
+ "kind": "person",
9
+ "label": "张三",
10
+ "role": "出借人"
11
+ },
12
+ {
13
+ "id": "e-2",
14
+ "kind": "person",
15
+ "label": "李四",
16
+ "role": "借款人"
17
+ }
18
+ ],
19
+ "relations": [
20
+ {
21
+ "id": "r-1",
22
+ "from": "e-1",
23
+ "to": "e-2",
24
+ "kind": "debt",
25
+ "amount": "10 万元"
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "Equity: who holds whom, and how much",
5
+ "entities": [
6
+ {
7
+ "id": "e-1",
8
+ "kind": "person",
9
+ "label": "Wang Ming",
10
+ "role": "Controlling person"
11
+ },
12
+ {
13
+ "id": "e-2",
14
+ "kind": "company",
15
+ "label": "Mingda Holdings Co."
16
+ },
17
+ {
18
+ "id": "e-3",
19
+ "kind": "company",
20
+ "label": "Mingda Technology Co."
21
+ },
22
+ {
23
+ "id": "e-4",
24
+ "kind": "person",
25
+ "label": "Liu Fang",
26
+ "role": "Minority shareholder"
27
+ }
28
+ ],
29
+ "relations": [
30
+ {
31
+ "id": "r-1",
32
+ "from": "e-1",
33
+ "to": "e-2",
34
+ "kind": "equity",
35
+ "share": 80
36
+ },
37
+ {
38
+ "id": "r-2",
39
+ "from": "e-2",
40
+ "to": "e-3",
41
+ "kind": "equity",
42
+ "share": 65
43
+ },
44
+ {
45
+ "id": "r-3",
46
+ "from": "e-4",
47
+ "to": "e-3",
48
+ "kind": "equity",
49
+ "share": 35
50
+ },
51
+ {
52
+ "id": "r-4",
53
+ "from": "e-1",
54
+ "to": "e-3",
55
+ "kind": "control",
56
+ "label": "Executive director"
57
+ }
58
+ ]
59
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "股权:谁持有谁、持多少",
5
+ "entities": [
6
+ {
7
+ "id": "e-1",
8
+ "kind": "person",
9
+ "label": "王明",
10
+ "role": "实际控制人"
11
+ },
12
+ {
13
+ "id": "e-2",
14
+ "kind": "company",
15
+ "label": "明达控股有限公司"
16
+ },
17
+ {
18
+ "id": "e-3",
19
+ "kind": "company",
20
+ "label": "明达科技有限公司"
21
+ },
22
+ {
23
+ "id": "e-4",
24
+ "kind": "person",
25
+ "label": "刘芳",
26
+ "role": "小股东"
27
+ }
28
+ ],
29
+ "relations": [
30
+ {
31
+ "id": "r-1",
32
+ "from": "e-1",
33
+ "to": "e-2",
34
+ "kind": "equity",
35
+ "share": 80
36
+ },
37
+ {
38
+ "id": "r-2",
39
+ "from": "e-2",
40
+ "to": "e-3",
41
+ "kind": "equity",
42
+ "share": 65
43
+ },
44
+ {
45
+ "id": "r-3",
46
+ "from": "e-4",
47
+ "to": "e-3",
48
+ "kind": "equity",
49
+ "share": 35
50
+ },
51
+ {
52
+ "id": "r-4",
53
+ "from": "e-1",
54
+ "to": "e-3",
55
+ "kind": "control",
56
+ "label": "担任执行董事"
57
+ }
58
+ ]
59
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "A guarantee names the claim it secures",
5
+ "entities": [
6
+ {
7
+ "id": "e-1",
8
+ "kind": "company",
9
+ "label": "Bank A",
10
+ "role": "Creditor"
11
+ },
12
+ {
13
+ "id": "e-2",
14
+ "kind": "company",
15
+ "label": "Company B",
16
+ "role": "Borrower"
17
+ },
18
+ {
19
+ "id": "e-3",
20
+ "kind": "person",
21
+ "label": "C",
22
+ "role": "Guarantor"
23
+ }
24
+ ],
25
+ "relations": [
26
+ {
27
+ "id": "r-1",
28
+ "from": "e-1",
29
+ "to": "e-2",
30
+ "kind": "contract",
31
+ "label": "Loan agreement",
32
+ "amount": "CNY 5,000,000"
33
+ },
34
+ {
35
+ "id": "r-2",
36
+ "from": "e-1",
37
+ "to": "e-2",
38
+ "kind": "debt",
39
+ "label": "Principal and interest overdue",
40
+ "amount": "CNY 5,200,000"
41
+ },
42
+ {
43
+ "id": "r-3",
44
+ "from": "e-3",
45
+ "to": "e-1",
46
+ "kind": "guarantee",
47
+ "label": "Joint and several guarantee",
48
+ "secures": "r-2"
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "担保:指向它所担保的那笔债权",
5
+ "entities": [
6
+ {
7
+ "id": "e-1",
8
+ "kind": "company",
9
+ "label": "甲银行",
10
+ "role": "债权人"
11
+ },
12
+ {
13
+ "id": "e-2",
14
+ "kind": "company",
15
+ "label": "乙公司",
16
+ "role": "借款人"
17
+ },
18
+ {
19
+ "id": "e-3",
20
+ "kind": "person",
21
+ "label": "丙",
22
+ "role": "保证人"
23
+ }
24
+ ],
25
+ "relations": [
26
+ {
27
+ "id": "r-1",
28
+ "from": "e-1",
29
+ "to": "e-2",
30
+ "kind": "contract",
31
+ "label": "借款合同",
32
+ "amount": "500 万元"
33
+ },
34
+ {
35
+ "id": "r-2",
36
+ "from": "e-1",
37
+ "to": "e-2",
38
+ "kind": "debt",
39
+ "label": "到期未还本息",
40
+ "amount": "520 万元"
41
+ },
42
+ {
43
+ "id": "r-3",
44
+ "from": "e-3",
45
+ "to": "e-1",
46
+ "kind": "guarantee",
47
+ "label": "连带责任保证",
48
+ "secures": "r-2"
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "Camps: plaintiff side, defendant side, a neutral party",
5
+ "groups": [
6
+ {
7
+ "id": "g-1",
8
+ "label": "Plaintiff side"
9
+ },
10
+ {
11
+ "id": "g-2",
12
+ "label": "Defendant side"
13
+ }
14
+ ],
15
+ "entities": [
16
+ {
17
+ "id": "e-1",
18
+ "kind": "company",
19
+ "label": "Company A",
20
+ "role": "Plaintiff",
21
+ "groupId": "g-1"
22
+ },
23
+ {
24
+ "id": "e-2",
25
+ "kind": "company",
26
+ "label": "Company B",
27
+ "role": "Defendant",
28
+ "groupId": "g-2"
29
+ },
30
+ {
31
+ "id": "e-3",
32
+ "kind": "person",
33
+ "label": "Zhao",
34
+ "role": "B's legal representative",
35
+ "groupId": "g-2"
36
+ },
37
+ {
38
+ "id": "e-4",
39
+ "kind": "government",
40
+ "label": "Municipal market regulator",
41
+ "role": "Registry"
42
+ }
43
+ ],
44
+ "relations": [
45
+ {
46
+ "id": "r-1",
47
+ "from": "e-1",
48
+ "to": "e-2",
49
+ "kind": "contract",
50
+ "label": "Sale contract",
51
+ "amount": "CNY 800,000"
52
+ },
53
+ {
54
+ "id": "r-2",
55
+ "from": "e-3",
56
+ "to": "e-2",
57
+ "kind": "control",
58
+ "label": "Legal representative"
59
+ },
60
+ {
61
+ "id": "r-3",
62
+ "from": "e-4",
63
+ "to": "e-2",
64
+ "kind": "other",
65
+ "label": "Registration"
66
+ }
67
+ ]
68
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "阵营:原告方、被告方与中立方",
5
+ "groups": [
6
+ {
7
+ "id": "g-1",
8
+ "label": "原告方"
9
+ },
10
+ {
11
+ "id": "g-2",
12
+ "label": "被告方"
13
+ }
14
+ ],
15
+ "entities": [
16
+ {
17
+ "id": "e-1",
18
+ "kind": "company",
19
+ "label": "甲公司",
20
+ "role": "原告",
21
+ "groupId": "g-1"
22
+ },
23
+ {
24
+ "id": "e-2",
25
+ "kind": "company",
26
+ "label": "乙公司",
27
+ "role": "被告",
28
+ "groupId": "g-2"
29
+ },
30
+ {
31
+ "id": "e-3",
32
+ "kind": "person",
33
+ "label": "赵某",
34
+ "role": "乙公司法定代表人",
35
+ "groupId": "g-2"
36
+ },
37
+ {
38
+ "id": "e-4",
39
+ "kind": "government",
40
+ "label": "市市场监督管理局",
41
+ "role": "登记机关"
42
+ }
43
+ ],
44
+ "relations": [
45
+ {
46
+ "id": "r-1",
47
+ "from": "e-1",
48
+ "to": "e-2",
49
+ "kind": "contract",
50
+ "label": "买卖合同",
51
+ "amount": "80 万元"
52
+ },
53
+ {
54
+ "id": "r-2",
55
+ "from": "e-3",
56
+ "to": "e-2",
57
+ "kind": "control",
58
+ "label": "法定代表人"
59
+ },
60
+ {
61
+ "id": "r-3",
62
+ "from": "e-4",
63
+ "to": "e-2",
64
+ "kind": "other",
65
+ "label": "登记"
66
+ }
67
+ ]
68
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "Status and kinship: undirected relations and directed",
5
+ "asOf": "2024-01-01",
6
+ "entities": [
7
+ {
8
+ "id": "e-1",
9
+ "kind": "person",
10
+ "label": "Zhou",
11
+ "role": "Deceased"
12
+ },
13
+ {
14
+ "id": "e-2",
15
+ "kind": "person",
16
+ "label": "Wu",
17
+ "role": "Spouse"
18
+ },
19
+ {
20
+ "id": "e-3",
21
+ "kind": "person",
22
+ "label": "Zhou Jr.",
23
+ "role": "Child"
24
+ },
25
+ {
26
+ "id": "e-4",
27
+ "kind": "company",
28
+ "label": "Zhou's Catering Co."
29
+ },
30
+ {
31
+ "id": "e-5",
32
+ "kind": "person",
33
+ "label": "Qian",
34
+ "role": "Agent"
35
+ }
36
+ ],
37
+ "relations": [
38
+ {
39
+ "id": "r-1",
40
+ "from": "e-1",
41
+ "to": "e-2",
42
+ "kind": "kinship",
43
+ "label": "Spouses"
44
+ },
45
+ {
46
+ "id": "r-2",
47
+ "from": "e-1",
48
+ "to": "e-3",
49
+ "kind": "kinship",
50
+ "label": "Father and son",
51
+ "directed": true
52
+ },
53
+ {
54
+ "id": "r-3",
55
+ "from": "e-4",
56
+ "to": "e-3",
57
+ "kind": "employment",
58
+ "label": "Shop manager"
59
+ },
60
+ {
61
+ "id": "r-4",
62
+ "from": "e-2",
63
+ "to": "e-5",
64
+ "kind": "agency",
65
+ "label": "Handles the succession",
66
+ "detail": "Wu authorised Qian in writing to handle the succession"
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "身份与亲属:无向关系与 directed",
5
+ "asOf": "2024-01-01",
6
+ "entities": [
7
+ {
8
+ "id": "e-1",
9
+ "kind": "person",
10
+ "label": "周某",
11
+ "role": "被继承人"
12
+ },
13
+ {
14
+ "id": "e-2",
15
+ "kind": "person",
16
+ "label": "吴某",
17
+ "role": "配偶"
18
+ },
19
+ {
20
+ "id": "e-3",
21
+ "kind": "person",
22
+ "label": "周小某",
23
+ "role": "子女"
24
+ },
25
+ {
26
+ "id": "e-4",
27
+ "kind": "company",
28
+ "label": "周记餐饮有限公司"
29
+ },
30
+ {
31
+ "id": "e-5",
32
+ "kind": "person",
33
+ "label": "钱某",
34
+ "role": "受托人"
35
+ }
36
+ ],
37
+ "relations": [
38
+ {
39
+ "id": "r-1",
40
+ "from": "e-1",
41
+ "to": "e-2",
42
+ "kind": "kinship",
43
+ "label": "夫妻"
44
+ },
45
+ {
46
+ "id": "r-2",
47
+ "from": "e-1",
48
+ "to": "e-3",
49
+ "kind": "kinship",
50
+ "label": "父子",
51
+ "directed": true
52
+ },
53
+ {
54
+ "id": "r-3",
55
+ "from": "e-4",
56
+ "to": "e-3",
57
+ "kind": "employment",
58
+ "label": "店长"
59
+ },
60
+ {
61
+ "id": "r-4",
62
+ "from": "e-2",
63
+ "to": "e-5",
64
+ "kind": "agency",
65
+ "label": "委托办理继承",
66
+ "detail": "吴某书面委托钱某代为办理继承手续"
67
+ }
68
+ ]
69
+ }