followthemoney 1.3.7__py3-none-any.whl → 3.8.0__py3-none-any.whl

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 (186) hide show
  1. followthemoney/__init__.py +5 -3
  2. followthemoney/cli/__init__.py +17 -0
  3. followthemoney/cli/aggregate.py +56 -0
  4. followthemoney/cli/cli.py +88 -0
  5. followthemoney/cli/exports.py +121 -0
  6. followthemoney/cli/mapping.py +85 -0
  7. followthemoney/cli/sieve.py +67 -0
  8. followthemoney/cli/util.py +142 -0
  9. followthemoney/compare.py +130 -60
  10. followthemoney/exc.py +19 -6
  11. followthemoney/export/common.py +29 -0
  12. followthemoney/export/csv.py +82 -0
  13. followthemoney/export/excel.py +75 -0
  14. followthemoney/export/graph.py +79 -0
  15. followthemoney/export/neo4j.py +182 -0
  16. followthemoney/export/rdf.py +26 -0
  17. followthemoney/graph.py +308 -0
  18. followthemoney/helpers.py +212 -0
  19. followthemoney/mapping/__init__.py +1 -1
  20. followthemoney/mapping/csv.py +67 -35
  21. followthemoney/mapping/entity.py +116 -44
  22. followthemoney/mapping/property.py +90 -44
  23. followthemoney/mapping/query.py +27 -19
  24. followthemoney/mapping/source.py +15 -5
  25. followthemoney/mapping/sql.py +75 -61
  26. followthemoney/messages.py +13 -7
  27. followthemoney/model.py +108 -56
  28. followthemoney/namespace.py +119 -0
  29. followthemoney/offshore.py +48 -0
  30. followthemoney/ontology.py +77 -0
  31. followthemoney/property.py +204 -71
  32. followthemoney/proxy.py +455 -118
  33. followthemoney/rdf.py +9 -0
  34. followthemoney/schema/Address.yaml +78 -0
  35. followthemoney/schema/Airplane.yaml +17 -10
  36. followthemoney/schema/Analyzable.yaml +54 -0
  37. followthemoney/schema/Article.yaml +16 -0
  38. followthemoney/schema/Assessment.yaml +32 -0
  39. followthemoney/schema/Asset.yaml +10 -4
  40. followthemoney/schema/Associate.yaml +41 -0
  41. followthemoney/schema/Audio.yaml +24 -0
  42. followthemoney/schema/BankAccount.yaml +53 -9
  43. followthemoney/schema/Call.yaml +48 -0
  44. followthemoney/schema/CallForTenders.yaml +117 -0
  45. followthemoney/schema/Company.yaml +37 -12
  46. followthemoney/schema/Contract.yaml +41 -7
  47. followthemoney/schema/ContractAward.yaml +30 -11
  48. followthemoney/schema/CourtCase.yaml +16 -10
  49. followthemoney/schema/CourtCaseParty.yaml +17 -6
  50. followthemoney/schema/CryptoWallet.yaml +48 -0
  51. followthemoney/schema/Debt.yaml +37 -0
  52. followthemoney/schema/Directorship.yaml +17 -4
  53. followthemoney/schema/Document.yaml +72 -139
  54. followthemoney/schema/Documentation.yml +38 -0
  55. followthemoney/schema/EconomicActivity.yaml +32 -17
  56. followthemoney/schema/Email.yaml +76 -0
  57. followthemoney/schema/Employment.yaml +39 -0
  58. followthemoney/schema/Event.yaml +35 -3
  59. followthemoney/schema/Family.yaml +41 -0
  60. followthemoney/schema/Folder.yaml +13 -0
  61. followthemoney/schema/HyperText.yaml +21 -0
  62. followthemoney/schema/Identification.yaml +40 -0
  63. followthemoney/schema/Image.yaml +25 -0
  64. followthemoney/schema/Interest.yaml +3 -6
  65. followthemoney/schema/Interval.yaml +56 -5
  66. followthemoney/schema/LegalEntity.yaml +81 -20
  67. followthemoney/schema/License.yaml +7 -3
  68. followthemoney/schema/Membership.yaml +19 -4
  69. followthemoney/schema/Mention.yaml +54 -0
  70. followthemoney/schema/Message.yaml +73 -0
  71. followthemoney/schema/Note.yaml +23 -0
  72. followthemoney/schema/Occupancy.yaml +40 -0
  73. followthemoney/schema/Organization.yaml +38 -3
  74. followthemoney/schema/Ownership.yaml +16 -4
  75. followthemoney/schema/Package.yaml +17 -0
  76. followthemoney/schema/Page.yaml +43 -0
  77. followthemoney/schema/Pages.yaml +23 -0
  78. followthemoney/schema/Passport.yaml +15 -17
  79. followthemoney/schema/Payment.yaml +38 -7
  80. followthemoney/schema/Person.yaml +61 -5
  81. followthemoney/schema/PlainText.yaml +17 -0
  82. followthemoney/schema/Position.yaml +50 -0
  83. followthemoney/schema/Post.yaml +42 -0
  84. followthemoney/schema/Project.yaml +27 -0
  85. followthemoney/schema/ProjectParticipant.yaml +36 -0
  86. followthemoney/schema/PublicBody.yaml +14 -3
  87. followthemoney/schema/RealEstate.yaml +19 -3
  88. followthemoney/schema/Representation.yaml +17 -6
  89. followthemoney/schema/Sanction.yaml +44 -20
  90. followthemoney/schema/Security.yaml +59 -0
  91. followthemoney/schema/Similar.yaml +37 -0
  92. followthemoney/schema/Succession.yaml +36 -0
  93. followthemoney/schema/Table.yaml +32 -0
  94. followthemoney/schema/TaxRoll.yaml +27 -9
  95. followthemoney/schema/Thing.yaml +69 -13
  96. followthemoney/schema/Trip.yaml +42 -0
  97. followthemoney/schema/UnknownLink.yaml +17 -6
  98. followthemoney/schema/UserAccount.yaml +44 -0
  99. followthemoney/schema/Value.yaml +5 -1
  100. followthemoney/schema/Vehicle.yaml +25 -8
  101. followthemoney/schema/Vessel.yaml +18 -10
  102. followthemoney/schema/Video.yaml +20 -0
  103. followthemoney/schema/Workbook.yaml +18 -0
  104. followthemoney/schema.py +406 -135
  105. followthemoney/translations/ar/LC_MESSAGES/followthemoney.mo +0 -0
  106. followthemoney/translations/ar/LC_MESSAGES/followthemoney.po +2900 -787
  107. followthemoney/translations/bs/LC_MESSAGES/followthemoney.mo +0 -0
  108. followthemoney/translations/bs/LC_MESSAGES/followthemoney.po +2108 -520
  109. followthemoney/translations/de/LC_MESSAGES/followthemoney.mo +0 -0
  110. followthemoney/translations/de/LC_MESSAGES/followthemoney.po +2902 -782
  111. followthemoney/translations/es/LC_MESSAGES/followthemoney.mo +0 -0
  112. followthemoney/translations/es/LC_MESSAGES/followthemoney.po +2893 -779
  113. followthemoney/translations/fr/LC_MESSAGES/followthemoney.mo +0 -0
  114. followthemoney/translations/fr/LC_MESSAGES/followthemoney.po +4362 -0
  115. followthemoney/translations/fr/followthemoney.po +3861 -0
  116. followthemoney/translations/messages.pot +3021 -725
  117. followthemoney/translations/nb/LC_MESSAGES/followthemoney.mo +0 -0
  118. followthemoney/translations/nb/LC_MESSAGES/followthemoney.po +3778 -0
  119. followthemoney/translations/nl/LC_MESSAGES/followthemoney.mo +0 -0
  120. followthemoney/translations/nl/LC_MESSAGES/followthemoney.po +3837 -0
  121. followthemoney/translations/pt_BR/LC_MESSAGES/followthemoney.mo +0 -0
  122. followthemoney/translations/pt_BR/LC_MESSAGES/followthemoney.po +3784 -0
  123. followthemoney/translations/ru/LC_MESSAGES/followthemoney.mo +0 -0
  124. followthemoney/translations/ru/LC_MESSAGES/followthemoney.po +2837 -539
  125. followthemoney/translations/ru/followthemoney.po +4221 -0
  126. followthemoney/translations/tr/LC_MESSAGES/followthemoney.mo +0 -0
  127. followthemoney/translations/tr/LC_MESSAGES/followthemoney.po +2073 -491
  128. followthemoney/types/__init__.py +35 -17
  129. followthemoney/types/address.py +41 -21
  130. followthemoney/types/checksum.py +25 -0
  131. followthemoney/types/common.py +233 -88
  132. followthemoney/types/country.py +89 -56
  133. followthemoney/types/date.py +59 -76
  134. followthemoney/types/email.py +66 -35
  135. followthemoney/types/entity.py +66 -13
  136. followthemoney/types/gender.py +66 -0
  137. followthemoney/types/iban.py +47 -28
  138. followthemoney/types/identifier.py +49 -22
  139. followthemoney/types/ip.py +35 -21
  140. followthemoney/types/json.py +58 -0
  141. followthemoney/types/language.py +124 -37
  142. followthemoney/types/mimetype.py +44 -0
  143. followthemoney/types/name.py +56 -12
  144. followthemoney/types/number.py +30 -0
  145. followthemoney/types/phone.py +92 -34
  146. followthemoney/types/registry.py +52 -0
  147. followthemoney/types/string.py +43 -0
  148. followthemoney/types/topic.py +94 -0
  149. followthemoney/types/url.py +39 -17
  150. followthemoney/util.py +139 -45
  151. followthemoney-3.8.0.dist-info/METADATA +153 -0
  152. followthemoney-3.8.0.dist-info/RECORD +157 -0
  153. {followthemoney-1.3.7.dist-info → followthemoney-3.8.0.dist-info}/WHEEL +1 -2
  154. followthemoney-3.8.0.dist-info/entry_points.txt +17 -0
  155. followthemoney-1.3.7.dist-info/LICENSE.txt → followthemoney-3.8.0.dist-info/licenses/LICENSE +1 -1
  156. followthemoney/link.py +0 -75
  157. followthemoney/schema/Associate.yml +0 -19
  158. followthemoney/schema/Family.yml +0 -19
  159. followthemoney/schema/Land.yml +0 -9
  160. followthemoney/schema/Relationship.yaml +0 -26
  161. followthemoney/types/domain.py +0 -50
  162. followthemoney-1.3.7.dist-info/DESCRIPTION.rst +0 -3
  163. followthemoney-1.3.7.dist-info/METADATA +0 -39
  164. followthemoney-1.3.7.dist-info/RECORD +0 -108
  165. followthemoney-1.3.7.dist-info/entry_points.txt +0 -3
  166. followthemoney-1.3.7.dist-info/metadata.json +0 -1
  167. followthemoney-1.3.7.dist-info/namespace_packages.txt +0 -1
  168. followthemoney-1.3.7.dist-info/top_level.txt +0 -3
  169. ns/ontology.py +0 -128
  170. tests/types/test_addresses.py +0 -24
  171. tests/types/test_common.py +0 -32
  172. tests/types/test_countries.py +0 -27
  173. tests/types/test_dates.py +0 -73
  174. tests/types/test_domains.py +0 -23
  175. tests/types/test_emails.py +0 -32
  176. tests/types/test_entity.py +0 -19
  177. tests/types/test_iban.py +0 -109
  178. tests/types/test_identifiers.py +0 -27
  179. tests/types/test_ip.py +0 -29
  180. tests/types/test_languages.py +0 -23
  181. tests/types/test_names.py +0 -33
  182. tests/types/test_phones.py +0 -24
  183. tests/types/test_registry.py +0 -14
  184. tests/types/test_urls.py +0 -23
  185. {ns → followthemoney/export}/__init__.py +0 -0
  186. /tests/types/__init__.py → /followthemoney/py.typed +0 -0
