Unable to upload JSON-LD file to Stardog Studio

Hi,

As the title suggests, I am trying to import a JSON-LD file to Stardog, but receiving the following error:

"no separator character found in the URI: @id"

I have narrowed it down to the lines consisting of "@type": "@id", e.g:

"deviceMeasurementUnit": {
"@type": "@id"
},

There seems to be an issue with the @ in @id. Are @-symbols reserved in Stardog, and is there any way to remedy this issue?

EDIT:

When converting from JSON to TTL directly, I am now able to import the file without issues, but I am greeted with "No visualization results" on the database overview in Stardog Studio. Other visualizers, such as the one on http://rdfshape.weso.es/ are however able to process this and display a graph, does anyone know why this would be the case?

Thanks,
Andreas

For further clarification, here is an example of a JSON-LD file that I am not able to import to Stardog:

{
  "@context": {
    "@vocab": "http://example.com/vocab#",
    "Device": "https://example.com/Device"
  },
  "@type": "Collection",
  "member": [
    {
      "@context": {
        "@vocab": "https://example.com/",
        "Sensor": "https://example.com/"
      },
      "@type": "Sensor",
      "hasDevice": {
        "@id": "https://exampleurl.com/deviceNumber",
        "@type": "@id"
      },
      "hostedBy": {
        "@id": "",
        "@type": "@id"
      },
      "isBuilt": {
        "@id": "https://exampleurl.com/buildNumber",
        "@type": "@id"
      }
    }
	]
}

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.