-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use Fuseki as a database, and use JAVA API to update? #1243
Comments
If I understand your question correctly, the answer is no. "Apache Jena Fuseki is a SPARQL server", as the first sentence in the documentation you linked says. Its entire purpose is to support SPARQL and related services over HTTP. You can certainly use Jena as part of a Java application to use the Model API, but Fuseki does not offer the execution of Java code, by intention. Perhaps you can say a bit more about why you need to use Fuseki instead of using Jena's Java APIs directly? |
Hi, @ajs6f Thank you very much for your reply! Your reply is helpful to me. I want to use Fuseki to store RDF data, possibly update in real time, and open up SPARQL Endpoint to outside. I was also going to use Jena's Java APIs , but I found that it can't be accessed by multiple applications at the same time and has no SPARQL Endpoint, which is why I didn't choose TDB directly. As TDB says:
After your reply, I learned that I had to update Fuseki through SPARQL, but this would involve a lot of escape problems in the text, and it would be complicated to write the code. At the same time, HTTP would also increase the performance overhead. I wonder if I missed something about Jena? Best Regards |
Shall we turn this into a GitHub "discussion" because it is not an actionable issue? |
Thanks for your reminding, I have moved to the DISCUSSIONS #1246 . |
We have only recently enables the GH issues and discussions features so we're getting used to how best to use them. Many projects on GH don't split "issues" and "discussions". @chenkun19960427 Do you see a "convert to discussion" option at the end of the right hand panel at the start of the issue? I'd assumed it was available to at least the issue creator as well as project committers. |
Hi, @afs |
Thanks! |
The issue has been resolved! See also discussion on issue: #1246 |
Hi,
Can Fuseki be used with Jena - Model ? Similar to Virtuoso - VirtGraph :
Not by writing SPARQL - INSERT/DELETE :
I find it more convenient than SPARQL, such as Model.createTypedLiteral, without requiring me to specify a specific type .
I know Jena & TDB & Fuseki . I read Apache Jena Fuseki , but I didn't find the API I wanted .
Best Regards
The text was updated successfully, but these errors were encountered: