Skip to content

SydCo99/SPARQL-Wrapper-Functions

Repository files navigation

SPARQL-Wrapper-Functions

This repository contains basic SPARQL queries written in Python using the SPARQL Wrapper library. It is intended to provide ontologists an easy way to run SPARQL queries on their own computers, and provide a series of well written SPARQL query functions that can query any ontology.

Most of the functions have been adapted from the He Group example SRPAQL queries, available here.

Some functions have been adapted from the EDAM Ontolog caseologue GitHub, available here.

Navigating this Repository

All the SPARQL query functions are compiled together in the "all_functions.py" file.

Each individual function has its own ipynb file, where there are markdown comments in the code available to help you better tailor the preset queries to your ontology.

The "AllFunctionsExample.ipynb" file is an example of how you can import and use individual functions from the all_functions.py file.

Contact

If you have any questions or are interested in contributing, please email sydneycohen99@gmail.com.

About

This is an early stage directory containing basic SPARQL queries written in Python using the SPARQL Wrapper library. It is intended to provide ontologists an easy way to run SPARQL queries on their own computers, and provide a series of well written SPARQL queries that can query any ontology.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors