weso / hercules-sync

Tools to synchronise data between the ontology files and Wikibase instance for the Hercules project at University of Murcia.
GNU General Public License v3.0
4 stars 1 forks source link

Create property in wikibase to map external resources to their original URI #43

Closed alejgh closed 4 years ago

alejgh commented 4 years ago

Closes #39

The property is created automatically when starting the wikibase adapter if it has not been created before. When a new resource that does not belong to the Hercules ontology (e.g. Fabio) is found, a new statement is added to link that resource to its original URI.

codecov[bot] commented 4 years ago

Codecov Report

Merging #43 into master will increase coverage by 0.44%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   97.18%   97.61%   +0.44%     
==========================================
  Files          15       15              
  Lines         637      668      +31     
==========================================
+ Hits          619      652      +33     
+ Misses         18       16       -2     
Impacted Files Coverage Δ
hercules_sync/triplestore/wikibase_adapter.py 100.00% <100.00%> (+1.35%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fc50a53...c9027b6. Read the comment docs.