UseCase "Compare content among SMWs and repositories"

From FindAndLearn::Cookbook
C1423123584
Jump to: navigation, search




Script

require 'dataspects'

mw = MediaWiki.new(
  url: "https://cookbook.findandlearn.net/w",
  user: "roapi",
  password: "27i34w22f",
  log_in: :must_log_in
)
mw.resources_from_CATEGORY("dataspectsSystemCoreOntology")

re = OntologyRepository.new("../dataspectsSystemCoreOntology")
re.use_existing_at_URL

c = Comparer.new
c.report(mw, re)