This project involves the creation of an ontology to model concepts and relationships within a supply chain. The ontology is a formal, semantic representation of the supply chain domain using the OWL (Web Ontology Language) to structure and define entities relevant to supply chain management.
The primary goal is to provide a clear and semantic framework to represent different elements involved in a supply chain, such as supply chain projects, shipments, vendors, products, countries, etc. This ontology enhances understanding and interoperability among systems dealing with supply chain-related information.
-
InsightfulQueries.txt: Contains insightful SPARQL queries for the supply chain ontology.
-
populateSupplyChainRDFdb.ipynb: A Jupyter Notebook file for populating the RDF database with supply chain data.
-
SCMS_Delivery_History_Dataset(FOR USE).xlsx: An Excel file containing the supply chain delivery history dataset for use in the project.
-
SCMS_Delivery_History_Dataset(ORIGINAL).csv: The original CSV version of the supply chain delivery history dataset.
- SupplyChain.rdf: The RDF file representing the supply chain ontology.
- visualization.svg: SVG file depicting a visualization related to the supply chain project.
- countries.ttl: The Turtle file with the serialization of countries data.
- pq.ttl: The Turtle file with the serialization of PQ Supply Chain data.
- products.ttl: The Turtle file with the serialization of products data.
- projects.ttl: The Turtle file with the serialization of projects data.
- shipment.ttl: The Turtle file with the serialization of shipment data.
- vendors.ttl: The Turtle file with the serialization of vendors data.
- proj-cnt.ttl: The Turtle file with the joins of project and countries data.
- proj-pq.ttl: The Turtle file with the joins of project and PQ Supply Chain data.
- proj-prod.ttl: The Turtle file with the joins of project and product data.
- proj-ship.ttl: The Turtle file with the joins of project and shipment data.
- proj-ven.ttl: The Turtle file with the joins of project and vendor data.
- README.md: Project documentation providing an overview, objectives, instructions on how to use the ontology, software installation, key components, queries execution, and a disclaimer.
- analytics.pdf: Analytics analyzes the result of the queries and give some analysis of the data based on the queries result.
To utilize the ontology, follow these steps:
- Clone the repository.
- Open the ontology in Protegé, an ontology editing tool.
- Add instances, define relationships, and save your changes.
- Download Protégé Desktop for your OS from the Protégé website.
- Extract the compressed file to a location of your choice.
- Run the executable or shell script.
- If prompted, install the Snap SPARQL Query Plugin.
- Open an ontology file in your system (e.g., .ttl, .owl) by clicking
File -> Open. - Open an ontology file on the web by copying its URL, then click
File -> Open by URLand paste the URL into the URI text box.
The main classes in the ontology include:
- Project: Represents specific projects related to the supply chain.
- Shipment: Represents the physical shipment of products.
- Vendor: Represents suppliers or sellers.
- Product: Represents specific products.
- Country: Represents countries.
- PQSupplyChain: Represents PQ-related data.
Properties such as hasShipment, hasProduct, hasVendor, hasCountry, hasPQSupplyChain are used to define specific relationships and attributes.
To execute SPARQL queries: Ensure you've installed the Snap SPARQL Query Plugin.
- Open Protégé with an ontology.
- Go to
Window -> Tabs -> SPARQL Queryand enable it. - Click the
SPARQL Querytab. - Remove the view by clicking the tiny rightmost box marked with an X.
- Enable
Window -> Views -> Query views -> Snap SPARQL Query. - Click the empty view.
- Start your reasoner (ensure HermiT is selected).
- Type your query and click
Execute.
This project is a conceptual representation and not intended for ready-to-use implementation. Adaptations may be required based on user needs.
We hope this ontology serves as a valuable tool for modeling and understanding supply chain processes, promoting interoperability, and facilitating communication among systems dealing with supply chain information.