@@ -1,18 +1,30 @@
1
1
  Contract:
2
2
  label: "Contract"
3
3
  plural: "Contracts"
4
- description: "An contract or contract lot issued by an authority. Multiple lots may be awarded to different suppliers (see ContractAward)."
4
+ description: >
5
+ An contract or contract lot issued by an authority. Multiple lots
6
+ may be awarded to different suppliers (see ContractAward).
5
7
  extends:
6
8
  - Asset
7
- - Interval
8
- icon: fa-handshake-o
9
9
  matchable: false
10
10
  featured:
11
- - name
11
+ - title
12
12
  - amount
13
13
  - authority
14
14
  - contractDate
15
+ required:
16
+ - title
17
+ caption:
18
+ - title
19
+ - name
20
+ - procedureNumber
21
+ temporalExtent:
22
+ start:
23
+ - contractDate
15
24
  properties:
25
+ title:
26
+ label: "Title"
27
+ type: string
16
28
  authority:
17
29
  label: "Contract authority"
18
30
  plural: "Contract authorities"
@@ -20,18 +32,40 @@ Contract:
20
32
  name: contractAuthority
21
33
  label: "Contracts issued"
22
34
  type: entity
23
- schema: LegalEntity
35
+ range: LegalEntity
36
+ project:
37
+ label: "Project"
38
+ reverse:
39
+ name: contracts
40
+ label: "Contracts"
41
+ type: entity
42
+ range: Project
24
43
  type:
