Item:OSWc596ce27af054764ae9716748d01555e: Difference between revisions
Item:OSWc596ce27af054764ae9716748d01555e
(Install package: OSW Docs - Core) |
m (Protected "OSW Ontology Import": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
||
| (One intermediate revision by the same user not shown) | |||
| jsondata | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{ | { | ||
"type": [ | |||
"Category:OSW494f660e6a714a1a9681c517bbb975da" | |||
], | |||
"uuid": "c596ce27-af05-4764-ae97-16748d01555e", | |||
"label": [ | |||
{ | |||
"text": "OSW Ontology Import", | |||
"lang": "en" | |||
} | |||
], | |||
"name": "OswOntologyImport", | |||
"statements": [ | |||
{ | |||
"uuid": "134e9626-63c9-4cf1-b4a6-bedc8411a71a", | |||
"predicate": "Property:IsRelatedTo", | |||
"object": "Item:OSWab674d663a5b472f838d8e1eb43e6784", | |||
"rdf_type": "rdf:Statement" | |||
} | |||
], | |||
"part_of": [ | |||
"Item:OSWe0cbdc9c1e0e4a53b21bd83e6c6d99ad" | |||
] | |||
} | } | ||
Latest revision as of 05:05, 13 January 2026
| OSW Ontology Import ID: OSWc596ce27af054764ae9716748d01555e | UUID: c596ce27-af05-4764-ae97-16748d01555e | 📦: world.opensemantic.meta.docs.core | |
|---|---|
| ID | OSWc596ce27af054764ae9716748d01555e |
| UUID | c596ce27-af05-4764-ae97-16748d01555e |
| Label | OSW Ontology Import |
| Machine compatible name | OswOntologyImport |
| Types/Categories | Tutorial |
| Statements (outgoing) | |
| .. IsRelatedTo OSW Schema |
|
| Statements (incoming) | |
|
|
|
| Details | |
Description
No description found
| Item | |
|---|---|
| Type(s)/Category(s) | Tutorial |
| Tutorial | |
|---|---|
| Prerequisites (required) | |
| Prerequisites (optional) | |
| Follow-up (recommended) | |
Prerequisites
- An up-to-date OpenSemanticLab instance, see osl-mw-docker-compose
- make sure to install the world.opensemantic.ontology package
- Latest version of osw-python
- The ontology, prefered as a single .ttl file (e. g. created with Protegé)
Run the import
- Adapt and run the import script
Customize
- You can customize the data schema / template e. g. Category:OSW57beed5e1294434ba77bb6516e461456 (preferable as a subcategory that doesn't gets overwritten by a package update) by editing the slots with "Edit slots" in the top-right toolbar.
- Add properties in the
jsonschemaslot ( => fields in the edit form ) - Change the
header_templateorfooter_template(must contain a valid mediawiki template).- Attributes of the
jsondataslot can be included with{{{<name>|}}}e. g.{{{description|}}} - Parser function can create dynamic content, e. g. with Semantic Mediawiki Ask Queries
- Attributes of the
- Add properties in the
- Technical Details are explained here OSW Schema
jsondata
| type |
| |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| uuid | "c596ce27-af05-4764-ae97-16748d01555e" | |||||||||
| label |
| |||||||||
| name | "OswOntologyImport" | |||||||||
| statements |
| |||||||||
| part_of |
|