Skip to content

Commit ae9768c

Browse files
committed
Merge branch 'main' into config
2 parents 4583c1c + 49cc284 commit ae9768c

File tree

5 files changed

+45
-9
lines changed

5 files changed

+45
-9
lines changed

Cargo.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
[package]
22
name = "chilon_rs"
3-
version = "1.3.1"
3+
version = "1.3.2"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88

9-
109
[dependencies]
11-
rio_turtle = { git = "https://github.com/andrefs/lax-rio/", version = "0.7.1"}
12-
rio_api = { git = "https://github.com/andrefs/lax-rio/", version = "0.7.1"}
10+
rio_turtle = { git = "https://github.com/andrefs/lax-rio/", version = "0.7.1" }
11+
rio_api = { git = "https://github.com/andrefs/lax-rio/", version = "0.7.1" }
1312
bzip2 = "0.4.3"
14-
clap = {version = "4.1", features = ["derive"]}
13+
clap = { version = "4.1", features = ["derive"] }
1514
num_cpus = "1.13.1"
1615
rayon = "1.6.0"
1716
ureq = "2.5.0"
1817
regex = "1"
19-
serde = {version = "1.0.87", features = ["derive"]}
18+
serde = { version = "1.0.87", features = ["derive"] }
2019
serde_json = "1.0"
2120
qp-trie = "0.8.0"
2221
log = "0.4.0"

Readme.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,40 @@
33
Namespace-based summarization of RDF graphs.
44

55
[![Rust](https://github.com/andrefs/chilon_rs/actions/workflows/rust.yml/badge.svg)](https://github.com/andrefs/chilon_rs/actions/workflows/rust.yml)
6+
7+
## Installation
8+
9+
```
10+
cargo build --release
11+
```
12+
13+
## Running
14+
15+
```
16+
target/release/chilon_rs [OPTIONS] <RDF_FILE(S)>
17+
```
18+
19+
Run `chilon_rs --help` to view available options.
20+
21+
## Validation
22+
23+
`chilon` has been validated by applying it to 11 RDF graphs, with sizes ranging from a few megabytes and less that 1 million triples, to over 90 gigabytes and thousands of millions of triples:
24+
25+
* WordNet
26+
* KBpedia
27+
* LinkedMDB
28+
* OpenCyc
29+
* ClaimsKG
30+
* DBLP
31+
* CrunchBase
32+
* DBKwik
33+
* Yago
34+
* Wikidata
35+
36+
The resulting summaries and visualizations can be explored here: https://andrefs.github.io/chilon_rs
37+
38+
## Citation
39+
If you use `chilon` or the underlying algorithm on your work, please consider citing:
40+
41+
> dos Santos, A.F., Leal, J.P. (2023). Summarization of Massive RDF Graphs Using Identifier Classification. In: Ojeda-Aciego, M., Sauerwald, K., Jäschke, R. (eds) Graph-Based Representation and Reasoning. ICCS 2023. Lecture Notes in Computer Science(). Springer, Cham. https://doi.org/10.1007/978-3-031-40960-8_8
42+

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(btree_drain_filter)]
1+
#![feature(btree_extract_if)]
22

33
pub mod args;
44
pub mod counter;

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(btree_drain_filter)]
1+
#![feature(btree_extract_if)]
22

33
mod args;
44
mod counter;

src/seg_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ fn infer_namespaces_aux(h: &mut BTreeSet<NamespaceCandidate>, MIN_NS_SIZE: usize
113113
let mut found = false;
114114

115115
match h
116-
.drain_filter(|item| {
116+
.extract_if(|item| {
117117
if !found {
118118
let suitable = item
119119
.node

0 commit comments

Comments
 (0)