25
44
  label: "Type"
26
- description: "Type of contract. Potentially W (Works), U (Supplies), S (Services)."
45
+ description: >
46
+ Type of contract. Potentially W (Works), U (Supplies), S (Services).
27
47
  contractDate:
28
48
  label: "Contract date"
29
49
  type: date
30
50
  procedureNumber:
31
51
  label: "Procedure number"
52
+ procedure:
53
+ label: "Contract procedure"
32
54
  noticeId:
33
55
  label: "Contract Award Notice ID"
34
56
  numberAwards:
35
57
  label: "Number of awards"
58
+ status:
59
+ label: "Status"
60
+ method:
61
+ label: "Procurement method"
62
+ criteria:
63
+ label: Contract award criteria
64
+ classification:
65
+ label: Classification
36
66
  cancelled:
37
- label: "Cancelled?"
67
+ label: "Cancelled?"
68
+ language:
69
+ label: "Language"
70
+ type: language
71
+ rdf: http://purl.org/dc/terms/language
@@ -1,18 +1,27 @@
1
1
  ContractAward:
2
- label: "Contract Lot Award"
3
- plural: "Contract Awards"
2
+ label: "Contract award"
3
+ plural: "Contract awards"
4
4
  description: "A contract or contract lot as awarded to a supplier."
