百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

sophia_rs

> 编程语言
开源

Sophia: 用于 RDF 和链接数据的 Rust 工具包

325 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Sophia: 用于 RDF 和链接数据的 Rust 工具包

Sophia

A Rust toolkit for RDF and Linked Data. It comprises the following crates:

  • Core crates:
    • sophia_api defines a generic API for RDF 1.2 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_bcp47 provides functions and types for validating BCP47 language tags.
    • sophia_iri provides functions, types and traits for validating and resolving IRIs.
    • sophia_term defines various implementations of the Term trait from sophia_api.
    • sophia_inmem defines in-memory implementations of the Graph and Dataset traits from sophia_api.
  • Parsers and serializers
    • sophia_turtle provides parsers and serializers for the Turtle-family of concrete syntaxes (for RDF 1.2).
    • sophia_jsonld provides parsers and serializers for JSON-LD 1.1.
    • sophia_xml provides parsers and serializers for RDF/XML 1.2.
  • Other
    • sophia_c14n implements RDF canonicalization.
    • sophia_isomorphism provides functions to determine if two graphs or datasets are isomorphic.
    • sophia_sparql provides a (currently partial) implementation of the SPARQL 1.2 Query Language.
    • sophia_sparql_client provides a client for the SPARQL 1.1 Protocol.
    • [sophia_reasoner] provides reasoning over Simple, RDF and RDF-Schema entailment regimes
    • sophia_resource provides a resource-centric API.
  • All-inclusive
    • sophia re-exports symbols from all the crates above, with the following provisio:
      • sophia_jsonld is only available with the jsonld feature
      • sophia_sparql is only available with the sparql feature
      • sophia_sparql_client is only available with the http_client feature
      • sophia_xml is only available with the xml feature

In addition to the API documentation, a high-level user documentation is available (although not quite complete yet).

Licence

This project is licensed under either or

  • Apache License, Version 2.0
  • CECILL-B License, compatible with BSD

at your option.

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:

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}
}

Third-party crates

The following third-party crates are using or extending Sophia

  • hdt provides an implementation of Sophia's traits based on the HDT format.
  • manas is a modular framework for implementing Solid compatible servers
  • nanopub is a toolkit for managing nanopublications

History

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

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言