Skip to content

Instantly share code, notes, and snippets.

View micheldumontier's full-sized avatar

Michel Dumontier micheldumontier

View GitHub Profile
@micheldumontier
micheldumontier / monarch-minimal-api.yaml
Last active January 10, 2018 16:22
A minimal monarch biolink API description
openapi: 3.0.0
info:
title: Monarch-Biolink API
version: 0.1.1
description: The Biolink API serves data from the Monarch Initiative SciGraph database - a neo4j database holding semantically integrated data from a variety of biological/biomedical community databases, with a focus on genotype-phenotype related resources. Most data represents manually-curated knowledge derived from the published literature or research studies.
termsOfService: https://monarchinitiative.org/page/disclaimer
contact:
name: contact name
email: contact@resource.org
x-role: responsible developer
@micheldumontier
micheldumontier / myapi-smartapi.yaml
Created December 19, 2017 13:10
a minimal smartAPI description
openapi: 3.0.0
info:
title: my.sparql.api
version: 0.1.0
description: my awesome sparql API
termsOfService: http://github.com/jane.doe/tos
contact:
name: jane doe
x-id: http://github.com/jane.doe
x-role: responsible developer
@micheldumontier
micheldumontier / myapi-oas3.yaml
Last active December 19, 2017 13:01
lightweight openAPI description
openapi: 3.0.0
info:
title: my.sparql.api
version: 0.1.0
description: my awesome sparql API
contact:
name: jane doe
x-id: http://github.com/jane.doe
x-role: responsible developer
x-externalResources:
@micheldumontier
micheldumontier / gist:cc4db9edf1e07c53485dcec2fa6999e5
Created May 9, 2017 21:09
JSON-LD expansion of values into IRIs
{
"@context": {
"@vocab": "http://schema.org/",
"symbol": {
"@id": "http://schema.org/symbol",
"@type": "@id"
},
"pathway": {
"@id": "http://schema.org/regulates",
"@type": "@id"