OSW Ontology Import
Item:OSWc596ce27af054764ae9716748d01555e /
OSW Ontology Import [OSWc596ce27af054764ae9716748d01555e] | |
---|---|
ID | OSWc596ce27af054764ae9716748d01555e |
UUID | c596ce27-af05-4764-ae97-16748d01555e |
Label | OSW Ontology Import |
Machine compatible name | OswOntologyImport |
Statements (outgoing) | |
.. IsRelatedTo OSW Schema |
|
Statements (incoming) | |
|
|
Keywords |
Description
No description found
Item | |
---|---|
Type(s)/Category(s) | Tutorial |
CreativeWork |
---|
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
jsonschema
slot ( => fields in the edit form ) - Change the
header_template
orfooter_template
(must contain a valid mediawiki template).- Attributes of the
jsondata
slot 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 |
|