OSW Ontology Import
Item:OSWc596ce27af054764ae9716748d01555e /
| OSW Ontology Import | |
|---|---|
| ID | OSWc596ce27af054764ae9716748d01555e |
| UUID | c596ce27-af05-4764-ae97-16748d01555e |
| Label | OSW Ontology Import |
| Machine compatible name | OswOntologyImport |
| Statements (outgoing) | |
| .. IsRelatedTo OSW Schema |
|
| Statements (incoming) | |
|
|
|
Description
No description found
| Item | |
|---|---|
| Type(s)/Category(s) | Tutorial |
| Creative Work |
|---|
| Article |
|---|
| 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. EmmoClass (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" | |||||||
| name | "OswOntologyImport" | |||||||
| label |
| |||||||
| statements |
|