Skip to content

federico-stacchietti/biomed_wikidata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Biomed kwnoledge extraction through Wikidata

This project is designed to run SPARQL queries to build statements from Wikidata kwnoledge. Given a list of items and a property common to these items, it retrieves values linked to said items through the speficied property. Templates can be specified to build custom statements.

Requirements

The project depends on the following Python packages:

  • SPARQLWrapper
  • pandas

These dependencies are listed in the requirements.txt file.

Installation

Follow these steps to set up the project environment:

  1. Clone the Project and install the requirements
git clone https://github.com/federico-stacchietti/biomed_wikidata.git
cd biomed_wikidata
pip install -r requirements.txt
  1. Run some sample searches and save the statements in a .csv file
python3 sparql_search.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages