Hi,
I'm trying to query several databases from pystardog, e.g. DB_a & DB_b are databases in my Stardog Cloud. It's hard to find instructions how to implement it with pystardog.
I see pystardog can connect databases individually, and I was able to run SPARQL queries.
conn = stardog.Connection(DATABASE_NAME, **CONNECTION_DETAILS)
conn.begin()
query_test = """
SELECT *
{
?s ?p ?o .
}
"""
csv_results = conn.select(query_test, content_type='text/csv')
How can I implement the same idea as in the following blog?
Run a query that can retrieve results from both DB_a and DB_b? Is there an option that I have to specify in pystardog to access all the databases rather than a single database?
Thanks