Coder Social home page Coder Social logo

Comments (5)

ali1k avatar ali1k commented on July 19, 2024 1

thanks @mathib
I updated the SPARQL query APIs to use /query for selection queries and /update for update queries. It is still compatible with /annex one though.

from ld-r.

ali1k avatar ali1k commented on July 19, 2024

I updated the Stardog sample config since they seem to have updated their endpoint URL. Can you try to use /annex/testDB/sparql/query as your path and see if update queries would work?

from ld-r.

mathib avatar mathib commented on July 19, 2024

It works, thanks! My bad, because I overlooked those comments in the server.js config... Awesome framework :)

Do you know what the difference is when using this alternative path? I could not find anything about this in the Stardog manual. Besides that, are there options to connect to a stardog db, when it is running locally but with authentication (a user should login with a pw)? If I try it now, the web UI says:

There was no resource in the selected dataset! This might be due to the connection problems or because the estimated query execution time exceeds the configured limit. Please check the connection parameters of your dataset's Sparql endpoint or add resources to your dataset...

from ld-r.

ali1k avatar ali1k commented on July 19, 2024

good that it worked!
I don't know exactly what the difference it. It seems they have changed their APIs. At the moment, there is no support for endpoints with authentication. It is on our todo list.

from ld-r.

mathib avatar mathib commented on July 19, 2024

@ali1k : I've asked to the Stardog community, how this will evolve and they said that /annex/testDB/sparql/query will be depreciated in next versions: https://community.stardog.com/t/stardog-sparql-endpoints/814/2

The workflow of LD-R should maybe allow to use /query and /update in the future?

from ld-r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.