rrdf | Resource Description Framework library written in rust | Data Manipulation library
kandi X-RAY | rrdf Summary
kandi X-RAY | rrdf Summary
Resource Description Language (RDF) library implemented with the Rust programming language. The library contains an implementation of a triple store and a large subset of the SPARQL 1.1 query language. There is not currently any support for serialization via XML or Turtle.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rrdf
rrdf Key Features
rrdf Examples and Code Snippets
Community Discussions
Trending Discussions on rrdf
QUESTION
I like to explore the contents of my triplestores with either the rrdf or SPARQL packages in R. I believe they use cURL under the hood. They can take additional parameters, beyond the endpoint address and the query itself.
Here's GraphDB's notes on cURL-based queries: http://graphdb.ontotext.com/documentation/standard/quick-start-guide.html#query-data-programmatically
I could swear I connected to some password-protected triplestore from R in the past, but I can't remember how I did it. It might have been Stardog or Blazegraph.
I'll be connecting over a VPN. I hope that I can relax the usual rule about not embedding sensitive data (like a password) in a plain text URL.
- Can I connect to a password-protected GraphDB (or any other RDF4J compliant triplestore) by including the username and password as part of the URL?
- Or, can I establish an authenticated connection/session with GraphDB over cURL, as opposed to establishing a secure connection within some Java or Scala code?
ANSWER
Answered 2019-Jun-12 at 14:26From RCurl: HTTP Authentication When Site Responds With HTTP 401 Code Without WWW-Authenticate:
the key is specifying the type of authentication (httpauth
) as a bitmap option (1L
), to be passed to rCURL.
QUESTION
I use a few different triplestores, and code in R and Scala. I think I'm seeing some differences in:
- whether the triplestores include triples other than the ones I explicitly loaded.
- the point at which these "background" triples might be added.
Are there any general rules for whether supporting vocabularies need to be added, independent of the implementation technology?
Using Jena in R, via rrdf, I usually only see what I loaded:
...ANSWER
Answered 2017-Jun-15 at 23:49Are there any general rules for whether supporting vocabularies need to be added, independent of the implementation technology?
That depends on what inferencing scheme your triplestore claims to support. For a pure RDF store (no inferencing), no additional triples should be added at all.
Judging from that fragment you showed, the Blazegraph store you used has at least RDFS inferencing (and possibly partial OWL reasoning as well?) enabled. Note that this is store-specific, not framework, so it's not a Jena vs. Sesame thing: both frameworks support stores that either do or do not do reasoning. Of course, if you use either framework and use the "excluded inferred triples" option that they offer, the backing store should respect that config option and not include such inferred triples in the result.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rrdf
Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page