How noorbayan/basair works
Main components
• Data Sources:
– Corpus Directory: Contains archived data (e.g., QuranTopics.rar, story.rar) that likely include raw or processed text data related to Quranic topics.
– Images Directory: Contains image assets, possibly for display or analysis in visual representations.
• Processing/Transformation Modules:
– maps.py: Likely functions for mapping or processing input data to identify relationships between Quranic concepts.
– topic_template.py: Indicates structured templates for handling or extracting topics; possibly used in AI or data transformation steps.
• AI/Analytical Engine:
– The project is AI-powered, so it likely includes (or will include) routines to interpret, analyze, and structure the ontology data.
• Ontology Database:
– The end goal is to build a database (concept ontology) that links Quranic concepts to trusted sources. This component might not yet be fully implemented as a standalone database system but is conceptually central to the design.
• External Sources & Integration (Conceptual):
Relationships and interactions
• Data ingestion pipelines will pull content from the corpus (and perhaps images) to feed into the data processing modules.
• The processing modules (maps.py and topic_template.py) will parse this content, extract Quranic concepts, and potentially apply AI algorithms to map these concepts accurately.
• The output of these processes will populate the ontology database.
• If the project has plans for expanding interconnections, there might be modules for integrating external data sources (e.g., trusted tafsir repositories).
Architectural patterns & design principles
• Modularity: Each component (data ingestion, processing, AI, database) should be represented as modular blocks.
• Separation of Concerns: Clearly distinguish the modules that manage raw data (corpus, images) from those that handle processing and transformation.
• Scalability: Although the current file tree is small, consider indicating that the ontology database module may need to scale as more literature or external sources are integrated.
Incorporate relevant technologies and frameworks
• While the provided file tree doesn’t list specific frameworks, mention Python as the core environment given the .py files.
• AI components, if implemented further, may include machine learning libraries. Make a note to include future expansions here.
• Indicating future integration points for databases (e.g., graph databases like Neo4j which are well suited for ontologies) or for API-based external data connections.