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. It is thus similar to Wikibase and Semantic MediaWiki. NeoWiki was developed as a more user-friendly and sustainable alternative to those two softwares. |
|||
NeoWiki is still alpha software. Various features are incomplete or missing. This demo wiki exists so you can see the current state of NeoWiki and imagine what you could do with a further developed version of the software. |
|||
</div> |
</div> |
||
== |
== Explore by use case == |
||
* Simple page with automatic infobox and edit form: [[NeoWiki]], [[ProWiki]] |
|||
* Subject with relations: [[Professional Wiki]] |
|||
* Multiple subjects per page: [[F_capture_actuals]], [[ACME Inc]] |
|||
* Wikibase Statement emulation: [[Berlin]] |
|||
* Displaying data from other pages: [[Company Infoboxes]] |
|||
* [[Reactive UI example]] |
|||
* [[Cypher query examples]] |
|||
* [[Lua examples]] |
|||
=== Schemas === |
|||
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. |
|||
A finished version of NeoWiki would contain a dedicated editor for creating and modifying schemas. For now, you have |
|||
to edit the JSON directly. |
|||
You can create a new employee by doing to its schema page and clicking "create new employee" at the top. A finished |
|||
version of NeoWiki would allow you to create new subjects directly from the Visual Editor when editing a page. |
|||
* [[Schema:Company]] |
|||
* [[Schema:Product]] |
|||
* [[Schema:Employee]] |
|||
* [[Schema:Everything]] |
|||
* [{{fullurl:Special:AllPages|from=&to=&namespace=7474}} View all schemas] |
|||
== How To == |
|||
{{#invoke:Card|cards| |
|||
* '''Create a new Schema''': Create a new page with the prefix "Schema:" and the name of your schema. For instance, "Schema:MyExample". Creating and editing schemas requires elevated permissions. We can turn this off. |
|||
card1_title=Museum collection |
|||
|card1_description=Connect institutions, artists, artworks, and exhibitions. |
|||
|card1_link=Museum collection |
|||
|card2_title=ACME Inc |
|||
Technical |
|||
|card2_description=Document a company's departments, products, and offices. |
|||
|card2_link=ACME Inc |
|||
|card3_title=Research catalog |
|||
* '''View or edit Subject JSON directly''': NeoWiki can be used without understanding what JSON is, and the JSON is not normally shown. However, as a technical person, you can access it via the REST API or the "View or edit JSON" link at the bottom of pages with Subjects. The latter is a development utility that would not be available on production wikis. |
|||
|card3_description=Track publications, authors, institutions, and projects. |
|||
* '''View the data in Neo4j''': Head over to https://neo.professional.wiki:7474/ |
|||
|card3_link=Research catalog |
|||
}} |
|||
== |
== See how it works == |
||
* Subjects hold your structured data. A page can have multiple. See the Data tab. Example: [{{fullurl:Rijksmuseum|action=subjects}} Rijksmuseum] |
|||
Example URL: https://neo.professional.wiki/w/rest.php/neowiki/v0/subject/12345678-0000-0000-0000-000000000001 |
|||
* [[Special:Schemas]]. Every Subject is shaped by a Schema. View or manage Schemas via this list page. |
|||
* [[Special:Layouts]]. Customize the presentation of Subjects via Layouts. Example usage: [[Subject views]]. |
|||
== Build on it == |
|||
* [[Developers|Developers hub]]: Cypher, parser functions, Lua, REST API. |
|||
* <code>GET /neowiki/v0/subject/{subjectId}</code> Gets the JSON definition of a subject |
|||
* [https://github.com/ProfessionalWiki/NeoWiki Source on GitHub] |
|||
* <code>GET /neowiki/v0/schema/{schemaName}</code> Gets the JSON definition of a schema |
|||
* [https://github.com/ProfessionalWiki/NeoWiki/tree/master/docs Technical documentation] |
|||
* [https://github.com/ProfessionalWiki/NeoWiki/issues Issue tracker] |
|||
== 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. This demo wiki may be reset periodically, and edits may not persist. |
|||
* <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 |
|||
* [https://professional.wiki/en/contact Contact Professional Wiki] — the team behind NeoWiki |
|||
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] |
|||
Latest revision as of 14:24, 11 May 2026
NeoWiki turns wiki pages into queryable structured data
Schemas, infoboxes, relations, and Cypher, native to MediaWiki.
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.
See how it works
- Subjects hold your structured data. A page can have multiple. See the Data tab. Example: Rijksmuseum
- Special:Schemas. Every Subject is shaped by a Schema. View or manage Schemas via this list page.
- Special:Layouts. Customize the presentation of Subjects via Layouts. Example usage: Subject views.
Build on it
- Developers hub: Cypher, parser functions, Lua, REST API.
- 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. This demo wiki may be reset periodically, and edits may not persist.
- Contact Professional Wiki — the team behind NeoWiki
- Follow NeoWiki: Mastodon · Bluesky · X