Connect python to Stardog Cloud instance (free or otherwise)

Hi, what are the options to connect Python to a Stardog cloud instance?. The examples I see require a connection string to the Stardog server. Which one to use for the cloud?


This category is for requesting help or asking questions about Stardog Cloud (

Hi Angel,

When you log in to the Stardog Cloud portal (, you will see a list of connections. Each connection lists its associated endpoint, which is what you will use to connect to the instance. A Stardog Cloud endpoint will be of the form

Stardog provides a Python helper library called pystardog (GitHub - stardog-union/pystardog: Python bindings for the Stardog Knowledge Graph platform) that assists with accessing your Stardog server programmatically.

1 Like

Hi Paul: Thanks for the help!