EMWConTalk2023-04: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
{{{NextSlide|Links}}
{{{NextSlide|Links}}
{{{NextSlide|QuestionsDiscussion}}
{{{NextSlide|QuestionsDiscussion}}
== How SMWSync works ==
{{Font-size|
* Self describing Properties
* MetaModel, SiDIF, LinkML
* Mapping SMW Properties to Wikidata properties
* Command Line Tool
}}
== MetaModel, SiDIF, LinkML ==
[[File:YpgenScreenShotFamilyContext2023-04-19.png|600px]]
<source lang='bash'>
ypgen --wikiId family --context FamilyContext --serve --host localhost
</source>
[http://family.bitplan.com/index.php/FamilyContext#tab=sidif FamilyContext SiDIF] is in legacy [[SiDIF]] triple format.
[https://github.com/WolfgangFahl/pyMetaModel pyMetaModel mm_cmd command line tool] will generate LinkML yaml markup and other target formats.
LinkML can then generate even form format see:
[https://github.com/WolfgangFahl/pyMetaModel/tree/main/examples/family pyMetaModel family example files]
== Mapping SMW Properties to Wikidata properties ==
{{Font-size|
<source lang='yaml'>
# list of property mappings
# for family  versus wikidata
- topic: Person
  prop_list:
  - pid: qid
    smw_prop: qid
  - arg: label
    pid: label
    smw_prop: label
  - arg: desc
    pid: description
    pid_label: description
    smw_prop: description
  - arg: died
    pid: P570
    pid_label: date of death
    smw_prop: died
  - arg: died_at
    pid: P20
    pid_label: place of death
    smw_prop: died_at
</source>
}}

Revision as of 18:45, 24 April 2023

EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "wolfgangfahl"." is not a number.</li> <!--br--><li>"WolfgangFahl" is not a number.</li></ul> EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "bitplangmbh"." is not a number.</li> <!--br--><li>"BITPlanGmbH" is not a number.</li></ul> EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "agenda"." is not a number.</li> <!--br--><li>"Agenda" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "smwwikidatastorage"." is not a number.</li> <!--br--><li>"SMWWikidataStorage" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "smwwikidatadatabases"." is not a number.</li> <!--br--><li>"SMWWikidataDatabases" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "smwrelationaloperators"." is not a number.</li> <!--br--><li>"SMWRelationalOperators" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "modifyingasingletriple"." is not a number.</li> <!--br--><li>"ModifyingASingleTriple" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "exampleusecases"." is not a number.</li> <!--br--><li>"ExampleUseCases" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "exampleroyalfamily"." is not a number.</li> <!--br--><li>"ExampleRoyalFamily" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "syncroyalfamily"." is not a number.</li> <!--br--><li>"SyncRoyalFamily" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "examplescholarlycommunication"." is not a number.</li> <!--br--><li>"ExampleScholarlyCommunication" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "synceventseries"." is not a number.</li> <!--br--><li>"SyncEventSeries" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "syncinstitutions"." is not a number.</li> <!--br--><li>"SyncInstitutions" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "howsmwsyncworks"." is not a number.</li> <!--br--><li>"HowSMWSyncWorks" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "selfdescribingproperties"." is not a number.</li> <!--br--><li>"SelfDescribingProperties" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "metamodelsidifandlinkml"." is not a number.</li> <!--br--><li>"MetaModelSiDIFandLinkMl" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "mappingsmwandwikidataproperties"." is not a number.</li> <!--br--><li>"MappingSMWAndWikiDAtaProperties" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "commandlinetool"." is not a number.</li> <!--br--><li>"CommandLineTool" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "todos"." is not a number.</li> <!--br--><li>"Todos" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "links"." is not a number.</li> <!--br--><li>"Links" is not a number.</li></ul> {EMWConTalk2023-04/<ul><li>"Expression error: Unrecognized word "questionsdiscussion"." is not a number.</li> <!--br--><li>"QuestionsDiscussion" is not a number.</li></ul>