5
+ matchable: false
5
6
  extends:
6
7
  - Value
7
- - Contract
8
- icon: fa-handshake-o
9
- matchable: false
8
+ - Interest
9
+ required:
10
+ - supplier
11
+ - contract
10
12
  featured:
11
13
  - supplier
12
14
  - contract
13
15
  - amount
14
16
  - lotNumber
15
17
  - decisionReason
18
+ edge:
19
+ source: contract
20
+ label: "awarded to"
21
+ target: supplier
22
+ directed: true
23
+ caption:
24
+ - lotNumber
16
25
  properties:
17
26
  supplier:
18
27
  label: "Supplier"
@@ -22,7 +31,7 @@ ContractAward:
22
31
  name: contractAwardSupplier
23
32
  label: "Contracts awarded"
24
33
  type: entity
25
- schema: LegalEntity
34
+ range: LegalEntity
26
35
  contract:
27
36
  label: "Contract"
28
37
  plural: "Contracts"
@@ -30,7 +39,14 @@ ContractAward:
30
39
  name: awards
31
40
  label: "Lots awarded"
32
41
  type: entity
33
- schema: Contract
42
+ range: Contract
43
+ callForTenders:
44
+ label: "Call For Tenders"
45
+ type: entity
46
+ reverse:
47
+ name: contractAwards
48
+ label: "Contract Awards"
49
+ range: CallForTenders
34
50
  lotNumber:
