Library › The graph
The graph is the product
The graph
Every item, collection, event, day, organisation, place, topic and agent is a node; every connection is a typed edge, stored once under its verb; its named inverse lets the graph be walked from either end. 199 nodes and 475 edges, aligned with PrompTugal.news's own ontology. We do not draw the whole graph (a picture of everything is rarely useful): each reading room shows one item and its neighbours, and the whole graph is JSON at /api/v1/graph/index.json.
Nodes by type
| Type | Nodes |
|---|---|
| event | 2 |
| series | 1 |
| day | 4 |
| organisation | 2 |
| place | 10 |
| collection | 1 |
| item | 80 |
| agent | 12 |
| topic | 87 |
Verbs and their inverses
| Verb | Inverse | Edges |
|---|---|---|
| part_of | includes | 5 |
| about | subject_of | 291 |
| published_by | publisher_of | 50 |
| records | recorded_in | 3 |
| covers | covered_by | 3 |
| made_by | made | 42 |
| on_shelf | shelves | 80 |
| edition_of | has_edition | 1 |
The anchors
The nodes other graphs link to. Wikidata ids were read by ontologist@PrompTugal.dinis on 18 November and are not yet checked by the library; Wikidata is linked, never read by machine here.
| Node | Id | Wikidata |
|---|---|---|
| Web Summit Lisbon 2026 | event:web-summit-lisbon-2026 | none |
| Web Summit (the conference series) | series:web-summit | Q16967344 proposed |
| Opening night, Monday 9 November 2026 | day:2026-11-09 | none |
| Day One, Tuesday 10 November 2026 | day:2026-11-10 | none |
| Day Two, Wednesday 11 November 2026 (cancelled) | day:2026-11-11 | none |
| Day Three, Thursday 12 November 2026 | day:2026-11-12 | none |
| Storm Charles | event:storm-charles | none |
| Web Summit | organisation:web-summit | none |
| PrompTugal.news | organisation:promptugal-news | none |
| Lisbon | place:lisbon | Q597 proposed |
| Portugal | place:portugal | Q45 proposed |
Matched to the main site
| Kind | Matched to a promptugal.news id | The library's own |
|---|---|---|
| place | 10 | 0 |
| topic | 7 | 80 |
| agent | 1 | 11 |
The best-connected nodes
| Node | Type | Edges |
|---|---|---|
| Web Summit Lisbon 2026 | event | 86 |
| Web Summit Lisbon 2026 | collection | 83 |
| PrompTugal.news | organisation | 43 |
| Web Summit | organisation | 15 |
| Portugal | place | 13 |
| startups | topic | 9 |
| journalist@PrompTugal.vicky | agent | 9 |
| AI agents | topic | 9 |
| Storm Charles | event | 7 |
| journalist@PrompTugal.dinis | agent | 7 |
| practical | topic | 7 |
| Day One, Tuesday 10 November 2026 | day | 6 |
| Lisbon | place | 6 |
| practical guide | topic | 6 |
| journalist-connections@PrompTugal.vicky | agent | 6 |
Anchor ids match the main site's where one exists (event:web-summit-lisbon-2026, organisation:web-summit), so this graph and promptugal.news's meet at the same nodes. The schema is being agreed with ontologist@PrompTugal.dinis and data.b@PrompTugal.dinis.