“Load data to named graph” actually loads into default

I'm trying to load a TTL file into a named graph in Stardog Studio, but it's loading into the default graph instead.

To recreate:

  1. create new database
  2. select "Load RDF" and specify the file (https://www.hl7.org/fhir/fhir.ttl) and named graph "https://www.hl7.org/fhir"
  3. click "Load"
  4. observe the import is successful by viewing the imported construct in "Models", but observe that only the default graph exists, and all model constructs are in the default graph

It's my understanding that the import should have crated the named graph "https://www.hl7.org/fhir" and inserted the triples in the TTL file as if they were in that named graph.

Thanks in advance for anybody's help on this!

Hi Spencer,

What the "Models" tab of Studio is referencing is actually the reasoning schema, so it makes sense that you would only see default since you haven't set any up yet. You can easily create one that points to your named graph, which the data import did put in the proper graph, which you can verify with a simple SPARQL query from studio:

SELECT ?g (count(*) as ?count) WHERE {
  GRAPH ?g {?s ?p ?o}