35
51
  label: "Lot number"
36
52
  documentNumber:
@@ -39,12 +55,15 @@ ContractAward:
39
55
  label: "Document type"
40
56
  decisionReason:
41
57
  label: "Decision reason"
58
+ type: text
42
59
  cpvCode:
43
- label: "CPV Code"
60
+ label: "CPV code"
44
61
  description: "Contract Procurement Vocabulary (what type of goods/services, EU)"
62
+ type: identifier
45
63
  nutsCode:
46
- label: "NUTS Code"
64
+ label: "NUTS code"
47
65
  description: "Nomencalture of Territorial Units for Statistics (NUTS)"
66
+ type: identifier
48
67
  amended:
49
- label: "Amended?"
50
- description: "Was this award amended, modified or updated by a subsequent document?"
68
+ label: "Amended"
69
+ description: "Was this award amended, modified or updated by a subsequent document?"
@@ -1,13 +1,23 @@
1
1
  CourtCase:
2
2
  label: Court case
3
3
  plural: Court cases
4
- extends: Interval
5
- icon: fa-briefcase
4
+ extends:
5
+ - Thing
6
6
  matchable: false
7
7
  featured:
8
8
  - name
9
- - date
9
+ - fileDate
10
10
  - caseNumber
11
+ required:
12
+ - name
13
+ caption:
14
+ - name
15
+ - caseNumber
16
+ temporalExtent:
17
+ start:
18
+ - fileDate
19
+ end:
20
+ - closeDate
11
21
  properties:
12
22
  category:
13
23
  label: Category
@@ -15,12 +25,6 @@ CourtCase:
15
25
  label: Type
16
26
  status:
17
27
  label: Status
18
- name:
19
- label: Name
20
- type: name
21
- country:
22
- label: Country
23
- type: country
24
28
  caseNumber:
25
29
  label: Case number
26
30
  type: identifier
@@ -28,5 +32,7 @@ CourtCase:
28
32
  label: Court
29
33
  fileDate:
30
34
  label: File date
35
+ type: date
31
36
  closeDate:
32
- label: Close date
37
+ label: Close date
38
+ type: date
@@ -1,24 +1,35 @@
1
1
  CourtCaseParty:
2
- label: "Party"
3
- extends: Interest
4
- icon: fa-birthday-cake
2
+ label: "Case party"
3
+ plural: "Case parties"
4
+ extends:
5
+ - Interest
5
6
  matchable: false
6
7
  featured:
7
8
  - party
8
9
  - case
9
10
  - role
11
+ required:
12
+ - case
13
+ - party
14
+ edge:
15
+ source: party
16
+ label: "involved in"
17
+ target: case
18
+ directed: true
19
+ caption:
20
+ - role
10
21
  properties:
11
- party:
22
+ party:
12
23
  label: "Party"
13
24
  reverse:
14
25
  name: courtCase
15
26
  label: "Court cases"
16
27
  type: entity
17
- schema: Thing
28
+ range: Thing
18
29
  case:
19
30
  label: "Case"
20
31
  reverse:
21
32
  name: parties
