Skip to content

Latest commit

 

History

History
45 lines (22 loc) · 2.47 KB

README.md

File metadata and controls

45 lines (22 loc) · 2.47 KB

Covid-on-the-Web dataset generation pipeline

Several steps are involved in the generation the Covid-On-The-Web RDF dataset.

This folder provides various tools, scripts and mappings files involved in carrying out these steps.

Articles mining

Directory ner provides the tools required to extraction named entities from CORD-19 using DBpedia Spotlight, Entity-fishing and NCBO BioPortal annotator.

Similarly, directory acta provides the tools required to extract arguments from CORD-19 using ACTA

In both cases, one result JSON file is produced per article from the CORD-19 corpus processed. Directory mongo provides the scrips used to import these different sets of JSON files into MongoDB, and pre-process them with MongoDB aggregation queries to clean up the data and prepare prepare the JSON format for the next stage.

CORD-19 loading and pre-processing

In addition to the extraction of named entities and arguments from the CORD-19 corpus, we also need to transform the articles metadata in RDF.

CORD-19 provides metadata about articles as a large CSV file, as well as one JSON file for each article in the corpus.

Directory mongo provides the scrips used to import these CORD-19 CSV and JSON files into MongoDB and pre-process them.

RDF files generation

The translation in RDF of the three sources (CORD-19, named entities, arguments) is carried out using Morph-xR2RML, an implementation of the xR2RML mapping language [1] for MongoDB databases.

The scripts, configuration and mapping files are provided in directory xR2RML.

Additionally, directory dataset_tpl provides templates for the generation of the dataset metadata.

RDF files import into Virtuoso

RDF files generated at the previous stage are imported into a Virtuoso OS instance as separate named graphs. Scripts are provided in directory virtuoso.

References

[1] F. Michel, L. Djimenou, C. Faron-Zucker, and J. Montagnat. Translation of Relational and Non-Relational Databases into RDF with xR2RML. In Proceedings of the 11th International Confenrence on Web Information Systems and Technologies (WEBIST 2015), Lisbon, Portugal, 2015.