1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//! RDF (Resource Description Framework) Graph Model.
//!
//! This module implements an RDF triple store following the W3C RDF 1.1 specification.
//!
//! RDF represents data as triples (Subject, Predicate, Object) forming a directed graph
//! where edges are predicates connecting subject and object nodes.
//!
//! # Key Concepts
//!
//! - **IRI**: Internationalized Resource Identifier, uniquely identifies resources
//! - **Blank Node**: Anonymous node within a graph
//! - **Literal**: Data value (string, number, date, etc.) with optional datatype/language
//! - **Triple**: The fundamental unit (subject, predicate, object)
//! - **Named Graph**: A set of triples identified by an IRI
//!
//! # Example
//!
//! ```
//! use grafeo_core::graph::rdf::{RdfStore, Term, Triple};
//!
//! let store = RdfStore::new();
//!
//! // Add a triple: <http://example.org/alix> <http://xmlns.com/foaf/0.1/name> "Alix"
//! store.insert(Triple::new(
//! Term::iri("http://example.org/alix"),
//! Term::iri("http://xmlns.com/foaf/0.1/name"),
//! Term::literal("Alix"),
//! ));
//!
//! // Query triples with a specific subject
//! let subject = Term::iri("http://example.org/alix");
//! for triple in store.triples_with_subject(&subject) {
//! println!("{:?}", triple);
//! }
//! ```
pub use TermDictionary;
pub use RdfGraphStoreAdapter;
pub use RdfStoreSection;
pub use ;
pub use ;
pub use ;
pub use ;