grlc

grlc: the git repository linked data API constructor. - Published in JOSS (2021)

https://github.com/clariah/grlc

Science Score: 100.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: springer.com, joss.theoj.org, zenodo.org
  • Committers with academic emails
    1 of 16 committers (6.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

api linked-data linked-data-api open-api semantic-web sparql swagger-ui

Keywords from Contributors

mesh

Scientific Fields

Earth and Environmental Sciences Physical Sciences - 40% confidence
Last synced: 6 months ago · JSON representation ·

Repository

grlc builds Web APIs using shared SPARQL queries

Basic Info
  • Host: GitHub
  • Owner: CLARIAH
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage: http://grlc.io
  • Size: 2.53 MB
Statistics
  • Stars: 141
  • Watchers: 16
  • Forks: 31
  • Open Issues: 35
  • Releases: 16
Topics
api linked-data linked-data-api open-api semantic-web sparql swagger-ui
Created over 10 years ago · Last pushed 7 months ago
Metadata Files
Readme Contributing License Code of conduct Citation Codemeta

README.md

PyPI version DOI Build Status status FAIR checklist badge

grlc, the git repository linked data API constructor, automatically builds Web APIs using shared SPARQL queries. http://grlc.io/

If you use grlc in your work, please cite it as:

@InProceedings{merono2016grlc, author = {Mero{\~{n}}o-Pe{\~{n}}uela, Albert and Hoekstra, Rinke}, title = {{grlc Makes GitHub Taste Like Linked Data APIs}}, booktitle = {The Semantic Web: ESWC 2016 Satellite Events, Heraklion, Crete, Greece, May 29 -- June 2, 2016}, year = {2016}, publisher = {Springer}, pages = {342--353}, isbn = {978-3-319-47602-5}, doi = {10.1007/978-3-319-47602-5_48} }

What is grlc?

grlc is a lightweight server that takes SPARQL queries (stored in a GitHub or GitLab repository, in your local filesystem, or listed in a URL), and translates them to Linked Data Web APIs. This enables universal access to Linked Data. Users are not required to know SPARQL to query their data, but instead can access a web API.

Quick tutorial

For a quick usage tutorial check out our wiki walkthrough and list of features.

Usage

grlc assumes that you have a collection of SPARQL queries as .rq files (like this). grlc will create one API operation for each SPARQL query/.rq file in the collection.

Your queries can add API parameters to each operation by using the parameter mapping syntax. This allows your query to define query variables which will be mapped to API parameters for your API operation (see here for an example).

Your queries can include special decorators to add extra functionality to your API.

grlc also supports SPARQL queries expressed as json, using the SPARQL Transformer Query in JSON syntax. (Tip: the SPARQL Transformer Playground is very useful when building queries with this syntax).

Query location

grlc can load your query collection from different locations: from a GitHub repository (api-git), from a GitLab repository (api-gitlab), from local storage (api-local), and from a specification file (api-url). Each type of location has specific features and is accessible via different paths. However all location types produce the same beautiful APIs.

From a GitHub repository

API path: http://grlc-server/api-git/<user>/<repo>

grlc can build an API from any Github repository, specified by the GitHub user name of the owner (<user>) and repository name (<repo>).

For example, assuming your queries are stored on a Github repo: https://github.com/CLARIAH/grlc-queries/, point your browser to the following location http://grlc.io/api-git/CLARIAH/grlc-queries/

grlc can make use of git's version control mechanism to generate an API based on a specific version of queries in the repository. This can be done by including the commit sha in the URL path (http://grlc-server/api-git/<user>/<repo>/commit/<sha>), for example: http://grlc.io/api-git/CLARIAH/grlc-queries/commit/79ceef2ee814a12e2ec572ffaa2f8212a22bae23

grlc can also use a subdirectory inside your Github repo. This can be done by including a subdirectory in the URL path (http://grlc-server/api-git/<user>/<repo>/subdir/<subdir>).

From a GitLab repository

API path: http://grlc-server/api-gitlab/<user>/<repo>

grlc can build an API from any GitLab repository, specified by the GitLab user name of the owner (<user>) and repository name (<repo>).

For example, assuming your queries are stored on a GitLab repo: https://gitlab.com/c-martinez/grlc-queries, point your browser to the following location http://grlc.io/api-gitlab/c-martinez/grlc-queries/

grlc can make use of git's version control mechanism to generate an API based on a specific version of queries in the repository. This can be done by including the name of a branch in the URL path (http://grlc-server/api-gitlab/<user>/<repo>/branch/<branch>), for example: http://grlc.io/api-gitlab/c-martinez/grlc-queries/branch/master

grlc can also use a subdirectory inside your GitLab repo. This can be done by including a subdirectory in the URL path (http://grlc-server/api-gitlab/<user>/<repo>/subdir/<subdir>), for example: http://grlc-server/api-gitlab/c-martinez/grlc-queries/subdir/subdir.

From local storage

API path: http://grlc-server/api-local/

grlc can generate an API from a local directory in the computer where your grlc server runs. You can configure the location of this directory in your grlc server configuration file. See also how to install and run your own grlc instance.

When the API is generated from a local directory, API information can be loaded from a configuration file in that folder. This file must be called local-api-config.ini and it has the following format: ini [repo_info] repo_title = Some title api_description = Description of my API contact_name = My name contact_url = https://mypage/ licence_url = https://mylicence/

From a specification file

API path: http://grlc-server/api-url/?specUrl=<specUrl>

grlc can generate an API from a yaml specification file accessible on the web.

For example, assuming your queries are listed on spec file: https://raw.githubusercontent.com/CLARIAH/grlc-queries/master/urls.yml, point your browser to the following location http://grlc.io/api-url?specUrl=https://raw.githubusercontent.com/CLARIAH/grlc-queries/master/urls.yml

Specification file syntax

A grlc API specification file is a YAML file which includes the necessary information to create a grlc API, most importantly a list of URLs to decorated and HTTP-dereferenceable SPARQL queries. This file should contain the following fields

  • title: Title of my API
  • description: API description
  • contact: Contact details of the API owner. This should include the name and url properties.
  • licence: A URL pointing to the licence file for the API.
  • queries: A list of URLs of SPARQL queries (with header decorators). Alternatively a query can be defined as a dictionary with a name and a url.

For example: YAML title: Title of my API description: Description of my API contact: name: Contact Name url: https://www.mywebsite.org licence: http://example.org/licence.html queries: - https://www.mywebsite.org/query1.rq - https://www.mywebsite.org/query2.rq - https://www.otherwebsite.org/query3.rq - name: QueryFour url: https://www.mywebsite.org/query4.rq

grlc generated API

The API paths of all location types point to the generated swagger-ui style API documentation. On the API documentation page, you can explore available API calls and execute individual API calls.

You can also view the swagger spec of your API, by visiting <API-path>/swagger, for example: http://grlc.io/api-git/CLARIAH/grlc-queries/swagger

grlc query execution

When you call an API endpoint, grlc executes the SPARQL query for that endpoint by combining supplied parameters and decorators.

There are 4 options to specify your own endpoint:

  • Add a sparql_endpoint on your config.ini
  • Add a endpoint parameter to your request: 'http://grlc.io/user/repo/query?endpoint=http://sparql-endpoint/'. You can add a #+ endpoint_in_url: False decorator if you DO NOT want to see the endpoint parameter in the swagger-ui of your API.
  • Add the #+ endpoint: decorator.
  • Add the URL of the endpoint on a single line in an endpoint.txt file within the GitHub repository that contains the queries.

The endpoint call will return the result of executing the query as a json representation of rdflib.query.QueryResult (for other result formats, you can use content negotiation via HTTP Accept headers). For json responses, the schema of the response can be modified by using the #+ transform: decorator.

Decorator syntax

Special decorators are available to make your swagger-ui look nicer and to increase functionality. These are provided as comments at the start of your query file, making it still syntactically valid SPARQL. All decorators start with #+, for example:

```SPARQL

+ decorator_1: decorator value

+ decorator_1: decorator value

SELECT * WHERE { ?s ?p ?o . } ``` The following is a list of available decorators and their function:

summary

Creates a summary of your query/operation. This is shown next to your operation name in the swagger-ui.

Syntax: ```

+ summary: This is the summary of my query/operation

```

Example query and the equivalent API operation.

description

Creates a description of your query/operation. This is shown as the description of your operation in the swagger-ui.

Syntax: ```

+ description: Extended description of my query/operation.

```

Example query and the equivalent API operation.

endpoint

Specifies a query-specific endpoint.

Syntax: ```

+ endpoint: http://example.com/sparql

```

Example query and the equivalent API operation.

pagination

Paginates the results in groups of (for example) 100. Links to previous, next, first, and last result pages are provided as HTTP response headers to avoid polluting the payload (see details here)

Syntax: ```

+ pagination: 100

```

Example query and the equivalent API operation.

method

Indicates the HTTP request method (GET and POST are supported).

Syntax: ```

+ method: GET

```

Example query and the equivalent API operation.

tags

Assign tags to your query/operation. Query/operations with the same tag are grouped together in the swagger-ui.

Syntax: ```

+ tags:

+ - firstTag

+ - secondTag

```

Example query and the equivalent API operation.

defaults

Set the default value in the swagger-ui for a specific parameter in the query.

Syntax: ```

+ defaults:

+ - paramname: defaultvalue

```

Example query and the equivalent API operation.

enumerate

Indicates which parameters of your query/operation should get enumerations (and get dropdown menus in the swagger-ui) using the given values from the SPARQL endpoint. The values for each enumeration variable can also be specified into the query decorators to save endpoint requests and speed up the API generation.

Syntax: ```

+ enumerate:

+ - var1:

+ - value1

+ - value2

```

Example query and the equivalent API operation.

Notice that these should be plain variable names without SPARQL/BASIL conventions (so var1 instead of ?_var1_iri)

endpoint_in_url

Allows/disallows the endpoint parameter from being provided as a URL parameter (allowed by default).

Syntax: ```

+ endpointinurl: False

```

Example query and the equivalent API operation.

transform

Allows query results to be converted to the specified JSON structure, by using SPARQLTransformer syntax. Notice that the response content type must be set to application/json for the transformation to take effect.

Syntax: ```

+ transform: {

+ "key": "?p",

+ "value": "?o",

+ "$anchor": "key"

+ }

```

Example query and the equivalent API operation.

endpoint-method

Allows the query to be sent from the grlc server to the SPARQL endpoint using either GET or POST http method. (Default: POST)

Syntax: ```

+ endpoint-method: GET

```

Example query and the equivalent API operation.

Example APIs

Check these out: - http://grlc.io/api-git/CLARIAH/grlc-queries - http://grlc.io/api-gitlab/c-martinez/grlc-queries - http://grlc.io/api-url?specUrl=https://raw.githubusercontent.com/CLARIAH/grlc-queries/master/urls.yml - http://grlc.io/api-git/CLARIAH/wp4-queries-hisco - http://grlc.io/api-git/albertmeronyo/lodapi - http://grlc.io/api-git/albertmeronyo/lsq-api - https://grlc.io/api-git/CEDAR-project/Queries

You'll find the sources of these and many more in GitHub

Use this GitHub search to see examples from other grlc users.

Install and run

You can use grlc in different ways: - Via grlc.io: you can use the grlc.io service - Via Docker: you can use the grlc docker image and start your own grlc server. - Via pip: you can install the grlc Python package and start your own grlc server or use grlc as a Python library.

More details for each of these options are given below.

grlc.io

The easiest way to use grlc is by visiting grlc.io and using this service to convert SPARQL queries into a RESTful API. Your queries can be stored on a github repo or can be listed on a specification file.

Google Analytics

grlc.io uses Google Analytics to keep track of the number of users of the service. We need this to show the impact of grlc when applying for funding. If this causes you to be conserned about privacy, we recommend you use some user-side anti-tracking, and we would appreciate if you could reach out to us to let us know you are using grlc.

Docker

To run grlc via docker, you'll need a working installation of docker. To deploy grlc, just pull the latest image from Docker hub. : bash docker run -it --rm -p 8088:80 clariah/grlc

The docker image allows you to setup several environment variable such as GRLC_SERVER_NAME GRLC_GITHUB_ACCESS_TOKEN,GRLC_GITLAB_ACCESS_TOKEN and GRLC_SPARQL_ENDPOINT: bash docker run -it --rm -p 8088:80 -e GRLC_SERVER_NAME=grlc.io -e GRLC_GITHUB_ACCESS_TOKEN=xxx -e GRLC_GITLAB_ACCESS_TOKEN=yyy -e GRLC_SPARQL_ENDPOINT=http://dbpedia.org/sparql -e DEBUG=true clariah/grlc

Pip

If you want to run grlc locally or use it as a library, you can install grlc on your machine. Grlc is registered in PyPi so you can install it using pip.

Prerequisites

grlc has the following requirements: - Python3 - development files (depending on your OS): bash sudo apt-get install libevent-dev python-all-dev

pip install

Once the base requirements are satisfied, you can install grlc like this: bash pip install grlc

Once grlc is installed, you have several options: - Stand alone server - Using a WSGI server - As a python library

Standalone server

grlc includes a command line tool which you can use to start your own grlc server: bash grlc-server

Using a WSGI server

You can run grlc using a WSGI server such as gunicorn as follows: bash gunicorn grlc.server:app

If you want to use your own gunicorn configuration, for example gunicorn_config.py: python workers = 5 worker_class = 'gevent' bind = '0.0.0.0:8088' Then you can run it as: bash gunicorn -c gunicorn_config.py grlc.server:app

Note: Since gunicorn does not work under Windows, you can use waitress instead: bash waitress-serve --port=8088 grlc.server:app

If you want to run grlc at system boot as a service, you can find example upstart scripts at upstart/

grlc library

You can use grlc as a library directly from your own python script. See the usage example to find out more.

grlc server configuration

Regardless of how you are running your grlc server, you will need to configure it using the config.ini file. Have a look at the example config file to see how it this file is structured.

The configuration file contains the following variables: - github_access_token access token to communicate with Github API. - gitlab_access_token access token to communicate with GitLab API. - local_sparql_dir local storage directory where local queries are located. - server_name name of the server (e.g. grlc.io) - sparql_endpoint default SPARQL endpoint - user and password SPARQL endpoint default authentication (if required, specify 'none' if not required) - debug enable debug level logging. - gitlab_url to specify the base url of your GitLab instance.

Git access token

In order for grlc to communicate with GitHub and/or GitLab, you'll need to tell grlc what your access token is:

  1. Get a GitHub personal access token or GitLab personal access token.
  2. You'll get an access token string, copy it and save it somewhere safe.
  3. Edit your config.ini (github_access_token and gitlab_access_token respectively) and/or docker-compose.yml (GRLC_GITHUB_ACCESS_TOKEN and GRLC_GITLAB_ACCESS_TOKEN environment variables).

Contribute!

grlc needs you to continue bringing Semantic Web content to developers, applications and users. No matter if you are just a curious user, a developer, or a researcher; there are many ways in which you can contribute:

  • File in bug reports
  • Request new features
  • Set up your own environment and start hacking

Check our contributing guidelines for these and more, and join us today!

If you cannot code, that's no problem! There's still plenty you can contribute:

  • Share your experience at using grlc in Twitter (mention the handle @grlcldapi)
  • If you are good with HTML/CSS, let us know

Related tools

  • SPARQL2Git is a Web interface for editing SPARQL queries and saving them in GitHub as grlc APIs.
  • grlcR is a package for R that brings Linked Data into your R environment easily through grlc.
  • Hay's tools lists grlc as a Wikimedia-related tool :-)

This is what grlc users are saying

Quotes from grlc users:

A cool project that can convert a random SPARQL endpoint into an OpenAPI endpoint

It enables us to quickly integrate any new API requirements in a matter of seconds, without having to worry about configuration or deployment of the system

You can store your SPARQL queries on GitHub and then you can run your queries on your favourite programming language (Python, Javascript, etc.) using a Web API (including swagger documentation) just as easily as loading data from a web page

Contributors: Albert Meroño, Rinke Hoekstra, Carlos Martínez

Copyright: Albert Meroño, Rinke Hoekstra, Carlos Martínez
License: MIT License (see LICENSE.txt)

Academic publications

  • Albert Meroño-Peñuela, Carlos Martinez-Ortiz. “grlc: the git repository linked data API constructor.“ Journal of Open Source Software, 6(67), 2731 (2021), https://doi.org/10.21105/joss.02731
  • Albert Meroño-Peñuela, Pasquale Lisena, Carlos Martínez-Ortiz. “Web Data APIs for Knowledge Graphs: Easing Access to Semantic Data for Application Developers”. Synthesis Lectures on Data, Semantics, and Knowledge, 12(1), pp.1-118 (2021) (Morgan & Claypool) https://doi.org/10.2200/S01114ED1V01Y202107DSK021
  • Albert Meroño-Peñuela, Rinke Hoekstra. “grlc Makes GitHub Taste Like Linked Data APIs”. The Semantic Web – ESWC 2016 Satellite Events, Heraklion, Crete, Greece, May 29 – June 2, 2016, Revised Selected Papers. LNCS 9989, pp. 342-353 (2016). (PDF)
  • Albert Meroño-Peñuela, Rinke Hoekstra. “SPARQL2Git: Transparent SPARQL and Linked Data API Curation via Git”. In: Proceedings of the 14th Extended Semantic Web Conference (ESWC 2017), Poster and Demo Track. Portoroz, Slovenia, May 28th – June 1st, 2017 (2017). (PDF)
  • Albert Meroño-Peñuela, Rinke Hoekstra. “Automatic Query-centric API for Routine Access to Linked Data”. In: The Semantic Web – ISWC 2017, 16th International Semantic Web Conference. Lecture Notes in Computer Science, vol 10587, pp. 334-339 (2017). (PDF)
  • Pasquale Lisena, Albert Meroño-Peñuela, Tobias Kuhn, Raphaël Troncy. “Easy Web API Development with SPARQL Transformer”. In: The Semantic Web – ISWC 2019, 18th International Semantic Web Conference. Lecture Notes in Computer Science, vol 11779, pp. 454-470 (2019). (PDF)

Owner

  • Name: CLARIAH
  • Login: CLARIAH
  • Kind: organization

CLARIAH offers humanities scholars a Common Lab providing access to large collections of digital resources and innovative tools for research

JOSS Publication

grlc: the git repository linked data API constructor.
Published
November 04, 2021
Volume 6, Issue 67, Page 2731
Authors
Albert Meroño-Peñuela ORCID
King's College London
Carlos Martinez-Ortiz ORCID
Netherlands eScience Center
Editor
Arfon Smith ORCID
Tags
linked data API builder

Citation (CITATION.cff)

# YAML 1.2
# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/)
---
authors:
  -
    affiliation: "King's College London"
    family-names: Meroño-Peñuela
    given-names: Albert
    orcid: "https://orcid.org/0000-0003-4646-5842"
  -
    family-names: Hoekstra
    given-names: Rinke
  -
    affiliation: "Netherlands eScience Center"
    family-names: Martinez
    given-names: Carlos
    orcid: "https://orcid.org/0000-0001-5565-7577"
cff-version: "1.0.3"
date-released: 2025-04-01
doi: 10.5281/zenodo.1064391
license: MIT
message: "If you use this software, please cite it as below."
repository-code: "https://github.com/CLARIAH/grlc"
title: "grlc: the git repository linked data API constructor"
abstract: grlc, the git repository linked data API constructor, automatically builds Web APIs using SPARQL queries stored in git repositories.
keywords:
  - "swagger-ui"
  - sparql
  - "linked-data"
  - "semantic-web"
  - "linked-data-api"
version: "1.3.10"

CodeMeta (codemeta.json)

{
  "@context": [
    "https://doi.org/10.5063/schema/codemeta-2.0",
    "https://w3id.org/software-iodata",
    "https://raw.githubusercontent.com/jantman/repostatus.org/master/badges/latest/ontology.jsonld",
    "https://schema.org",
    "https://w3id.org/software-types"
  ],
  "@type": "SoftwareSourceCode",
  "author": [
    {
      "@id": "https://orcid.org/0000-0003-4646-5842",
      "@type": "Person",
      "affiliation": {
        "@type": "Organization",
        "legalName": "King's College London"
      },
      "familyName": "Meroño-Peñuela",
      "givenName": "Albert"
    },
    {
      "@id": "https://orcid.org/0000-0001-5565-7577",
      "@type": "Person",
      "affiliation": {
        "@type": "Organization",
        "legalName": "Netherlands eScience Center"
      },
      "familyName": "Martinez",
      "givenName": "Carlos"
    }
  ],
  "codeRepository": "https://github.com/CLARIAH/grlc.git",
  "contIntegration": "https://travis-ci.org/CLARIAH/grlc",
  "contributor": [
    {
      "@type": "Person",
      "email": "albert.meronyo@gmail.com",
      "familyName": "Meroño-Peñuela",
      "givenName": "Albert"
    },
    {
      "@type": "Person",
      "email": "c.martinez@esciencecenter.nl",
      "familyName": "Martinez",
      "givenName": "Carlos"
    },
    {
      "@type": "Person",
      "email": "rinke.hoekstra@vu.nl",
      "familyName": "Hoekstra",
      "givenName": "Rinke"
    },
    {
      "@type": "Person",
      "email": "pasquale.lisena@eurecom.fr",
      "familyName": "Lisena",
      "givenName": "Pasquale"
    },
    {
      "@type": "Person",
      "email": "14040777+RoderickvanderWeerdt@users.noreply.github.com",
      "familyName": "",
      "givenName": "RoderickvanderWeerdt"
    },
    {
      "@type": "Person",
      "email": "richard.zijdeman@iisg.nl",
      "familyName": "Zijdeman",
      "givenName": "Richard"
    },
    {
      "@type": "Person",
      "email": "jblom@beeldengeluid.nl",
      "familyName": "Blom",
      "givenName": "Jaap"
    },
    {
      "@type": "Person",
      "email": "a.kuzniar@esciencecenter.nl",
      "familyName": "Kuzniar",
      "givenName": "Arnold"
    },
    {
      "@type": "Person",
      "email": "38520885+mwigham@users.noreply.github.com",
      "familyName": "",
      "givenName": "mwigham"
    },
    {
      "@type": "Person",
      "email": "github.com@steltenpower.com",
      "familyName": "Steltenpool",
      "givenName": "Ruud"
    },
    {
      "@type": "Person",
      "email": "j.spaaks@esciencecenter.nl",
      "familyName": "H. Spaaks",
      "givenName": "Jurriaan"
    },
    {
      "@type": "Person",
      "email": "jetschni@users.noreply.github.com",
      "familyName": "",
      "givenName": "Jonas"
    },
    {
      "@type": "Person",
      "email": "abel.s.siqueira@gmail.com",
      "familyName": "Siqueira",
      "givenName": "Abel"
    }
  ],
  "dateCreated": "2015-11-13T17:17:15Z+0100",
  "dateModified": "2022-03-21T22:20:00Z+0100",
  "datePublished": "2021-11-03",
  "description": "grlc, the git repository linked data API constructor, automatically builds Web APIs using SPARQL queries stored in git repositories.",
  "developmentStatus": "https://www.repostatus.org/#inactive",
  "identifier": "grlc",
  "issueTracker": "https://github.com/CLARIAH/grlc/issues",
  "keywords": [
    "linked-data",
    "linked-data-api",
    "semantic-web",
    "sparql",
    "swagger-ui"
  ],
  "license": "http://spdx.org/licenses/MIT",
  "maintainer": {
    "@id": "https://orcid.org/0000-0003-4646-5842",
    "@type": "Person",
    "affiliation": {
      "@type": "Organization",
      "legalName": "King's College London"
    },
    "familyName": "Meroño-Peñuela",
    "givenName": "Albert"
  },
  "name": "grlc: the git repository linked data API constructor",
  "producer": {
    "@type": "Organization",
    "name": "CLARIAH",
    "url": "http://www.clariah.nl"
  },
  "funding": {
    "@type": "Grant",
    "name": "CLARIAH-PLUS (NWO grant 184.034.023)",
    "funder": {
      "@type": "Organization",
      "name": "NWO",
      "url": "https://www.nwo.nl"
    }
  },
  "softwareHelp": {
    "@id": "https://github.com/CLARIAH/grlc/wiki",
    "@type": "WebSite",
    "name": "grlc Wiki",
    "url": "https://github.com/CLARIAH/grlc/wiki"
  },
  "programmingLanguage": "Python",
  "readme": "https://github.com/CLARIAH/grlc/blob//README.md",
  "runtimePlatform": "Python 3",
  "softwareRequirements": [
    {
      "@type": "SoftwareApplication",
      "identifier": "Flask",
      "name": "Flask",
      "runtimePlatform": "Python 3",
      "version": "1.0.2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "Flask-Cors",
      "name": "Flask-Cors",
      "runtimePlatform": "Python 3",
      "version": "3.0.6"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "MarkupSafe",
      "name": "MarkupSafe",
      "runtimePlatform": "Python 3",
      "version": "0.23"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "PyGithub",
      "name": "PyGithub",
      "runtimePlatform": "Python 3",
      "version": "1.43.5"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "PyYAML",
      "name": "PyYAML",
      "runtimePlatform": "Python 3",
      "version": "5.4"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "SPARQLTransformer",
      "name": "SPARQLTransformer",
      "runtimePlatform": "Python 3",
      "version": "2.1.1"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "SPARQLWrapper",
      "name": "SPARQLWrapper",
      "runtimePlatform": "Python 3",
      "version": "1.8.2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "docopt",
      "name": "docopt",
      "runtimePlatform": "Python 3",
      "version": "0.6.2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "docutils",
      "name": "docutils",
      "runtimePlatform": "Python 3",
      "version": "0.17.1"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "gevent",
      "name": "gevent",
      "runtimePlatform": "Python 3",
      "version": "1.4.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "greenlet",
      "name": "greenlet",
      "runtimePlatform": "Python 3",
      "version": "0.4.15"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "gunicorn",
      "name": "gunicorn",
      "runtimePlatform": "Python 3",
      "version": "19.6.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "html5lib",
      "name": "html5lib",
      "runtimePlatform": "Python 3",
      "version": "1.0.1"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "isodate",
      "name": "isodate",
      "runtimePlatform": "Python 3",
      "version": "0.5.4"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "keepalive",
      "name": "keepalive",
      "runtimePlatform": "Python 3",
      "version": "0.5"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "pyaml",
      "name": "pyaml",
      "runtimePlatform": "Python 3",
      "version": "18.11.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "pyparsing",
      "name": "pyparsing",
      "runtimePlatform": "Python 3",
      "version": "2.0.7"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rdflib",
      "name": "rdflib",
      "runtimePlatform": "Python 3",
      "version": "5.0.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rdflib-jsonld",
      "name": "rdflib-jsonld",
      "runtimePlatform": "Python 3",
      "version": "0.4.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "requests",
      "name": "requests",
      "runtimePlatform": "Python 3",
      "version": "2.20.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "setuptools",
      "name": "setuptools",
      "runtimePlatform": "Python 3",
      "version": ">= 38.6.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "simplejson",
      "name": "simplejson",
      "runtimePlatform": "Python 3",
      "version": "3.16.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "six",
      "name": "six",
      "runtimePlatform": "Python 3",
      "version": "1.12.0"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "waitress",
      "name": "waitress",
      "runtimePlatform": "Python 3",
      "version": ">= 1.4.2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "werkzeug",
      "name": "werkzeug",
      "runtimePlatform": "Python 3",
      "version": ">= 0.16.0"
    }
  ],
  "targetProduct": {
    "@type": "stype:WebApplication",
    "name": "grlc: the git repository linked data API constructor"
  },
  "url": "https://github.com/CLARIAH/grlc",
  "version": "1.3.7"
}

Papers & Mentions

Total mentions: 1

Semantic micro-contributions with decentralized nanopublication services
Last synced: 4 months ago

GitHub Events

Total
  • Create event: 26
  • Release event: 1
  • Issues event: 2
  • Watch event: 7
  • Delete event: 26
  • Issue comment event: 28
  • Push event: 35
  • Pull request review comment event: 1
  • Pull request review event: 16
  • Pull request event: 64
Last Year
  • Create event: 27
  • Release event: 1
  • Issues event: 2
  • Watch event: 7
  • Delete event: 26
  • Issue comment event: 28
  • Push event: 35
  • Pull request review comment event: 1
  • Pull request review event: 16
  • Pull request event: 64

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 649
  • Total Committers: 16
  • Avg Commits per committer: 40.563
  • Development Distribution Score (DDS): 0.555
Past Year
  • Commits: 27
  • Committers: 2
  • Avg Commits per committer: 13.5
  • Development Distribution Score (DDS): 0.259
Top Committers
Name Email Commits
Carlos Martinez n****s@g****m 289
Albert Meroño-Peñuela a****o@g****m 261
dependabot[bot] 4****] 38
Rinke Hoekstra r****a@v****l 16
Pasquale Lisena p****a@e****r 14
Hoekstra, Rinke (ELS-AMS) r****a@e****m 12
Richard Zijdeman r****n@i****l 6
RoderickvanderWeerdt 1****t 3
Jaap Blom j****m@b****l 2
Arnold Kuzniar a****r@e****l 2
Abel Siqueira a****a@g****m 1
Jonas j****i 1
Jurriaan H. Spaaks j****s@e****l 1
Ruud Steltenpool g****m@s****m 1
mwigham 3****m 1
Richard Zijdeman r****n@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 72
  • Total pull requests: 231
  • Average time to close issues: 8 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 22
  • Total pull request authors: 7
  • Average comments per issue: 2.79
  • Average comments per pull request: 0.73
  • Merged pull requests: 140
  • Bot issues: 0
  • Bot pull requests: 141
Past Year
  • Issues: 1
  • Pull requests: 68
  • Average time to close issues: 1 day
  • Average time to close pull requests: 27 days
  • Issue authors: 1
  • Pull request authors: 2
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.71
  • Merged pull requests: 38
  • Bot issues: 0
  • Bot pull requests: 59
Top Authors
Issue Authors
  • c-martinez (19)
  • jaw111 (9)
  • tkuhn (6)
  • ecow (6)
  • rapw3k (6)
  • albertmeronyo (4)
  • alexdma (4)
  • rajaram5 (2)
  • Montanaz0r (2)
  • bherr2 (2)
  • rlzijdeman (1)
  • jagerda (1)
  • Adafede (1)
  • RoderickvanderWeerdt (1)
  • GenEars (1)
Pull Request Authors
  • dependabot[bot] (141)
  • c-martinez (83)
  • GenEars (3)
  • markwilkinson (1)
  • albertmeronyo (1)
  • nichtich (1)
  • abelsiqueira (1)
Top Labels
Issue Labels
enhancement (7) good first issue (4) bug (4) experimental (1) grlc.io (1)
Pull Request Labels
dependencies (142) python (28) github_actions (1)

Packages

  • Total packages: 3
  • Total downloads:
    • pypi 149 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 1
    (may contain duplicates)
  • Total versions: 43
  • Total maintainers: 3
proxy.golang.org: github.com/CLARIAH/grlc
  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
proxy.golang.org: github.com/clariah/grlc
  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
pypi.org: grlc

grlc, the git repository linked data API constructor

  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 149 Last month
Rankings
Stargazers count: 6.3%
Forks count: 7.2%
Dependent packages count: 7.3%
Average: 13.8%
Dependent repos count: 22.1%
Downloads: 25.9%
Maintainers (3)
Last synced: 6 months ago

Dependencies

requirements-test.txt pypi
  • mock ==2.0.0
  • pytest ==5.2.1
requirements.txt pypi
  • Flask ==1.0.2
  • Flask-Cors ==3.0.6
  • MarkupSafe ==0.23
  • PyGithub ==1.43.5
  • PyYAML ==5.4
  • SPARQLTransformer ==2.1.1
  • SPARQLWrapper ==1.8.2
  • docopt ==0.6.2
  • docutils ==0.17.1
  • gevent ==1.4.0
  • greenlet ==0.4.15
  • gunicorn ==19.6.0
  • html5lib ==1.0.1
  • isodate ==0.5.4
  • keepalive ==0.5
  • pyaml ==18.11.0
  • pyparsing ==2.0.7
  • rdflib ==5.0.0
  • rdflib-jsonld ==0.4.0
  • requests ==2.20.0
  • setuptools >=38.6.0
  • simplejson ==3.16.0
  • six ==1.12.0
  • waitress >=1.4.2
  • werkzeug >=0.16.0
.github/workflows/cffconvert.yml actions
  • actions/checkout v2 composite
  • citation-file-format/cffconvert-github-action 2.0.0 composite
.github/workflows/tweet-release.yml actions
  • m1ner79/Github-Twittction v1.0.1 composite
Dockerfile docker
  • python 3.6.8 build
.github/workflows/publish_pypi.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • pypa/gh-action-pypi-publish v1.4.2 composite
.github/workflows/testing.yml actions
  • actions/checkout master composite
  • actions/setup-python v2 composite
setup.py pypi