Closed lulu-berlin closed 3 years ago
I'm not the owner of sophia
but as a common API for RDF in Rust (#23) sophia
should really only include "the most common namespaces", in my opinion.
However, for exactly this reason the namespace!
macro is public. You can just create your own ontology crate all you need to do is having sophia_api
as dependency and do something like:
#[macro_use]
extern crate sophia_api;
pub mod lemon {
namespace!(
"http://www.w3.org/ns/lemon/ontolex#",
// I don't know the actual vocabulary
Lemon,
Grenade,
Orange,
...
)
}
@MattesWhite This is exactly what I was about to answer. :-)
@yever unless you have a strong objection, I think we can close this issue? On a different topic: I am also involved in semweb + linguistics projects, so I would be interested to learn more about your work ;)
Thank you both :-)
I'll create my own crate for the namespaces I need, so I'm closing this issue.
@yever , @pchampin , @MattesWhite I published a crate rdf_vocabularies, (source: @ github). This crate is a distribution of few most commonly used RDF vocabularies. It also provides sophia terms for each vocabulary's terminology.
It also includes ontolex lemon, lime, vartrans, and lexvo, gold ontologies for semantic linguistics. It also provides their ontologies as sophia datasets behind corresponding feature flags. These vocabs are generated from their ontology distributions directly. feedback welcome.
@damooo thanks, that looks very nice.
I would like to use sophia for building a multilingual dictionary, for which I need
http://www.w3.org/ns/lemon/ontolex#
and some other associated modules.I'm wondering whether it would make sense to contribute these namespaces to
sophia_api::ns
, or are you satisfied with the existing ones as "the most common namespaces"?