@prefix dcat:    <https://www.w3.org/ns/dcat#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ordo:    <http://www.orpha.net/ORDO/Orphanet_> .
@prefix omim:    <https://omim.org/entry/> .
@prefix hp:      <http://purl.obolibrary.org/obo/HP_> .
@prefix mondo:   <http://purl.obolibrary.org/obo/MONDO_> .
@prefix fdp:     <https://w3id.org/fdp/fdp-o#> .
@prefix r3d:     <http://www.re3data.org/schema/3-0#> .
@prefix :        <https://fdp.semscape.org/ga4gh-rare-disease-trajectories/fdp/catalog.ttl#> .

# ─── FAIR Data Point root ─────────────────────────────────────────────────────

<https://fdp.semscape.org/ga4gh-rare-disease-trajectories/fdp/catalog.ttl>
    a                    fdp:MetadataService, r3d:Repository ;
    dcterms:title        "GA4GH Rare Disease Trajectories — FAIR Data Point"@en ;
    dcterms:description  """FAIR Data Point for the GA4GH 'Bring Your Own Disease'
session (April 16 2026). Contains disease trajectory descriptions, ontology mappings,
gap analyses, and community-submitted disease case reports."""@en ;
    dcterms:publisher    :publisher ;
    dcterms:license      <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:issued       "2026-04-16"^^xsd:date ;
    dcterms:modified     "2026-04-16"^^xsd:date ;
    fdp:hasCatalog       :catalog .

# ─── Catalog ──────────────────────────────────────────────────────────────────

:catalog a dcat:Catalog ;
    dcterms:title       "Rare Disease Trajectory Descriptions — GA4GH Session April 2026"@en ;
    dcterms:description """Structured disease narratives, ontology mappings, and gap analyses
collected during the GA4GH 'Bring Your Own Disease' biohackathon session (April 16, 2026).
Includes community-submitted disease cases contributed via ORCID-authenticated web forms."""@en ;
    dcterms:issued      "2026-04-16"^^xsd:date ;
    dcterms:modified    "2026-04-16"^^xsd:date ;
    dcterms:license     <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:publisher   :publisher ;
    dcat:themeTaxonomy  <http://www.orpha.net/ontology/orphanet.owl> ,
                        <http://purl.obolibrary.org/obo/hp.owl> ,
                        <http://purl.obolibrary.org/obo/mondo.owl> ;
    dcat:dataset        :dataset-als-tdi ,
                        :dataset-rare-x ,
                        :dataset-iamrare ,
                        :dataset-phenodb ,
                        :dataset-gaps ,
                        :dataset-submissions .

:publisher a foaf:Organization ;
    foaf:name  "GA4GH Rare Disease Phenotyping Working Group" ;
    foaf:page  <https://www.ga4gh.org/> .

# ─── Curated datasets ─────────────────────────────────────────────────────────

:dataset-als-tdi a dcat:Dataset ;
    dcterms:title       "ALS TDI Registry — Disease Trajectory Description"@en ;
    dcterms:description "Structured narrative and phenotype timeline for ALS-TDI registry data, mapped to HPO and Phenopackets v2."@en ;
    dcterms:subject     mondo:0004976 ;              # ALS
    dcat:keyword        "ALS"@en, "motor neuron disease"@en, "disease trajectory"@en, "registry"@en, "Phenopackets"@en ;
    dcterms:issued      "2026-04-16"^^xsd:date ;
    dcterms:license     <https://creativecommons.org/licenses/by/4.0/> ;
    dcat:landingPage    <https://github.com/StaticFDP/ga4gh-rare-disease-trajectories/tree/main/cases/als-tdi> ;
    dcat:distribution   :dist-als-narrative , :dist-als-timeline , :dist-als-phenomap .

:dist-als-narrative a dcat:Distribution ;
    dcterms:title    "ALS TDI narrative (Markdown)"@en ;
    dcterms:format   "text/markdown" ;
    dcat:accessURL   <https://fdp.semscape.org/ga4gh-rare-disease-trajectories/cases/als-tdi/narrative.md> .

:dist-als-timeline a dcat:Distribution ;
    dcterms:title    "ALS TDI disease timeline (YAML)"@en ;
    dcterms:format   "application/yaml" ;
    dcat:accessURL   <https://fdp.semscape.org/ga4gh-rare-disease-trajectories/cases/als-tdi/timeline.yaml> .