22
33
  label: "Parties"
23
34
  type: entity
24
- schema: CourtCase
35
+ range: CourtCase
@@ -0,0 +1,48 @@
1
+ CryptoWallet:
2
+ label: Cryptocurrency wallet
3
+ plural: Cryptocurrency wallets
4
+ extends:
5
+ - Thing
6
+ - Value
7
+ description: >
8
+ A cryptocurrency wallet is a view on the transactions conducted by one participant
9
+ on a blockchain / distributed ledger system.
10
+ matchable: true
11
+ featured:
12
+ - currency
13
+ - publicKey
14
+ caption:
15
+ - publicKey
16
+ - name
17
+ - summary
18
+ temporalExtent:
19
+ start:
20
+ - creationDate
21
+ properties:
22
+ publicKey:
23
+ label: Address
24
+ description: Public key used to identify the wallet
25
+ type: identifier
26
+ maxLength: 128
27
+ privateKey:
28
+ label: Private key
29
+ creationDate:
30
+ label: Creation date
31
+ type: date
32
+ currencySymbol:
33
+ label: Currency short code
34
+ mangingExchange:
35
+ label: Managing exchange
36
+ holder:
37
+ label: Wallet holder
38
+ type: entity
39
+ range: LegalEntity
40
+ reverse:
41
+ name: cryptoWallets
42
+ label: "Cryptocurrency wallets"
43
+ balance:
44
+ label: Balance
45
+ type: number
46
+ balanceDate:
47
+ label: Balance date
48
+ type: date
@@ -0,0 +1,37 @@
1
+ Debt:
2
+ label: "Debt"
3
+ plural: "Debts"
4
+ description: "A monetary debt between two parties."
5
+ matchable: false
6
+ extends:
7
+ - Interval
8
+ - Value
9
+ required:
10
+ - debtor
11
+ featured:
12
+ - debtor
13
+ - creditor
14
+ - date
15
+ - amount
16
+ edge:
17
+ source: debtor
18
+ label: "owes"
19
+ target: creditor
20
+ directed: true
21
+ caption:
22
+ - amount
23
+ properties:
24
+ debtor:
25
+ label: "Debtor"
26
+ reverse:
27
+ name: debtDebtor
28
+ label: "Debts"
29
+ type: entity
30
+ range: LegalEntity
31
+ creditor:
32
+ label: "Creditor"
33
+ reverse:
34
+ name: debtCreditor
35
+ label: "Credits"
36
+ type: entity
37
+ range: LegalEntity
@@ -1,7 +1,8 @@
1
1
  Directorship:
2
2
  label: "Directorship"
3
- extends: Interest
4
- icon: fa-user-circle
3
+ plural: "Directorships"
4
+ extends:
5
+ - Interest
5
6
  matchable: false
6
7
  featured:
7
8
  - director
@@ -9,6 +10,18 @@ Directorship:
9
10
  - role
10
11
  - startDate
11
12
  - endDate
13
+ required:
14
+ - director
15
+ - organization
16
+ caption:
17
+ - role
18
+ edge:
19
+ source: director
20
+ label: "directs"
21
+ target: organization
22
+ directed: true
23
+ caption:
24
+ - role
12
25
  properties:
13
26
  director:
14
27
  label: "Director"
@@ -16,13 +29,13 @@ Directorship:
16
29
  name: directorshipDirector
17
30
  label: "Directorships"
18
31
  type: entity
19
- schema: LegalEntity
32
+ range: LegalEntity
20
33
  organization:
21
34
  label: "Organization"
22
35
  reverse:
23
36
  name: directorshipOrganization
24
37
  label: "Directors"
25
38
  type: entity
26
- schema: Organization
39
+ range: Organization
27
40
  secretary:
28
41
  label: "Secretary"
@@ -1,18 +1,37 @@
1
1
  Document:
