NECKAr_main module

NECKAr_main.find_locations(output_collection, input_collection)[source]

Finds locations in Wikidata dump and stores them together with additional information in the output collection

Parameters:
  • output_collection
  • input_collection
Returns:

nothing, writes objects directly to MongoDB

NECKAr_main.find_organizations(output_collection, input_collection)[source]

Finds organozations in Wikidata dump and stores them together with additional information in the output collection

Parameters:
  • output_collection
  • input_collection
Returns:

nothing, writes objects directly to MongoDB

NECKAr_main.find_persons(output_collection, input_collection)[source]

Finds person in Wikidata dump and stores them together with additional information in the output collection

Parameters:
  • output_collection
  • input_collection
Returns:

nothing, writes objects directly to MongoDB

NECKAr_main.print_info(info)[source]
NECKAr_main.read_config(config)[source]

Reads the configuration file NECKAr.cfg

Parameters:config – ConfigParser Object
Returns:input and output collection