Skip to content

Commit 497299a

Browse files
committed
Initialize FlyBase knowledge graph data product
0 parents  commit 497299a

31 files changed

Lines changed: 478 additions & 0 deletions

File tree

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
* text=auto eol=lf
2+
*.png binary
3+
*.jpg binary
4+
*.jpeg binary
5+
*.pdf binary
6+
*.parquet binary
7+
*.gz binary
8+
*.zst binary

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: FlyBase contact
4+
url: https://flybase.org/contact/email
5+
about: Contact FlyBase about records or topics outside this dataset project.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Schema or biological-model question
2+
description: Ask about a graph concept or propose a source-backed correction.
3+
title: "[Schema]: "
4+
labels:
5+
- schema
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: >-
10+
Please do not include credentials, private infrastructure details, or
11+
unpublished/restricted data.
12+
- type: input
13+
id: release
14+
attributes:
15+
label: FlyBase/graph release
16+
description: Identify the release if the question concerns published data.
17+
placeholder: FB2026_02 / schema-v1.0.0
18+
- type: textarea
19+
id: concept
20+
attributes:
21+
label: Biological concept or graph member
22+
description: Name the entity, assertion, relationship, or property.
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: source
27+
attributes:
28+
label: Source evidence
29+
description: Link or cite the relevant FlyBase field, identifier, ontology, or publication.
30+
- type: textarea
31+
id: expected
32+
attributes:
33+
label: Expected interpretation
34+
description: Explain the scientific meaning you expected in plain language.
35+
validations:
36+
required: true

.github/workflows/secret-scan.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Secret scan
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
gitleaks:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check out repository
18+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
19+
with:
20+
fetch-depth: 0
21+
- name: Scan Git history and changes
22+
uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.DS_Store
2+
.env
3+
.env.*
4+
!.env.example
5+
.venv/
6+
__pycache__/
7+
*.py[cod]
8+
*.log
9+
10+
# Full graph releases and local database state belong in object storage.
11+
artifacts/
12+
downloads/
13+
neo4j-data/
14+
*.dump
15+
*.dump.gz
16+
*.parquet
17+
*.csv.gz
18+
*.tsv.gz
19+
*.tar
20+
*.tar.gz
21+
*.tar.zst
22+
23+
# Notebook and local-tool state.
24+
.ipynb_checkpoints/
25+
.duckdb/
26+
*.duckdb

CITATION.cff

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
cff-version: 1.2.0
2+
message: >-
3+
Please cite FlyBase and identify the exact FlyBase Knowledge Graph release
4+
used in your work.
5+
title: FlyBase Knowledge Graph
6+
type: dataset
7+
authors:
8+
- name: FlyBase Consortium
9+
license: CC-BY-4.0
10+
repository-code: https://github.com/FlyBase/knowledge-graph
11+
url: https://flybase.org/
12+
version: 0.1.0-dev
13+
keywords:
14+
- Drosophila
15+
- FlyBase
16+
- knowledge graph
17+
- genetics
18+
- genomics
19+
preferred-citation:
20+
type: article
21+
title: "FlyBase: updates to the Drosophila genes and genomes database"
22+
authors:
23+
- family-names: Öztürk-Çolak
24+
given-names: Ayça
25+
- name: FlyBase Consortium
26+
journal: Genetics
27+
year: 2024
28+
volume: 227
29+
issue: 1
30+
doi: 10.1093/genetics/iyad211

