s-emanuilov commited on
Commit
e3084a0
·
verified ·
1 Parent(s): 200e5f2

Rename README.MD to README.md

Browse files
Files changed (2) hide show
  1. README.MD +0 -55
  2. README.md +13 -0
README.MD DELETED
@@ -1,55 +0,0 @@
1
- # Rivers Knowledge Base Dataset
2
-
3
- This dataset contains comprehensive structured knowledge about 9,538 U.S. river entities extracted from DBpedia's SPARQL endpoint. Each river is described through 21 attributes including hydrological metrics (length, discharge, watershed area), geographic coordinates (source and mouth locations with elevations), tributary relationships, administrative jurisdictions (state, county, country), and river system memberships. The dataset is provided in two versions: the raw extraction (`raw_rivers.csv`, 5.3MB) containing the original DBpedia data, and an enhanced version (`raw_rivers_filled.csv`, 6.2MB) augmented with LLM-extracted values for missing attributes and an additional `otherNames` field capturing toponymic variants. This knowledge base serves as the foundation for the experimental validation of truth-constrained LLM architectures, providing ground truth for question generation, knowledge graph construction, and hallucination detection evaluation. The structured nature of the data—with explicit modeling of numerical measurements, spatial hierarchies, and relational constraints—makes it ideal for testing formal validation mechanisms and ontological grounding approaches.
4
-
5
- ## Files
6
-
7
- - `raw_rivers.csv` (5.3MB) - Original DBpedia extraction with 9,538 river entities
8
- - `raw_rivers_filled.csv` (6.2MB) - Enhanced version with LLM-augmented missing values and alternative names
9
-
10
- ## Attributes (21 total)
11
-
12
- - **Hydrological**: length (m), discharge (m³/s), watershed area (km²)
13
- - **Geographic**: source location, source mountain, source state, source elevation (m), mouth location, mouth state, mouth elevation (m)
14
- - **Relationships**: river system, left tributary, right tributary
15
- - **Administrative**: state, county, country
16
- - **Identifiers**: river URI, river name, abstract, wikiPageID, other names
17
-
18
- ## Usage
19
-
20
- ```python
21
- import pandas as pd
22
-
23
- # Load raw dataset
24
- df_raw = pd.read_csv('raw_rivers.csv')
25
-
26
- # Load enhanced dataset
27
- df_enhanced = pd.read_csv('raw_rivers_filled.csv')
28
-
29
- # Example: Rivers in California
30
- ca_rivers = df_enhanced[df_enhanced['state'].str.contains('California', na=False)]
31
- print(f"Found {len(ca_rivers)} rivers in California")
32
- ```
33
-
34
- ## Citation
35
-
36
- If you use this dataset in your research, please cite:
37
-
38
- ```bibtex
39
- @dataset{emanuilov2025rivers_kb,
40
- author = {Emanuilov, Simeon},
41
- title = {Rivers Knowledge Base: Structured River Data from DBpedia},
42
- year = {2025},
43
- publisher = {HuggingFace},
44
- howpublished = {\url{https://huggingface.co/datasets/s-emanuilov/rivers-knowledge-base}}
45
- }
46
- ```
47
-
48
- ## License
49
-
50
- This dataset is derived from DBpedia, which is licensed under CC BY-SA 3.0. The enhanced version with LLM-augmented values is released under the same license.
51
-
52
- ## Source
53
-
54
- Original data extracted from DBpedia SPARQL endpoint (https://dbpedia.org/sparql) using queries targeting U.S. river entities with comprehensive attribute retrieval.
55
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Rivers Knowledge Base Dataset
2
+
3
+ Full structured knowledge base combining DBpedia extractions with LLM-augmented data for U.S. rivers. This repository contains raw DBpedia SPARQL query results, augmented hydrological measurements, alternative river names, and geographic and administrative metadata. The knowledge base serves as the source data for knowledge graph construction used in the Licensing Oracle experiments.
4
+
5
+ ## Citation
6
+ ```bibtex
7
+ @article{ackermann2025stemming,
8
+ title={Stemming Hallucination in Language Models Using a Licensing Oracle},
9
+ author={Ackermann, Richard and Emanuilov, Simeon},
10
+ year={2025}
11
+ }
12
+ ```
13
+