Introduction
The Norwegian Petroleum Directorate (NPD) maintains the "FactPages," a comprehensive dataset documenting decades of oil and gas activity on the Norwegian continental shelf. While this data is a vital resource for the energy industry, its current format—primarily HTML factsheets and bulk CSV files—presents significant barriers to complex cross-category analysis. This paper documents the transformation of the FactPages into a semantically enriched Linked Open Data format, demonstrating how OWL ontologies and SPARQL queries can unlock insights trapped in tabular silos.
The Challenge of Tabular Silos
The NPD FactPages are currently "presentation-oriented." As shown in Figure 1, the web interface allows users to view individual wellbore details or download large CSV files. However, performing complex joins across these categories is difficult. For example, a geologist seeking all wellbores with core samples from a specific lithostratigraphic unit would need to manually collect and aggregate data from multiple disparate sources. Furthermore, the lack of stable, global identifiers (URIs) makes it nearly impossible to integrate this data with international industry standards.
Methodology: A Stepwise Semantic Enrichment
To address these limitations, the authors proposed a three-stage "stepwise" enrichment process to move from raw CSVs to a queryable semantic store.
- Relational Baseline: The process began by cleaning and importing 70 CSV files (containing 963 columns) into a MySQL database. This stage was critical for handling "dirty" data, such as mapping various strings like "N/A" or "unknown" to standard NULL values.
- RDF Transformation: Using the D2RQ platform, the relational database was mapped to RDF. The authors moved beyond simple "one table = one class" mappings by creating informative URI patterns and normalizing data, such as splitting columns containing multiple values.
- Ontology Modeling: Finally, an OWL 2 ontology was developed. A base ontology was automatically generated from the database schema, which was then enhanced with "hand-crafted" axioms, including class hierarchies (e.g., defining
FixedFacilityas a subclass ofFacility) and existential restrictions.
Key Insights and Results
The resulting RDF graph contains approximately 2.34 million triples. Evaluation against 20 real-world user questions revealed several key advantages of the semantic approach:
- The Power of Reasoning: The most significant finding involved queries that returned zero results in the raw data due to vocabulary mismatches. By enabling OWL reasoning, the system used class hierarchies to "infer" correct answers, increasing result counts from 0 to over 900 in some cases.
- Query Expressiveness: Formulating queries in SPARQL was often more natural than in SQL. The graph-based nature of RDF allows users to navigate data without the complex
FROMandJOINlogic required by highly denormalized relational databases. - Data Quality: The process of lifting data to RDF/OWL acted as a high-intensity quality check, revealing previously hidden inconsistencies in the source CSVs.
Conclusion and Future Work
While the semantic transformation successfully answered complex questions that were previously impossible to address, the authors noted that manual data cleaning remains a significant bottleneck. Future work will focus on involving domain experts to refine the ontology and moving toward Ontology-Based Data Access (OBDA). This would allow the ontology to act as a virtual layer over the live relational database, ensuring the semantic data remains synchronized with the source FactPages in real-time.
Summary updated