Builds PaperTrail from the base skeleton into a full evidence-verification platform for the "Built with Claude: Life Sciences" hackathon (Builder Track). New named-user features (Build Beyond the Bench): - Lab Notebook Companion — rough bench notes -> structured, searchable, grounded experiment records (lib/labNotebook, /console/lab-notebook, migration 0059) - Clinical Trial Matcher — de-identified patient notes -> ranked eligible ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning (lib/trialMatcher, /console/trial-matcher, migrations 0060) Platform: - Deterministic verification moat (biostats recompute, exact-span grounding) - 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar, PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier) - Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise governance (RBAC, /api/v1 gateway, metering, audit chain, retention) - 17 OSS projects assimilated into native TypeScript on our stack (backend/engines retained + credited in NOTICE) - Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site - Next.js 16 upgrade, benchmark harness (honest smoke-test caveat) Licensing: Apache-2.0 (LICENSE + NOTICE).
35 lines
1.3 KiB
Markdown
35 lines
1.3 KiB
Markdown
# Resource Description Framework (RDF)
|
|
|
|
In this section, we will learn how to use and implement the output to RDF using
|
|
the `_RDFWriter` module.
|
|
|
|
## RDF settings
|
|
|
|
To write your output to RDF, you have to specify some RDF settings in the
|
|
`biocypher_config.yaml`. Using `file_format`, you can choose to export to `XML`,
|
|
`Turtle` or any other format `rdflib` supports. The second configuration is the
|
|
`rdf_namespaces`, where you can specify which namespaces exist in your data. If,
|
|
for instance, your data contain SO (Sequence ontology) terms such as
|
|
`SO:0000001`, IDs will be converted into valid URIs to allow referencing. Thus,
|
|
`SO:0000001` will be converted into `http://purl.obolibrary.org/obo/SO_0000001`.
|
|
When a node cannot be converted, a default URI will be used
|
|
(`https://biocypher.org/biocypher#<node_id>`). Running the pipeline, the
|
|
`_RDFWriter` will create a file for every node and relationship type you have
|
|
specified.
|
|
|
|
```yaml title="biocypher_config.yaml"
|
|
biocypher:
|
|
strict_mode: true
|
|
schema_config_path: config/schema_config.yaml
|
|
dbms: rdf
|
|
|
|
### RDF configuration ###
|
|
rdf:
|
|
file_format: turtle
|
|
# options: xml, n3, turtle or ttl, nt, pretty-xml, trix, trig, nquads, json-ld
|
|
rdf_namespaces:
|
|
so: http://purl.obolibrary.org/obo/SO_
|
|
efo: http://www.ebi.ac.uk/efo/EFO_
|
|
|
|
```
|