CONTRIBUTING.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Contributing
2+
3+
FlyBase welcomes corrections, scientist use cases, documentation improvements,
4+
and reproducible examples.
5+
6+
## Before opening a change
7+
8+
- Search existing issues for the same biological concept or source field.
9+
- Use official FlyBase identifiers, ontology identifiers, and source vocabulary.
10+
- Cite the public FlyBase file, report field, ontology, or publication that
11+
supports the proposal.
12+
- Explain whether a proposal changes biological identity, an evidence-bearing
13+
assertion, provenance, release metadata, or display/navigation metadata.
14+
- Never submit credentials, private hosts, Chat logs, account data, unpublished
15+
curator notes, or restricted third-party data.
16+
17+
## Schema proposals
18+
19+
A schema proposal should include:
20+
21+
1. the affected entity, assertion, relationship, or property;
22+
2. the exact source field and release;
23+
3. domain, range, direction, cardinality, and null behavior;
24+
4. evidence, qualifier, and provenance behavior;
25+
5. licensing/redistribution status; and
26+
6. at least one source-backed example and one relevant negative boundary.
27+
28+
Do not introduce replacement identifiers, hardcoded biological answer lists,
29+
or generated links as evidence. Approximate interoperability mappings must be
30+
identified as broader, narrower, partial, or unmapped rather than described as
31+
exact.
32+
33+
## Pull requests
34+
35+
- Keep changes focused and explain their scientific effect in plain language.
36+
- Run the repository validation and secret-scanning checks.
37+
- Do not commit generated full-release artifacts, database dumps, or large
38+
downloads.
39+
- Schema changes require regenerated documentation and a compatibility note.
40+
41+
Biological corrections may require verification against the current FlyBase
42+
release before merge.

GOVERNANCE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Governance
2+
3+
The FlyBase Consortium maintains the FlyBase Knowledge Graph as a public,
4+
release-keyed scientific data product.
5+
6+
## Decision principles
7+
8+
- FlyBase source fields, identifiers, controlled vocabularies, ontologies, and
9+
curation semantics are authoritative.
10+
- Evidence-bearing assertions remain distinct from search terms, generated
11+
descriptions, navigation URLs, and other planning or display context.
12+
- One canonical biological model feeds all public formats.
13+
- Changes are evaluated for scientific meaning, evidence/provenance retention,
14+
source coverage, licensing, compatibility, and usability by scientists.
15+
- Unresolved or unlicensed content is excluded from a release rather than
16+
guessed or silently simplified.
17+
18+
## Change process
19+
20+
- Documentation-only corrections may be reviewed through an ordinary pull
21+
request.
22+
- Additive compatible schema changes require source evidence, regenerated
23+
documentation, and release notes.
24+
- Breaking changes require a schema major-version change and migration guide.
25+
- Published release objects are immutable. Corrections produce a new release
26+
revision.
27+
28+
The public issue tracker records proposals and user questions. FlyBase
29+
maintainers make release decisions and may request curator or domain-expert
30+
review when source semantics are disputed.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 FlyBase Consortium
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

LICENSE-DATA.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Data license
2+
3+
FlyBase-produced data and annotations in an explicitly published FlyBase
4+
Knowledge Graph release are made available under the
5+
[Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/)
6+
(CC BY 4.0).
7+
8+
The required attribution is to the FlyBase Consortium. Publications and
9+
derived products should identify the exact FlyBase data release and the exact
10+
knowledge-graph dataset/schema version. See `CITATION.cff` and the release's
11+
machine-readable manifest for the preferred citation.
12+
13+
## Third-party content
14+
15+
FlyBase incorporates information from external resources. CC BY 4.0 does not
16+
automatically override a third party's copyright or license. Every published
17+
graph release must include a field/data-family source and license inventory.
18+
Material with unknown or incompatible redistribution terms must be excluded or
19+
distributed separately under its applicable terms.
20+
21+
The authoritative FlyBase licensing statement is maintained on the
22+
[FlyBase About page](https://wiki.flybase.org/wiki/FlyBase%3AAbout). The
23+
manifest accompanying a release controls the included-source and attribution
24+
details for that release.
25+
26+
## No stable dataset yet
27+
28+
This repository is pre-release. The presence of a schema draft, example, or
29+
mapping in Git does not by itself designate a stable data release.

0 commit comments

Comments
 (0)