:dist-als-phenomap a dcat:Distribution ;
    dcterms:title    "ALS TDI HPO phenotype map (YAML)"@en ;
    dcterms:format   "application/yaml" ;
    dcat:accessURL   <https://fdp.semscape.org/ga4gh-rare-disease-trajectories/cases/als-tdi/phenotype-map.yaml> .

:dataset-rare-x a dcat:Dataset ;
    dcterms:title       "RARE-X PRO Surveys — Patient-Reported Outcome Mapping"@en ;
    dcterms:description "Patient-reported outcome (PRO) survey structure from the RARE-X platform, mapped to HPO and GA4GH Phenopackets."@en ;
    dcat:keyword        "patient-reported outcomes"@en, "PRO"@en, "RARE-X"@en, "HPO mapping"@en ;
    dcterms:issued      "2026-04-16"^^xsd:date ;
    dcterms:license     <https://creativecommons.org/licenses/by/4.0/> ;
    dcat:landingPage    <https://github.com/StaticFDP/ga4gh-rare-disease-trajectories/tree/main/cases/rare-x> .

:dataset-iamrare a dcat:Dataset ;
    dcterms:title       "IAMRARE Registry — Structured Narrative Description"@en ;
    dcterms:description "Structured description of the IAMRARE registry data model (NORD), including variable coverage and interoperability gaps."@en ;
    dcat:keyword        "IAMRARE"@en, "NORD"@en, "patient registry"@en, "rare disease"@en ;
    dcterms:issued      "2026-04-16"^^xsd:date ;
    dcterms:license     <https://creativecommons.org/licenses/by/4.0/> ;
    dcat:landingPage    <https://github.com/StaticFDP/ga4gh-rare-disease-trajectories/tree/main/cases/iamrare> .

:dataset-phenodb a dcat:Dataset ;
    dcterms:title       "PhenoDB — Clinical Genetics Phenotyping Workflow"@en ;
    dcterms:description "Description of PhenoDB clinical genetics phenotyping workflow and its alignment with HPO and Phenopackets v2."@en ;
    dcat:keyword        "PhenoDB"@en, "clinical genetics"@en, "HPO"@en, "Phenopackets"@en ;
    dcterms:issued      "2026-04-16"^^xsd:date ;
    dcterms:license     <https://creativecommons.org/licenses/by/4.0/> ;
    dcat:landingPage    <https://github.com/StaticFDP/ga4gh-rare-disease-trajectories/tree/main/cases/phenodb> .

:dataset-gaps a dcat:Dataset ;
    dcterms:title       "Identified Ontology and Data Model Gaps"@en ;
    dcterms:description "Community-reported ontology and data model gaps identified during the BYOD session, spanning ORDO, HPO, ICD, Phenopackets, and registry interoperability."@en ;
    dcat:keyword        "ontology gaps"@en, "ORDO"@en, "HPO"@en, "Phenopackets"@en, "rare disease"@en, "phenotyping"@en ;
    dcterms:issued      "2026-04-16"^^xsd:date ;
    dcterms:license     <https://creativecommons.org/licenses/by/4.0/> ;
    dcat:landingPage    <https://github.com/StaticFDP/ga4gh-rare-disease-trajectories/issues?q=label%3Aontology-gap> .

# ─── Community-submitted cases (auto-generated from GitHub Issues) ─────────────

:dataset-submissions a dcat:Dataset ;
    dcterms:title       "Community-Submitted Disease Cases"@en ;
    dcterms:description """Disease case reports submitted by the community via ORCID-authenticated
web forms during the GA4GH BYOD session. Each case is stored as a GitHub Issue and
automatically converted to RDF by a GitHub Actions pipeline."""@en ;
    dcat:keyword        "community submissions"@en, "disease cases"@en, "patient data"@en, "ORCID"@en ;
    dcterms:issued      "2026-04-16"^^xsd:date ;
    dcterms:license     <https://creativecommons.org/licenses/by/4.0/> ;
    dcat:landingPage    <https://github.com/StaticFDP/ga4gh-rare-disease-trajectories/issues?q=label%3Adisease-case> ;
    dcat:distribution   :dist-submissions-ttl .

:dist-submissions-ttl a dcat:Distribution ;
    dcterms:title    "Submitted disease cases — RDF Turtle"@en ;
    dcterms:format   "text/turtle" ;
    dcat:accessURL   <https://fdp.semscape.org/ga4gh-rare-disease-trajectories/fdp/submissions.ttl> ;
    dcat:downloadURL <https://fdp.semscape.org/ga4gh-rare-disease-trajectories/fdp/submissions.ttl> .
