1

How can I connect to a triple store and access an ontology through the RDFLib Python API?

The triple store I am using is Blazegraph. I know how to access Virtuso, but about Blazegraph I am not sure.

honk
  • 9,137
  • 11
  • 75
  • 83
Niharika Roy
  • 103
  • 1
  • 1
  • 7

2 Answers2

1

You'll want to use the Blazegraph SPARQL Endpoint to configure it.

For the default namespace, using the executable jar this is:

http://localhost:9999/bigdata/sparql

With a specific namespace (kb in this example), it is:

https://localhost:9999/bigdata/namespace/kb/sparql
Brad Bebee
  • 146
  • 3
0

You probably want to access the triple store via SPARQL with SPARQLWrapper.

Jörn Hees
  • 3,338
  • 22
  • 44