JavaScript

play button

This intermediate-level training teaches how to use JavaScript to access and use Stardog Server. Learn how to install the Stardog.js npm package and review the details of what is contained within the package. View the steps to creating a database, adding data within Stardog, and how to drop a database into Stardog. The training will conclude with an overview of how to query data using SPARQL and GraphQL, and how to use Stardog.js with React and D3. 

More about Stardog APIs:

Stardog provides a rich set of application programmer interfaces, or APIs, to work with the product. All actions seen in Stardog Studio or in the Stardog product command line interface can be viewed as interacting with one of these APIs. As a client server architecture, each of the APIs orchestrates one of the HTTP web services that the Stardog server offers up. In many cases, Stardog stewards open source projects that offer a language specific wrapper to offer language idiomatic constructs to interacting with the HTTP service. While the official API is available in Java, orchestrating the HTTP services and offering a language wrapper is straight forward and afford the opportunity to use language specific facilities to streamline the programming experience.

In this video, we’ll be discussing JavaScript. Like other languages, Stardog publishes this API to be consumed in application development environments that will act as a client to the Stardog server. Other language training is available, and will cover similar topics in the context of that particular programming language.

Please note that language specific training, i.e. how to use a particular programming language, is out of scope for this training. While the training may discuss certain third party libraries, parts of a standard API set available in a language, this training session will focus on the question on how to use the Stardog API and a few considerations to make when developing in a typical development environment.

Meet the trainer
Gregory Coluni

Senior Software Engineer

What you’ll learn
  • How to install the Stardog.js npm package and review what is in the package
  • Connecting to Stardog and create a database
  • How to use the JavaScript API to make calls to Stardog in order to do things like database administration and query execution
  • The frameworks associated with Stardog.js and how to implement
Resources
Meet the trainer:
Gregory Coluni

Senior Software Engineer

Need more help?

Join the community