Main Page: Difference between revisions
Appearance
Content deleted Content added
Importing NeoWiki demo data |
Importing NeoWiki demo data |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="padding:24px 16px;background:var(--background-color-interactive-subtle, #eaecf0);border:1px solid var(--border-color-subtle, #c8ccd1);border-radius:2px;margin-block:1em"> |
|||
<div style="max-width:1200px; font-size: 1.15rem"> |
|||
<div style="font-size:1.5rem;font-weight:600;line-height:1.25;color:var(--color-base, #202122);max-width:800px">NeoWiki turns wiki pages into queryable structured data</div> |
|||
Welcome to the NeoWiki demo wiki! |
|||
<div style="color:var(--color-subtle, #54595d);max-width:560px;margin-top:4px">Schemas, infoboxes, relations, and Cypher, native to MediaWiki.</div> |
|||
NeoWiki turns your wiki into a collaborative graph database by letting you store and query structured information. |
|||
Information is stored in versioned document form inside of wiki pages. The latest version is also stored in |
|||
graph databases via which it can be queried. |
|||
NeoWiki is in the experimental proof of concept phase. It is not production ready, public interfaces will change, |
|||
big structural changes will happen, and key functionality is still missing. |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
</div> |
</div> |
||
This is a public demo of NeoWiki, an early-stage MediaWiki extension. Explore the examples below, edit anything you like (it is a sandbox and resets periodically, so you cannot break it), and tell us what works and what is missing via the [https://github.com/ProfessionalWiki/NeoWiki/issues issue tracker] or by [https://professional.wiki/en/contact contacting Professional Wiki]. |
|||
== Discover NeoWiki Step by Step == |
|||
| ⚫ | |||
'''As a reader:''' |
|||
* View a Subject: [[Professional Wiki]] |
|||
* View a Schema: [[Schema:Company]] |
|||
'''As an editor:''' |
|||
| ⚫ | |||
* Edit a Subject: [[Professional Wiki]] (login required) |
|||
* Edit a Schema: either via a Subject using it, i.e. [[Professional Wiki]], or directly on the Schema page, i.e. [[Schema:Company]] |
|||
* Create a Subject: TODO |
|||
''' |
'''Just exploring''' |
||
* Structured data, queried in a page: [[Museum collection]] runs live graph queries over linked museums, artworks, and exhibitions. |
|||
* View Subject JSON: [[Special:NeoJson/ACME_Inc]] (developer UI, normal users will not see JSON. [https://github.com/ProfessionalWiki/NeoWiki/blob/master/docs/SubjectFormat.md View docs]) |
|||
* Several Subjects on one page: open the Data tab on [{{fullurl:Rijksmuseum|action=subjects}} Rijksmuseum] to see the museum and its yearly visitor records as separate Subjects. |
|||
* Query the graph database: [[Cypher|Cypher raw example]] |
|||
* Every Subject is shaped by a [[Special:Schemas|Schema]], and [[Special:Layouts|Layouts]] control how Subjects are displayed. |
|||
* [[#REST_API_endpoints|Explore the REST API]] |
|||
'''Trying it hands-on''' |
|||
| ⚫ | |||
* Edit through a form and watch it update live: [[Subject views]] shows one Subject in three layouts at once, with edits propagating between them. |
|||
* Simple page with automatic infobox and edit form: [[NeoWiki]], [[ProWiki]] |
|||
* See how a Schema constrains data, with required fields, value ranges, and formats: [[Validation Demo]]. |
|||
* Subject with relations: [[Professional Wiki]] |
|||
* Create your own: start any page, then use "Create subject" in the NeoWiki section of the sidebar. |
|||
* Multiple subjects per page: [[ACME Inc]] |
|||
* Wikibase Statement emulation: [[Berlin]] |
|||
* Displaying data from other pages: [[Company Infoboxes]] |
|||
* [[Reactive UI example]] |
|||
== Explore by use case == |
|||
'''Schemas''' allow you to define the structure of your data. For instance, you can define that a Employee has a |
|||
compensation in EUR with a value between 0 and 1000000. |
|||
{{#invoke:Card|cards| |
|||
* [[Schema:Company]] |
|||
card1_title=Museum collection |
|||
* [[Schema:Product]] |
|||
|card1_description=Connect institutions, artists, artworks, and exhibitions. |
|||
* [[Schema:Employee]] |
|||
|card1_link=Museum collection |
|||
* [[Schema:Everything]] |
|||
* [{{fullurl:Special:AllPages|from=&to=&namespace=7474}} View all schemas] |
|||
|card2_title=ACME Inc |
|||
== REST API endpoints == |
|||
|card2_description=Document a company's departments, products, and offices. |
|||
|card2_link=ACME Inc |
|||
|card3_title=Research catalog |
|||
We will have OpenAPI docs later. For now, you can find a complete and up-to-date list by looking at the |
|||
|card3_description=Track publications, authors, institutions, and projects. |
|||
[https://github.com/ProfessionalWiki/NeoWiki/blob/master/extension.json MediaWiki API route definitions]. |
|||
|card3_link=Research catalog |
|||
Search for "RestRoutes". |
|||
|card4_title=People and life events |
|||
Example URL: https://neowiki.dev/w/rest.php/neowiki/v0/subject/s1demo4sssssss1 |
|||
|card4_description=Model births as their own Subjects, in CIDOC CRM style. |
|||
|card4_link=People and life events |
|||
}} |
|||
== Build on it == |
|||
* [[Developers|Developers hub]]: Cypher, parser functions, the mw.neowiki Lua library, and the REST API, each with source shown alongside the rendered result. |
|||
* <code>GET /neowiki/v0/subject/{subjectId}</code> Gets the JSON definition of a subject |
|||
| ⚫ | |||
* <code>GET /neowiki/v0/schema/{schemaName}</code> Gets the JSON definition of a schema |
|||
| ⚫ | |||
| ⚫ | |||
== About this wiki == |
|||
'''NeoWiki''' is a MediaWiki extension for queryable structured data. See [https://neowiki.ai neowiki.ai] for downloads, documentation, and updates. |
|||
These require a CSRF token, first obtained via <code>api.php?action=query&format=json&meta=tokens&type=csrf</code> |
|||
NeoWiki is under active development: public interfaces and structure will continue to change, and this demo may be reset periodically. |
|||
* <code>POST /neowiki/v0/page/{pageId}/mainSubject</code> Creates a new main subject |
|||
* <code>POST /neowiki/v0/page/{pageId}/childSubjects</code> Creates a new child subject |
|||
* <code>PATCH /neowiki/v0/subject/{subjectId}</code> Updates a subject |
|||
* <code>DELETE /neowiki/v0/subject/{subjectId}</code> Deletes a subject |
|||
| ⚫ | |||
These endpoints are designed for the NeoWiki frontend. They are not a complete general purpose API yet. |
|||
* Follow NeoWiki: [https://mastodon.social/@NeoWiki Mastodon] · [https://bsky.app/profile/neowiki.bsky.social Bluesky] · [https://x.com/NeoWikiAI X] |
|||
Revision as of 09:10, 29 June 2026
NeoWiki turns wiki pages into queryable structured data
Schemas, infoboxes, relations, and Cypher, native to MediaWiki.
This is a public demo of NeoWiki, an early-stage MediaWiki extension. Explore the examples below, edit anything you like (it is a sandbox and resets periodically, so you cannot break it), and tell us what works and what is missing via the issue tracker or by contacting Professional Wiki.
Start here
Just exploring
- Structured data, queried in a page: Museum collection runs live graph queries over linked museums, artworks, and exhibitions.
- Several Subjects on one page: open the Data tab on Rijksmuseum to see the museum and its yearly visitor records as separate Subjects.
- Every Subject is shaped by a Schema, and Layouts control how Subjects are displayed.
Trying it hands-on
- Edit through a form and watch it update live: Subject views shows one Subject in three layouts at once, with edits propagating between them.
- See how a Schema constrains data, with required fields, value ranges, and formats: Validation Demo.
- Create your own: start any page, then use "Create subject" in the NeoWiki section of the sidebar.
Explore by use case
Museum collectionConnect institutions, artists, artworks, and exhibitions.ACME IncDocument a company's departments, products, and offices.Research catalogTrack publications, authors, institutions, and projects.People and life eventsModel births as their own Subjects, in CIDOC CRM style.
Build on it
- Developers hub: Cypher, parser functions, the mw.neowiki Lua library, and the REST API, each with source shown alongside the rendered result.
- Source on GitHub
- Technical documentation
- Issue tracker
About this wiki
NeoWiki is a MediaWiki extension for queryable structured data. See neowiki.ai for downloads, documentation, and updates.
NeoWiki is under active development: public interfaces and structure will continue to change, and this demo may be reset periodically.
- Contact Professional Wiki, the team behind NeoWiki
- Follow NeoWiki: Mastodon · Bluesky · X