2
- extends: Thing
2
+ extends:
3
+ - Thing
4
+ - Analyzable
3
5
  label: File
4
6
  plural: Files
5
- icon: fa-file-o
6
- hidden: true
7
7
  matchable: false
8
+ generated: true
9
+ featured:
10
+ - title
11
+ - fileName
12
+ - mimeType
13
+ - parent
14
+ required:
15
+ - fileName
16
+ caption:
17
+ - fileName
18
+ - title
19
+ temporalExtent:
20
+ start:
21
+ - date
22
+ - authoredAt
23
+ - publishedAt
8
24
  properties:
9
25
  contentHash:
10
- label: "Content checksum"
26
+ label: "Checksum"
11
27
  description: "SHA1 hash of the data"
12
- type: identifier
28
+ # hidden: true
29
+ type: checksum
13
30
  title:
14
31
  label: "Title"
32
+ type: string
15
33
  rdf: http://purl.org/dc/elements/1.1/title
34
+ caption: true
16
35
  author:
17
36
  label: "Author"
18
37
  description: "The original author, not the uploader"
@@ -25,18 +44,36 @@ Document:
25
44
  description: "The crawler used to acquire this file"
26
45
  fileSize:
27
46
  label: "File size"
47
+ type: number
28
48
  fileName:
29
49
  label: "File name"
30
50
  extension:
31
51
  label: "File extension"
32
52
  encoding:
33
53
  label: "File encoding"
54
+ bodyText:
55
+ label: "Text"
56
+ hidden: true
57
+ type: "text"
58
+ messageId:
59
+ label: "Message ID"
60
+ description: "Message ID of a document; unique in most cases"
34
61
  mimeType:
35
62
  label: "MIME type"
63
+ type: mimetype
36
64
  rdf: http://purl.org/dc/terms/format
37
65
  language:
38
66
  label: "Language"
67
+ type: language
39
68
  rdf: http://purl.org/dc/terms/language
69
+ translatedLanguage:
70
+ label: "The language of the translated text"
71
+ hidden: true
72
+ type: language
73
+ translatedText:
74
+ label: "Translated version of the body text"
75
+ hidden: true
76
+ type: text
40
77
  date:
41
78
  label: "Date"
42
79
  description: "If not otherwise specified"
@@ -45,146 +82,42 @@ Document:
45
82
  authoredAt:
46
83
  label: "Authored on"
47
84
  type: date
48
- modifiedAt:
49
- label: "Modified on"
50
- type: date
85
+ matchable: false
51
86
  publishedAt:
52
87
  label: "Published on"
53
88
  type: date
54
- retrievedAt:
55
- label: "Retrieved on"
56
- type: date
89
+ matchable: false
57
90
  parent:
58
- label: "Parent document"
91
+ label: "Folder"
59
92
  type: entity
60
- schema: Folder
93
+ range: Folder
61
94
  reverse:
62
95
  name: children
63
96
  label: "Child documents"
97
+ hidden: true
64
98
  rdf: http://purl.org/dc/terms/isPartOf
