Difference between revisions of "EMWConTalk2023-04"
Jump to navigation
Jump to search
Line 31: | Line 31: | ||
== SMW CRUD == | == SMW CRUD == | ||
'''Row operations''' | '''Row operations''' | ||
− | + | {| class="wikitable" | |
− | + | |+ Caption text | |
− | + | |- | |
− | + | ! Operation !! Manually !! Via Api !! Via Wikipush | |
+ | |- | ||
+ | | Create || create page and use markup to set property {{Done}} || edit {{Done}} || wikipush, wikiupload, wikirestore {{Done}} | ||
+ | |- | ||
+ | | Read || visit link of page {{Done}} || read html or markup {Done}} || wikibackup, wikipush, wikiedit {Done}} | ||
+ | |- | ||
+ | | Update || modify page via edit|| edit {{Done}} || wikiedit, wikirestore, wikipush {Done}} | ||
+ | |- | ||
+ | | Delete || delete page {Done}} || delete {Done}} || wikinuke {Done}} | ||
+ | |} | ||
'''Column operations''' | '''Column operations''' | ||
* Create - create property page and modify concept, template, form, help {{Done}} | * Create - create property page and modify concept, template, form, help {{Done}} | ||
− | * Read - | + | * Read - - use ask queries to retrieve property values {{Done}} |
* Update - modify | * Update - modify | ||
* Delete - delete property {{Done}} - modify content pages to remove property {{UtfIcon|utf=Δ|size=24|color=red}} | * Delete - delete property {{Done}} - modify content pages to remove property {{UtfIcon|utf=Δ|size=24|color=red}} |
Revision as of 11:54, 19 April 2023
view EMWConTalk2023-04 as slides
Wolfgang Fahl
- Computer Scientist
- Expert
- Trainer for Software Architecture and Requirements Engineering
- PhD Candidate at RWTH Aachen i5
BITPlan GmbH
- Inception: 1999
- Focus on Software-Engineering Training, Consulting, Projects …
- Switch from Lotus Notes to Semantic Mediawiki in 2013
- ProfiWiki since 2015
Agenda
SMW and Wikidata storage
- Both systems use triples: subject, predicate and object
- It's a girl revisited:
The princess of cambridge was born on [[is born::2015-05-03]] Her rank inline to the throne is [[throne rank is::4]]. Her mother is [[mother is::Duchess Kate]].
SMW CRUD
Row operations
Operation | Manually | Via Api | Via Wikipush |
---|---|---|---|
Create | create page and use markup to set property ✓ | edit ✓ | wikipush, wikiupload, wikirestore ✓ |
Read | visit link of page ✓ | read html or markup {Done}} | wikibackup, wikipush, wikiedit {Done}} |
Update | modify page via edit | edit ✓ | wikiedit, wikirestore, wikipush {Done}} |
Delete | delete page {Done}} | delete {Done}} | wikinuke {Done}} |
Column operations
- Create - create property page and modify concept, template, form, help ✓
- Read - - use ask queries to retrieve property values ✓
- Update - modify
- Delete - delete property ✓ - modify content pages to remove property Δ
Example Usecases
- Royal Family
- Scholary communication
Example: Scholary communication
How SMWSync works
- Self describing Properties
- Mapping SMW Properties to Wikidata properties
- Command Line Tool
Self describing Properties
MetaModel, SiDIF, LinkML
Mapping SMW Properties to Wikidata properties
Command Line Tool
Links
- https://wiki.bitplan.com/index.php/PySMWSync
- https://wiki.bitplan.com/index.php/PyMetaModel
- https://wiki.bitplan.com/index.php/Py-yprinciple-gen