@yottagraph-app/aether-instructions 1.1.7 → 1.1.9
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.
- package/commands/build_my_app.md +2 -2
- package/commands/update_instructions.md +30 -23
- package/package.json +1 -1
- package/rules/aether.mdc +1 -1
- package/rules/api.mdc +10 -15
- package/skills/data-model/SKILL.md +58 -0
- package/skills/data-model/edgar/DATA_DICTIONARY.md +306 -0
- package/skills/data-model/edgar/schema.yaml +1893 -0
- package/skills/data-model/fdic/DATA_DICTIONARY.md +243 -0
- package/skills/data-model/fdic/schema.yaml +356 -0
- package/skills/data-model/fred/DATA_DICTIONARY.md +313 -0
- package/skills/data-model/fred/schema.yaml +155 -0
- package/skills/data-model/gleif/DATA_DICTIONARY.md +211 -0
- package/skills/data-model/gleif/schema.yaml +254 -0
- package/skills/data-model/newsdata/schema.yaml +650 -0
- package/skills/data-model/overview.md +77 -0
- package/skills/data-model/polymarket/DATA_DICTIONARY.md +384 -0
- package/skills/data-model/polymarket/schema.yaml +601 -0
- package/skills/data-model/sanctions/DATA_DICTIONARY.md +140 -0
- package/skills/data-model/sanctions/schema.yaml +153 -0
- package/skills/data-model/stocks/DATA_DICTIONARY.md +122 -0
- package/skills/data-model/stocks/schema.yaml +131 -0
- package/skills/data-model/system_schema.yaml +71 -0
- package/skills/data-model/wikipedia/DATA_DICTIONARY.md +185 -0
- package/skills/data-model/wikipedia/schema.yaml +255 -0
- package/skills/elemental-api/SKILL.md +37 -0
- package/skills/elemental-api/articles.md +386 -0
- package/skills/elemental-api/entities.md +393 -0
- package/skills/elemental-api/events.md +145 -0
- package/skills/elemental-api/find.md +279 -0
- package/skills/elemental-api/graph.md +239 -0
- package/skills/elemental-api/llm.md +18 -0
- package/skills/elemental-api/overview.md +51 -0
- package/skills/elemental-api/relationships.md +310 -0
- package/skills/elemental-api/schema.md +379 -0
- package/skills/elemental-api/sentiment.md +93 -0
- package/skills/elemental-api/server.md +186 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
# Data Dictionary: Wikipedia
|
|
2
|
+
|
|
3
|
+
## Source Overview
|
|
4
|
+
|
|
5
|
+
Wikipedia is a multilingual open encyclopedia. This source extracts biographical, geographic, and organizational entities from English Wikipedia (`en.wikipedia.org`), producing a `wikipedia_summary` property containing the article's introductory paragraph.
|
|
6
|
+
|
|
7
|
+
Entity classification is performed using the Wikidata truthy dump — each Wikipedia article links to a Wikidata item via a QID (e.g., Q42 = Douglas Adams), and the Wikidata P31 (instance of) property provides structured type information. Summaries are fetched via the MediaWiki API's `extracts` module, which returns clean plaintext intro sections.
|
|
8
|
+
|
|
9
|
+
No LLM calls are used in this pipeline. All extraction is deterministic.
|
|
10
|
+
|
|
11
|
+
| Pipeline | `Record.Source` |
|
|
12
|
+
|----------|----------------|
|
|
13
|
+
| All entities | `wikipedia` |
|
|
14
|
+
|
|
15
|
+
**Update cadence:** Initial load processes a Wikidata truthy dump plus SQL dumps for classification (~1-2 hours offline), then fetches summaries via the MediaWiki API (~2 days for ~3-4M entities). Incremental updates poll the Wikipedia RecentChanges API on a configurable interval (e.g., daily) and re-fetch summaries for changed articles.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Entity Types
|
|
20
|
+
|
|
21
|
+
### `person`
|
|
22
|
+
|
|
23
|
+
A human being with an English Wikipedia article, classified via Wikidata P31 = Q5 (human).
|
|
24
|
+
|
|
25
|
+
- Primary key: `wikidata_qid`
|
|
26
|
+
- Entity resolver: named entity, mergeable. Strong ID = `wikidata_qid`.
|
|
27
|
+
|
|
28
|
+
### `location`
|
|
29
|
+
|
|
30
|
+
A geographic entity (city, country, sovereign state, town, village, settlement, etc.) with an English Wikipedia article, classified via Wikidata P31 matching location-related types (Q515, Q6256, Q3624078, Q532, Q3957, Q486972, etc.).
|
|
31
|
+
|
|
32
|
+
- Primary key: `wikidata_qid`
|
|
33
|
+
- Entity resolver: named entity, mergeable. Strong ID = `wikidata_qid`.
|
|
34
|
+
|
|
35
|
+
### `organization`
|
|
36
|
+
|
|
37
|
+
A company, business, institution, or organizational entity with an English Wikipedia article, classified via Wikidata P31 matching organization-related types (Q43229, Q4830453, Q783794, Q6881511, Q891723, etc.).
|
|
38
|
+
|
|
39
|
+
- Primary key: `wikidata_qid`
|
|
40
|
+
- Entity resolver: named entity, mergeable. Strong ID = `wikidata_qid`.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Properties
|
|
45
|
+
|
|
46
|
+
### Shared Properties (all entity types)
|
|
47
|
+
|
|
48
|
+
#### Identity
|
|
49
|
+
|
|
50
|
+
* `wikidata_qid`
|
|
51
|
+
* Definition: Wikidata item identifier. Globally unique, stable, never reused.
|
|
52
|
+
* Examples: `"Q42"` (Douglas Adams), `"Q62"` (San Francisco), `"Q312"` (Apple Inc.)
|
|
53
|
+
* Derivation: From Wikidata truthy dump (initial load) or MediaWiki API `pageprops.wikibase_item` (incremental updates).
|
|
54
|
+
|
|
55
|
+
* `wikibase_shortdesc`
|
|
56
|
+
* Definition: Short human-readable description from Wikidata, typically one line summarizing what the entity is.
|
|
57
|
+
* Examples: `"English author, humorist, and screenwriter"` (Q42), `"City and county in California, United States"` (Q62), `"American multinational technology company"` (Q312)
|
|
58
|
+
* Derivation: From `page_props.sql.gz` dump field `wikibase-shortdesc` (initial load) or MediaWiki API `pageprops` with `ppprop=wikibase-shortdesc` (incremental updates).
|
|
59
|
+
|
|
60
|
+
#### Content
|
|
61
|
+
|
|
62
|
+
* `wikipedia_summary`
|
|
63
|
+
* Definition: The first paragraph of the entity's English Wikipedia article intro, in plain text.
|
|
64
|
+
* Examples:
|
|
65
|
+
* (Douglas Adams) `"Douglas Noël Adams (11 March 1952 – 11 May 2001) was an English author, humorist, and screenwriter, best known as the creator of The Hitchhiker's Guide to the Galaxy. Originally a 1978 BBC radio comedy, The Hitchhiker's Guide to the Galaxy evolved into a \"trilogy\" of six books..."`
|
|
66
|
+
* (San Francisco) `"San Francisco, officially the City and County of San Francisco, is the fourth-most populous city in California and the 17th-most populous in the United States..."`
|
|
67
|
+
* Derivation: From the full intro text (MediaWiki API or XML dump extraction), split at the first paragraph break.
|
|
68
|
+
|
|
69
|
+
* `wikipedia_extended_summary`
|
|
70
|
+
* Definition: The remaining paragraphs of the entity's English Wikipedia article intro beyond the first paragraph, in plain text. Empty for articles with only a single introductory paragraph.
|
|
71
|
+
* Examples:
|
|
72
|
+
* (Albert Einstein, paragraph 2) `"Born in the German Empire, Einstein moved to Switzerland in 1895, forsaking his German citizenship the following year..."`
|
|
73
|
+
* Derivation: Paragraphs 2+ of the intro text, after splitting off the first paragraph for `wikipedia_summary`.
|
|
74
|
+
|
|
75
|
+
### Snippet
|
|
76
|
+
|
|
77
|
+
The snippet combines the Wikidata short description with the first sentence(s) of the article in the format: `"{wikibase_shortdesc} | {first sentence(s)}"`. Sentences are accumulated until the total snippet reaches ~300 characters. This format gives immediate topical context from the short description plus grounding detail from the article itself.
|
|
78
|
+
|
|
79
|
+
Example (Apple Inc.): `"American multinational technology company | Apple Inc. is an American multinational technology company headquartered in Cupertino, California, in Silicon Valley, best known for its consumer electronics, software and online services."`
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Entity Relationships
|
|
84
|
+
|
|
85
|
+
Relationships are extracted from Wikidata P-properties in the truthy dump. Each
|
|
86
|
+
relationship connects a subject entity to a target entity, both of which must be
|
|
87
|
+
classified (person, location, or organization). All extraction is deterministic.
|
|
88
|
+
|
|
89
|
+
### Person → Location
|
|
90
|
+
|
|
91
|
+
| Relationship | P-property | Example |
|
|
92
|
+
|---|---|---|
|
|
93
|
+
| `born_in` | P19 (place of birth) | Albert Einstein → born_in → Ulm |
|
|
94
|
+
| `died_in` | P20 (place of death) | Albert Einstein → died_in → Princeton |
|
|
95
|
+
| `citizen_of` | P27 (country of citizenship) | Albert Einstein → citizen_of → Germany |
|
|
96
|
+
| `resides_in` | P551 (residence) | Albert Einstein → resides_in → Princeton |
|
|
97
|
+
|
|
98
|
+
### Person → Organization
|
|
99
|
+
|
|
100
|
+
| Relationship | P-property | Example |
|
|
101
|
+
|---|---|---|
|
|
102
|
+
| `educated_at` | P69 (educated at) | Albert Einstein → educated_at → ETH Zurich |
|
|
103
|
+
| `employed_by` | P108 (employer) | Albert Einstein → employed_by → Institute for Advanced Study |
|
|
104
|
+
| `member_of` | P102, P54, P463 | Barack Obama → member_of → Democratic Party |
|
|
105
|
+
|
|
106
|
+
### Person → Person
|
|
107
|
+
|
|
108
|
+
| Relationship | P-property | Example |
|
|
109
|
+
|---|---|---|
|
|
110
|
+
| `has_father` | P22 (father) | — |
|
|
111
|
+
| `has_mother` | P25 (mother) | — |
|
|
112
|
+
| `spouse_of` | P26 (spouse) | — |
|
|
113
|
+
| `parent_of` | P40 (child) | — |
|
|
114
|
+
|
|
115
|
+
### Organization → Location
|
|
116
|
+
|
|
117
|
+
| Relationship | P-property | Example |
|
|
118
|
+
|---|---|---|
|
|
119
|
+
| `headquartered_in` | P159 (headquarters location) | Apple Inc. → headquartered_in → Cupertino |
|
|
120
|
+
| `in_country` | P17 (country) | Apple Inc. → in_country → United States |
|
|
121
|
+
| `located_in` | P131, P276 (admin territory, location) | Berlin → located_in → Germany |
|
|
122
|
+
|
|
123
|
+
### Organization → Organization
|
|
124
|
+
|
|
125
|
+
| Relationship | P-property | Example |
|
|
126
|
+
|---|---|---|
|
|
127
|
+
| `subsidiary_of` | P749 (parent organization) | Instagram → subsidiary_of → Meta |
|
|
128
|
+
| `parent_org_of` | P355 (subsidiary) | Meta → parent_org_of → Instagram |
|
|
129
|
+
| `owned_by` | P127 (owned by) | — |
|
|
130
|
+
|
|
131
|
+
### Organization → Person
|
|
132
|
+
|
|
133
|
+
| Relationship | P-property | Example |
|
|
134
|
+
|---|---|---|
|
|
135
|
+
| `founded_by` | P112 (founded by) | Apple Inc. → founded_by → Steve Jobs |
|
|
136
|
+
| `has_ceo` | P169 (CEO) | Apple Inc. → has_ceo → Tim Cook |
|
|
137
|
+
|
|
138
|
+
### Location → Location
|
|
139
|
+
|
|
140
|
+
| Relationship | P-property | Example |
|
|
141
|
+
|---|---|---|
|
|
142
|
+
| `in_country` | P17 (country) | Berlin → in_country → Germany |
|
|
143
|
+
| `located_in` | P131 (admin territory) | Berlin → located_in → Brandenburg |
|
|
144
|
+
| `has_capital` | P36 (capital) | Germany → has_capital → Berlin |
|
|
145
|
+
| `contains` | P150 (contains admin territory) | Germany → contains → Bavaria |
|
|
146
|
+
| `borders` | P47 (shares border with) | Germany → borders → France |
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Classification Reference
|
|
151
|
+
|
|
152
|
+
### Person (P31 target types)
|
|
153
|
+
|
|
154
|
+
| QID | Label |
|
|
155
|
+
|-----|-------|
|
|
156
|
+
| Q5 | human |
|
|
157
|
+
|
|
158
|
+
### Location (P31 target types)
|
|
159
|
+
|
|
160
|
+
| QID | Label |
|
|
161
|
+
|-----|-------|
|
|
162
|
+
| Q515 | city |
|
|
163
|
+
| Q6256 | country |
|
|
164
|
+
| Q3624078 | sovereign state |
|
|
165
|
+
| Q35657 | state of the United States |
|
|
166
|
+
| Q532 | village |
|
|
167
|
+
| Q3957 | town |
|
|
168
|
+
| Q486972 | human settlement |
|
|
169
|
+
| Q1549591 | big city |
|
|
170
|
+
| Q1093829 | city of the United States |
|
|
171
|
+
|
|
172
|
+
### Organization (P31 target types)
|
|
173
|
+
|
|
174
|
+
| QID | Label |
|
|
175
|
+
|-----|-------|
|
|
176
|
+
| Q43229 | organization |
|
|
177
|
+
| Q4830453 | business |
|
|
178
|
+
| Q783794 | company |
|
|
179
|
+
| Q6881511 | enterprise |
|
|
180
|
+
| Q891723 | public company |
|
|
181
|
+
| Q161726 | multinational corporation |
|
|
182
|
+
| Q163740 | nonprofit organization |
|
|
183
|
+
| Q484652 | international organization |
|
|
184
|
+
| Q3918 | university |
|
|
185
|
+
| Q327333 | government agency |
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
# Dataset schema for Wikipedia entity data.
|
|
2
|
+
#
|
|
3
|
+
# Entities are classified by type using Wikidata P31 (instance of) from the
|
|
4
|
+
# truthy dump. Summaries are fetched via the MediaWiki API. All elements are
|
|
5
|
+
# passive — deterministic extraction, no LLM.
|
|
6
|
+
name: "wikipedia"
|
|
7
|
+
description: "People, locations, and organizations from English Wikipedia with introductory summaries and Wikidata identifiers"
|
|
8
|
+
|
|
9
|
+
extraction:
|
|
10
|
+
flavors: closed
|
|
11
|
+
properties: closed
|
|
12
|
+
relationships: closed
|
|
13
|
+
attributes: closed
|
|
14
|
+
events: closed
|
|
15
|
+
|
|
16
|
+
flavors:
|
|
17
|
+
- name: "person"
|
|
18
|
+
description: "A real person as opposed to a fictional character, such as a CEO, politician, or public figure"
|
|
19
|
+
display_name: "Person"
|
|
20
|
+
mergeability: not_mergeable
|
|
21
|
+
strong_id_properties: ["wikidata_qid"]
|
|
22
|
+
passive: true
|
|
23
|
+
|
|
24
|
+
- name: "location"
|
|
25
|
+
description: "A specific named geographic location such as a city, country, region, or landmark"
|
|
26
|
+
display_name: "Location"
|
|
27
|
+
mergeability: not_mergeable
|
|
28
|
+
strong_id_properties: ["wikidata_qid"]
|
|
29
|
+
passive: true
|
|
30
|
+
|
|
31
|
+
- name: "organization"
|
|
32
|
+
description: "A particular business, institution, or organization such as a corporation, university, government agency, or non-profit"
|
|
33
|
+
display_name: "Organization"
|
|
34
|
+
mergeability: not_mergeable
|
|
35
|
+
strong_id_properties: ["wikidata_qid"]
|
|
36
|
+
passive: true
|
|
37
|
+
|
|
38
|
+
properties:
|
|
39
|
+
- name: "wikidata_qid"
|
|
40
|
+
type: string
|
|
41
|
+
description: "Wikidata item identifier, globally unique and stable"
|
|
42
|
+
display_name: "Wikidata QID"
|
|
43
|
+
mergeability: not_mergeable
|
|
44
|
+
domain_flavors: ["person", "location", "organization"]
|
|
45
|
+
examples: ["Q42", "Q62", "Q312"]
|
|
46
|
+
passive: true
|
|
47
|
+
|
|
48
|
+
- name: "wikibase_shortdesc"
|
|
49
|
+
type: string
|
|
50
|
+
description: "Short human-readable description from Wikidata summarizing what the entity is"
|
|
51
|
+
display_name: "Short Description"
|
|
52
|
+
mergeability: not_mergeable
|
|
53
|
+
domain_flavors: ["person", "location", "organization"]
|
|
54
|
+
examples: ["English author, humorist, and screenwriter", "City and county in California, United States", "American multinational technology company"]
|
|
55
|
+
passive: true
|
|
56
|
+
|
|
57
|
+
- name: "wikipedia_summary"
|
|
58
|
+
type: string
|
|
59
|
+
description: "First paragraph of the entity's English Wikipedia article intro in plain text"
|
|
60
|
+
display_name: "Wikipedia Summary"
|
|
61
|
+
mergeability: not_mergeable
|
|
62
|
+
domain_flavors: ["person", "location", "organization"]
|
|
63
|
+
passive: true
|
|
64
|
+
|
|
65
|
+
- name: "wikipedia_extended_summary"
|
|
66
|
+
type: string
|
|
67
|
+
description: "Remaining paragraphs of the Wikipedia article intro beyond the first paragraph, in plain text"
|
|
68
|
+
display_name: "Wikipedia Extended Summary"
|
|
69
|
+
mergeability: not_mergeable
|
|
70
|
+
domain_flavors: ["person", "location", "organization"]
|
|
71
|
+
passive: true
|
|
72
|
+
|
|
73
|
+
relationships:
|
|
74
|
+
# Person → Location
|
|
75
|
+
- name: "born_in"
|
|
76
|
+
description: "Place where the person was born (Wikidata P19)"
|
|
77
|
+
display_name: "Born In"
|
|
78
|
+
mergeability: not_mergeable
|
|
79
|
+
domain_flavors: ["person"]
|
|
80
|
+
target_flavors: ["location"]
|
|
81
|
+
passive: true
|
|
82
|
+
|
|
83
|
+
- name: "died_in"
|
|
84
|
+
description: "Place where the person died (Wikidata P20)"
|
|
85
|
+
display_name: "Died In"
|
|
86
|
+
mergeability: not_mergeable
|
|
87
|
+
domain_flavors: ["person"]
|
|
88
|
+
target_flavors: ["location"]
|
|
89
|
+
passive: true
|
|
90
|
+
|
|
91
|
+
- name: "citizen_of"
|
|
92
|
+
description: "Country of citizenship (Wikidata P27)"
|
|
93
|
+
display_name: "Citizen Of"
|
|
94
|
+
mergeability: not_mergeable
|
|
95
|
+
domain_flavors: ["person"]
|
|
96
|
+
target_flavors: ["location"]
|
|
97
|
+
passive: true
|
|
98
|
+
|
|
99
|
+
- name: "resides_in"
|
|
100
|
+
description: "Place of residence (Wikidata P551)"
|
|
101
|
+
display_name: "Resides In"
|
|
102
|
+
mergeability: not_mergeable
|
|
103
|
+
domain_flavors: ["person"]
|
|
104
|
+
target_flavors: ["location"]
|
|
105
|
+
passive: true
|
|
106
|
+
|
|
107
|
+
# Person → Organization
|
|
108
|
+
- name: "educated_at"
|
|
109
|
+
description: "Educational institution attended (Wikidata P69)"
|
|
110
|
+
display_name: "Educated At"
|
|
111
|
+
mergeability: not_mergeable
|
|
112
|
+
domain_flavors: ["person"]
|
|
113
|
+
target_flavors: ["organization"]
|
|
114
|
+
passive: true
|
|
115
|
+
|
|
116
|
+
- name: "employed_by"
|
|
117
|
+
description: "Organization that employs or employed the person (Wikidata P108)"
|
|
118
|
+
display_name: "Employed By"
|
|
119
|
+
mergeability: not_mergeable
|
|
120
|
+
domain_flavors: ["person"]
|
|
121
|
+
target_flavors: ["organization"]
|
|
122
|
+
passive: true
|
|
123
|
+
|
|
124
|
+
- name: "member_of"
|
|
125
|
+
description: "Organization the person is or was a member of, including political parties and sports teams (Wikidata P102, P54, P463)"
|
|
126
|
+
display_name: "Member Of"
|
|
127
|
+
mergeability: not_mergeable
|
|
128
|
+
domain_flavors: ["person"]
|
|
129
|
+
target_flavors: ["organization"]
|
|
130
|
+
passive: true
|
|
131
|
+
|
|
132
|
+
# Person → Person
|
|
133
|
+
- name: "has_father"
|
|
134
|
+
description: "The person's father (Wikidata P22)"
|
|
135
|
+
display_name: "Has Father"
|
|
136
|
+
mergeability: not_mergeable
|
|
137
|
+
domain_flavors: ["person"]
|
|
138
|
+
target_flavors: ["person"]
|
|
139
|
+
passive: true
|
|
140
|
+
|
|
141
|
+
- name: "has_mother"
|
|
142
|
+
description: "The person's mother (Wikidata P25)"
|
|
143
|
+
display_name: "Has Mother"
|
|
144
|
+
mergeability: not_mergeable
|
|
145
|
+
domain_flavors: ["person"]
|
|
146
|
+
target_flavors: ["person"]
|
|
147
|
+
passive: true
|
|
148
|
+
|
|
149
|
+
- name: "spouse_of"
|
|
150
|
+
description: "The person's spouse or partner (Wikidata P26)"
|
|
151
|
+
display_name: "Spouse Of"
|
|
152
|
+
mergeability: not_mergeable
|
|
153
|
+
domain_flavors: ["person"]
|
|
154
|
+
target_flavors: ["person"]
|
|
155
|
+
passive: true
|
|
156
|
+
|
|
157
|
+
- name: "parent_of"
|
|
158
|
+
description: "The person's child (Wikidata P40)"
|
|
159
|
+
display_name: "Parent Of"
|
|
160
|
+
mergeability: not_mergeable
|
|
161
|
+
domain_flavors: ["person"]
|
|
162
|
+
target_flavors: ["person"]
|
|
163
|
+
passive: true
|
|
164
|
+
|
|
165
|
+
# Organization/Location → Location
|
|
166
|
+
- name: "headquartered_in"
|
|
167
|
+
description: "Location of the organization's headquarters (Wikidata P159)"
|
|
168
|
+
display_name: "Headquartered In"
|
|
169
|
+
mergeability: not_mergeable
|
|
170
|
+
domain_flavors: ["organization"]
|
|
171
|
+
target_flavors: ["location"]
|
|
172
|
+
passive: true
|
|
173
|
+
|
|
174
|
+
- name: "in_country"
|
|
175
|
+
description: "Country the entity is associated with (Wikidata P17)"
|
|
176
|
+
display_name: "In Country"
|
|
177
|
+
mergeability: not_mergeable
|
|
178
|
+
domain_flavors: ["organization", "location"]
|
|
179
|
+
target_flavors: ["location"]
|
|
180
|
+
passive: true
|
|
181
|
+
|
|
182
|
+
- name: "located_in"
|
|
183
|
+
description: "Administrative territory or location the entity is situated in (Wikidata P131, P276)"
|
|
184
|
+
display_name: "Located In"
|
|
185
|
+
mergeability: not_mergeable
|
|
186
|
+
domain_flavors: ["organization", "location"]
|
|
187
|
+
target_flavors: ["location"]
|
|
188
|
+
passive: true
|
|
189
|
+
|
|
190
|
+
# Organization → Organization
|
|
191
|
+
- name: "subsidiary_of"
|
|
192
|
+
description: "Parent organization (Wikidata P749)"
|
|
193
|
+
display_name: "Subsidiary Of"
|
|
194
|
+
mergeability: not_mergeable
|
|
195
|
+
domain_flavors: ["organization"]
|
|
196
|
+
target_flavors: ["organization"]
|
|
197
|
+
passive: true
|
|
198
|
+
|
|
199
|
+
- name: "parent_org_of"
|
|
200
|
+
description: "Subsidiary organization (Wikidata P355)"
|
|
201
|
+
display_name: "Parent Org Of"
|
|
202
|
+
mergeability: not_mergeable
|
|
203
|
+
domain_flavors: ["organization"]
|
|
204
|
+
target_flavors: ["organization"]
|
|
205
|
+
passive: true
|
|
206
|
+
|
|
207
|
+
- name: "owned_by"
|
|
208
|
+
description: "Owner of the organization (Wikidata P127)"
|
|
209
|
+
display_name: "Owned By"
|
|
210
|
+
mergeability: not_mergeable
|
|
211
|
+
domain_flavors: ["organization"]
|
|
212
|
+
target_flavors: ["organization", "person"]
|
|
213
|
+
passive: true
|
|
214
|
+
|
|
215
|
+
# Organization → Person
|
|
216
|
+
- name: "founded_by"
|
|
217
|
+
description: "Person who founded the organization (Wikidata P112)"
|
|
218
|
+
display_name: "Founded By"
|
|
219
|
+
mergeability: not_mergeable
|
|
220
|
+
domain_flavors: ["organization"]
|
|
221
|
+
target_flavors: ["person"]
|
|
222
|
+
passive: true
|
|
223
|
+
|
|
224
|
+
- name: "has_ceo"
|
|
225
|
+
description: "Chief executive officer of the organization (Wikidata P169)"
|
|
226
|
+
display_name: "Has CEO"
|
|
227
|
+
mergeability: not_mergeable
|
|
228
|
+
domain_flavors: ["organization"]
|
|
229
|
+
target_flavors: ["person"]
|
|
230
|
+
passive: true
|
|
231
|
+
|
|
232
|
+
# Location → Location
|
|
233
|
+
- name: "has_capital"
|
|
234
|
+
description: "Capital city or seat of government (Wikidata P36)"
|
|
235
|
+
display_name: "Has Capital"
|
|
236
|
+
mergeability: not_mergeable
|
|
237
|
+
domain_flavors: ["location"]
|
|
238
|
+
target_flavors: ["location"]
|
|
239
|
+
passive: true
|
|
240
|
+
|
|
241
|
+
- name: "contains"
|
|
242
|
+
description: "Administrative territory contained within this location (Wikidata P150)"
|
|
243
|
+
display_name: "Contains"
|
|
244
|
+
mergeability: not_mergeable
|
|
245
|
+
domain_flavors: ["location"]
|
|
246
|
+
target_flavors: ["location"]
|
|
247
|
+
passive: true
|
|
248
|
+
|
|
249
|
+
- name: "borders"
|
|
250
|
+
description: "Location that shares a border with this one (Wikidata P47)"
|
|
251
|
+
display_name: "Borders"
|
|
252
|
+
mergeability: not_mergeable
|
|
253
|
+
domain_flavors: ["location"]
|
|
254
|
+
target_flavors: ["location"]
|
|
255
|
+
passive: true
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: elemental-api
|
|
3
|
+
description: Query the Elemental API for entity discovery, search, and metadata. Use with the Lovelace News Query Server.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Elemental API
|
|
7
|
+
|
|
8
|
+
This skill provides documentation for the Lovelace Elemental API, the primary interface for querying the Lovelace Knowledge Graph.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when you need to:
|
|
13
|
+
- Look up entities (companies, people, organizations) by name or ID
|
|
14
|
+
- Get sentiment analysis for entities over time
|
|
15
|
+
- Find news mentions and articles about entities
|
|
16
|
+
- Explore relationships and connections between entities
|
|
17
|
+
- Retrieve events involving specific entities
|
|
18
|
+
- Build knowledge graphs of entity networks
|
|
19
|
+
|
|
20
|
+
## Quick Start
|
|
21
|
+
|
|
22
|
+
1. **Find an entity**: Use `entities.md` to look up a company or person by name and get their NEID (Named Entity ID)
|
|
23
|
+
2. **Get information**: Use the NEID to query sentiment, mentions, relationships, or events
|
|
24
|
+
3. **Dive deeper**: Retrieve full article details or explore connected entities
|
|
25
|
+
|
|
26
|
+
## Files in This Skill
|
|
27
|
+
|
|
28
|
+
See [overview.md](overview.md) for descriptions of each endpoint category:
|
|
29
|
+
- `entities.md` - Entity search, details, and properties
|
|
30
|
+
- `find.md` - Expression language for searching entities by type, property values, and relationships
|
|
31
|
+
- `schema.md` - Data model: entity types (flavors), properties, and schema endpoints
|
|
32
|
+
- `sentiment.md` - Sentiment analysis
|
|
33
|
+
- `articles.md` - Articles mentioning entities and full article content
|
|
34
|
+
- `events.md` - Events involving entities
|
|
35
|
+
- `relationships.md` - Entity connections
|
|
36
|
+
- `graph.md` - Visual graph generation
|
|
37
|
+
- `server.md` - Server status and health
|