# muhammadyahta/manufacturingproductionlinedatasetgeneration-football- architecture

> Architecture diagram of the GitHub repository muhammadyahta/manufacturingproductionlinedatasetgeneration-football-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-
- Repository: https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-

## Overview

This repository combines a synthetic football-production data generator with a separate ontology-based RDF mapping application. The main user workflow is to choose a generation range, create and aggregate production-line records, and write an Excel result; the documented KG workflow maps production data to ontology terms and supports querying the resulting dataset. The Python entry-point orchestration and parts of the Java mapper are visible; omitted Java code leaves its exact input and output wiring uncertain.

Main entry points: [`dgPython/run.py`](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/run.py) (Generator CLI), [`rdmap/com.nuig/src/main/java/CSVtoRDFFile/com/nuig/ImportCSVFile.java`](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/rdmap/com.nuig/src/main/java/CSVtoRDFFile/com/nuig/ImportCSVFile.java) (CSV RDF mapper), [`dgPython/utils.py`](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/utils.py) (Process generation), [`queries`](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/tree/main/queries) (Example queries)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_generation["Data generation"]
  node_entry["Generator CLI<br/>[run.py]"]
  node_source_data["Production sample"]
  node_config["Generator config<br/>[config.json]"]
  node_generation_logic["Process generation<br/>[utils.py]"]
  node_line_stages["Line process stages<br/>[utils.py]"]
  node_aggregation["Record aggregation<br/>[utils.py]"]
  node_result["Generated records<br/>[result.xlsx]"]
end

subgraph group_mapping["Semantic mapping"]
  node_mapper["CSV RDF mapper<br/>[ImportCSVFile.java]"]
  node_ontology["Production ontology<br/>[smO.owl]"]
  node_knowledge_graph[("Production knowledge graph")]
end

subgraph group_access["Dataset access"]
  node_virtuoso[("Virtuoso server")]
  node_query_files["Example queries"]
  node_embedding["KG embedding evaluation"]
end

node_operator(("Dataset user"))
node_analysts(("Dataset analysts"))

node_operator -->|"runs"| node_entry
node_entry -->|"reads"| node_source_data
node_entry -->|"loads"| node_config
node_entry -->|"calls"| node_generation_logic
node_generation_logic -->|"generates"| node_line_stages
node_entry -->|"calls"| node_aggregation
node_entry -->|"writes"| node_result
node_mapper -->|"loads"| node_ontology
node_mapper -->|"populates"| node_knowledge_graph
node_knowledge_graph -->|"uploads to"| node_virtuoso
node_analysts -->|"query"| node_virtuoso
node_query_files -->|"queries"| node_virtuoso
node_virtuoso -.->|"provides data"| node_embedding

click node_entry "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/run.py"
click node_source_data "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/DataSampleUpdated.xlsx"
click node_config "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/config.json"
click node_generation_logic "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/utils.py"
click node_line_stages "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/utils.py"
click node_aggregation "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/utils.py"
click node_result "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/result.xlsx"
click node_mapper "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/rdmap/com.nuig/src/main/java/CSVtoRDFFile/com/nuig/ImportCSVFile.java"
click node_ontology "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/rdmap/com.nuig/model/smO.owl"
click node_query_files "https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/tree/main/queries"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_source_data,node_config,node_generation_logic,node_line_stages,node_aggregation,node_result,node_operator toneBlue
class node_mapper,node_ontology,node_knowledge_graph toneAmber
class node_virtuoso,node_query_files,node_embedding toneMint
class node_analysts toneIndigo
```

## Components

### Data generation

- [Generator CLI](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/run.py): `dgPython/run.py`
- [Production sample](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/DataSampleUpdated.xlsx): `dgPython/DataSampleUpdated.xlsx`
- [Generator config](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/config.json): `dgPython/config.json`
- [Process generation](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/utils.py): `dgPython/utils.py`
- [Line process stages](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/utils.py): `dgPython/utils.py`
- [Record aggregation](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/utils.py): `dgPython/utils.py`
- [Generated records](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/dgPython/result.xlsx): `dgPython/result.xlsx`

### Semantic mapping

- [CSV RDF mapper](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/rdmap/com.nuig/src/main/java/CSVtoRDFFile/com/nuig/ImportCSVFile.java): `rdmap/com.nuig/src/main/java/CSVtoRDFFile/com/nuig/ImportCSVFile.java`
- [Production ontology](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/blob/main/rdmap/com.nuig/model/smO.owl): `rdmap/com.nuig/model/smO.owl`
- **Production knowledge graph**

### Dataset access

- **Virtuoso server**
- [Example queries](https://github.com/muhammadyahta/manufacturingproductionlinedatasetgeneration-football-/tree/main/queries): `queries`
- **KG embedding evaluation**

### Other components

- **Dataset user**
- **Dataset analysts**

## Connections

- Dataset user → Generator CLI: runs
- Generator CLI → Production sample: reads
- Generator CLI → Generator config: loads
- Generator CLI → Process generation: calls
- Process generation → Line process stages: generates
- Generator CLI → Record aggregation: calls
- Generator CLI → Generated records: writes
- CSV RDF mapper → Production ontology: loads
- CSV RDF mapper → Production knowledge graph: populates
- Production knowledge graph → Virtuoso server: uploads to
- Dataset analysts → Virtuoso server: query
- Example queries → Virtuoso server: queries
- Virtuoso server → KG embedding evaluation: provides data