65
- namesMentioned:
66
- label: "Mentioned names"
67
- type: name
68
- ibanMentioned:
69
- label: "IBANs"
70
- type: iban
71
- ipMentioned:
72
- label: "IP addresses"
73
- type: ip
74
- locationMentioned:
75
- label: "Locations"
76
- type: address
77
- phoneMentioned:
78
- label: "Phone numbers"
79
- type: phone
80
- emailMentioned:
81
- label: "E-Mail addresses"
82
- type: email
83
- # Not included:
84
- # * pdf version
85
- # * columns
86
- # * headers
87
-
88
-
89
- PlainText:
90
- # Text files, like .txt or source code.
91
- extends: Document
92
- label: Text file
93
- plural: Text files
94
- icon: fa-file-text-o
95
- hidden: true
96
- matchable: false
97
-
98
- Pages:
99
- # Like PDF, word document, ...
100
- extends: Document
101
- label: Document
102
- plural: Documents
103
- icon: fa-file-pdf-o
104
- hidden: true
105
- matchable: false
106
-
107
- Folder:
108
- extends: Document
109
- label: Folder
110
- plural: Folders
111
- icon: fa-folder
112
- hidden: true
113
- matchable: false
114
-
115
- Package:
116
- extends: Folder
117
- label: Package
118
- plural: Packages
119
- icon: fa-file-archive-o
120
- hidden: true
121
- matchable: false
122
-
123
- Workbook:
124
- extends: Folder
125
- label: Workbook
126
- plural: Workbooks
127
- icon: fa-file-excel-o
128
- hidden: true
129
- matchable: false
130
-
131
- Image:
132
- extends: Document
133
- label: Image
134
- plural: Images
135
- icon: fa-file-image-o
136
- hidden: true
137
- matchable: false
138
-
139
- Video:
140
- extends: Document
141
- label: Video
142
- plural: Videos
143
- icon: fa-file-video-o
144
- hidden: true
145
- matchable: false
146
-
147
- Audio:
148
- extends: Document
149
- label: Audio
150
- plural: Audio files
151
- icon: fa-file-audio-o
152
- hidden: true
153
- matchable: false
154
-
155
- HyperText:
156
- # HTML document
157
- extends: Document
158
- label: Web page
159
- plural: Web pages
160
- icon: fa-file-code-o
161
- hidden: true
162
- matchable: false
163
-
164
- Email:
165
- extends:
166
- - Folder
167
- - PlainText
168
- - HyperText
169
- label: E-Mail
170
- plural: E-Mails
171
- icon: fa-envelope-o
172
- hidden: true
173
- matchable: false
174
- properties:
175
- messageId:
176
- label: "Message ID"
177
- description: "Message ID of an email; unique in most cases"
178
- type: identifier
179
- inReplyTo:
180
- label: "In Reply To"
181
- description: "Message IDs of the preceding emails in the thread"
182
- type: identifier
183
-
184
- Table:
185
- extends: Document
186
- label: Table
187
- plural: Tables
188
- icon: fa-table
189
- hidden: true
190
- matchable: false
99
+ ancestors:
100
+ label: "Ancestors"
101
+ type: entity
102
+ hidden: true
103
+ range: Folder
104
+ reverse:
105
+ name: descendants
106
+ hidden: true
107
+ label: "Descendants"
108
+ processingStatus:
109
+ label: "Processing status"
110
+ hidden: true
111
+ processingError:
112
+ label: "Processing error"
113
+ hidden: true
114
+ processingAgent:
115
+ label: "Processing agent"
116
+ description: "Name and version of the processing agent used to process the Document"
117
+ type: string
118
+ processedAt:
119
+ label: "Processed at"
120
+ description: "Date and time of the most recent ingestion of the Document"
121
+ type: date
122
+ matchable: false
123
+ hidden: true
@@ -0,0 +1,38 @@
1
+ Documentation:
2
+ label: "Documentation"
3
+ plural: "Documentations"
4
+ description: >
5
+ Links some entity to a document, which might provide further detail or
6
+ evidence regarding the entity.
7
+ extends:
8
+ - Interest
9
+ matchable: false
10
+ featured:
11
+ - document
12
+ - entity
13
+ - role
14
+ required:
15
+ - document
16
+ - entity
17
+ edge:
18
+ source: document
19
+ label: "documents"
20
+ target: entity
21
+ directed: false
22
+ caption:
23
+ - role
24
+ properties:
25
+ document:
26
+ label: "Document"
27
+ reverse:
28
+ name: relatedEntities
29
+ label: "Related entities"
30
+ type: entity
31
+ range: Document
32
+ entity:
33
+ label: "Entity"
34
+ reverse:
35
+ name: documentedBy
36
+ label: "Documents"
37
+ type: entity
38
+ range: Thing