• Stars
    star
    229
  • Rank 174,666 (Top 4 %)
  • Language
    Rust
  • License
    Other
  • Created about 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sophia: a Rust toolkit for RDF and Linked Data

Sophia

A Rust toolkit for RDF and Linked Data.

Actions Status Latest Version Documentation

It comprises the following crates:

  • sophia_api defines a generic API for RDF and linked data, as a set of core traits and types; more precisely, it provides traits for describing
    • terms, triples and quads,
    • graphs and datasets,
    • parsers and serializers
  • sophia_iri provides functions, types and traits for validating and resolving IRIs.
  • sophia_inmem defines in-memory implementations of the Graph and Dataset traits from sophia_api.
  • sophia_turtle provides parsers and serializers for the Turtle-family of concrete syntaxes.
  • sophia_xml provides parsers and serializers for RDF/XML.
  • sophia_jsonld provides preliminary support for JSON-LD.
  • sophia_c14n implements RDF canonicalization.
  • [sophia_resource] provides a resource-centric API.
  • sophia_rio is a lower-level crate, used by the ones above.

and finally:

  • sophia is the “all-inclusive” crate, re-exporting symbols from all the crates above. (actually, sophia_xml is only available if the xml feature is enabled)

Licence

CECILL-B (compatible with BSD)

Testing

The test suite depends on the [the JSON-LD test-suite which is included as a git submodule. In order to run all the tests, you need to execute the following commands:

$ git submodule init
$ git submodule update

Citation

When using Sophia, please use the following citation:

Champin, P.-A. (2020) ‘Sophia: A Linked Data and Semantic Web toolkit for Rust’, in Wilde, E. and Amundsen, M. (eds). The Web Conference 2020: Developers Track, Taipei, TW. Available at: https://www2020devtrack.github.io/site/schedule.

Bibtex:

@misc{champin_sophia_2020,
        title = {{Sophia: A Linked Data and Semantic Web toolkit for Rust},
        author = {Champin, Pierre-Antoine},
        howpublished = {{The Web Conference 2020: Developers Track}},
        address = {Taipei, TW},
        editor = {Wilde, Erik and Amundsen, Mike},
        month = apr,
        year = {2020},
        language = {en},
        url = {https://www2020devtrack.github.io/site/schedule}
}

History

An outdated comparison of Sophia with other RDF libraries is still available here.

More Repositories

1

hydra-py

Hydra implementation of Python
Python
39
star
2

coercible_errors

Zero-cost error handling for generic traits.
Rust
11
star
3

rust-iut

Introduction à Rust en S4 du DUT Informatique de l'IUT Lyon 1 (site Doua)
Jupyter Notebook
7
star
4

journees-rust-2022

Supports pour les Journées DevLog Rust de mai 2022
Jupyter Notebook
7
star
5

sowasm

RDF playground using WASM-compiled Sophia
Rust
7
star
6

media-annotation

Implementation of the W3C Media Annotation ontology
Python
6
star
7

ucum_rs

Rust implementation of the Unified Code for Units of Measure
Rust
5
star
8

sophia_benchmark

Benchmarking sophia and comparing it to other RDF libraries
Jupyter Notebook
5
star
9

intro-git

Cours d'introduction à GIT
Python
5
star
10

ld-patch-py

Implementation of a patch language for RDF
Python
4
star
11

rdflib-fuse

Expose the content of an RDF store as a filesystem hierarchy
Python
4
star
12

rust-w3c-2022

Rust training at W3C
Jupyter Notebook
4
star
13

semwiki

An experimental semantic wiki with bidirectional (text <-> triples) changes
Python
3
star
14

linkedvtt

Interpretation of WebVTT as RDF-based linked data
Python
3
star
15

rdf-genealogy

A graphical representation of the different RDF specifications and their relationships
Makefile
3
star
16

2018-algo-notes

Notes de cours d'algorithmique pour le G3S1
Jupyter Notebook
2
star
17

sphinx-sab-theme

Slides and book theme for Sphinx and Hieroglyph.
CSS
2
star
18

namur

Namur, a.k.a. N3R, a Notation 3 Reasoner
Rust
2
star
19

intro-ia

Cours d'introduction à l'Intelligence Artificlelle - DUT Info
Python
2
star
20

simple-rdf.js

simple in-memory RDF store for JS
JavaScript
2
star
21

webapi

Cours sur les API Web
Python
2
star
22

json-ldq

A JSON-based query language for Linked Data
Python
2
star
23

intro-web

Cours d'introduction au Web (miroir)
HTML
2
star
24

fsa4streams

Finite State Automata for streams
Python
2
star
25

xsd_decimal

Thought on the xsd:decimal datatype
Python
2
star
26

sophia_oxigraph

Sophia adapter for Oxigraph
Rust
2
star
27

minutes_to_gh

A tool for linking github issues to minutes where they were discussed
Rust
1
star
28

2019-algo-notes

Notes de cours d'algorithmique 2019-2010
Jupyter Notebook
1
star
29

2017-algo-notes

Notes de cours d'algorithmique 2017-2018 pour le G3S1
Jupyter Notebook
1
star
30

test_proj2

testing project automation (repo 2)
1
star
31

mownstr

MownStr: Maybe Owned String
Rust
1
star
32

sophia_sparql_client

Client implementation of the SPARQL protocol for Sophia
1
star
33

ld0

Linked Data Zero - Linked Data for beginners
1
star
34

graph_rs

Graph implementation in Rust (toy project at the moment)
Rust
1
star
35

pair_trait

A simple Rust project to demonstrate a problem that I have.
Rust
1
star
36

vsso-next

a proposal to revise the VSSO-Core ontology
1
star
37

py_reiterable

Wrap any iterable into a multi-usage iterable
Python
1
star
38

intro-js

Cours d'introduction à la programmation Web coté client
Python
1
star
39

2017-algo-notes-g2s1

Notes de cours d'algorithmique 2017-2018 pour le G2S1
Jupyter Notebook
1
star
40

sophia_sparql

preliminary SPARQL implementation for Sophia
Rust
1
star
41

sophia-cli

sop, a swiss-army knife for processing RDF and Linked Data on the command line
Rust
1
star