You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to update a model using the service-catalog-api, I've run into multiple errors pretty much all related to the formatting of the jsonld. While, I've been able to work around some of these issues, because they keep popping up, it makes me feel like there might be a more general formatting issue here.
For example, here is a part of my input that I am sending to the file-converter:
{"title":"Soddyite","created":"03-18-24 16:31:45","modified":"03-18-24 16:31:45","description":"DESCRIPTION: Pale yellow consolidated earthy powder;LOCALITY: Palette, Northern Territory, Australia;STATUS: The identification of this mineral has been confirmed by X-ray diffraction and chemical analysis","sources":[{"citation":"Highlights in Mineralogical Crystallography 2015 1-30","reftype":"journal article","doi":"10.1515/9783110417104-003","url":"https://doi.org/10.1515/9783110417104-003"},{"citation":"RRUFF project database entry","url":"https://rruff.info/R060407"}],"scidata":{"methodology":{"techniqueType":"cao:spectroscopy","technique":"Raman Spectroscopy","instrumentType":"Raman Spectrometer","settings":[{"@id":"setting/1/","@type":"sdo:setting","quantity":"length","property":"Wavelength","value":{"@id":"setting/1/value/","@type":"sdo:value","number":"532","unitref":"qudt:NanoM"}}]},"system":{"material":{"name":"Soddyite","materialType":"(UO_2_)_2_SiO_4_·2H_2_O"},"compound":{"formula":"(UO2)2SiO4 · 2H2O","name":"soddyite"},"functionalgroup":[{"atoms":"U","multiplicity":2},{"atoms":"H2O","multiplicity":2},{"atoms":"SiO","multiplicity":1}],"structuretype":{"structure type":"framework"}
and here is a part of the response from the file-converter service:
{"@context":["https://stuchalk.github.io/scidata/contexts/scidata.jsonld",{"sdo":"https://stuchalk.github.io/scidata/ontology/scidata.owl#"},{}],"@id":"","generatedAt":"03-18-24 18:28:18","version":"","@graph":{"@type":"sdo:scidataFramework","uid":"scidata:jsonld:Soddyite","description":"DESCRIPTION: Pale yellow consolidated earthy powder;LOCALITY: Palette, Northern Territory, Australia;STATUS: The identification of this mineral has been confirmed by X-ray diffraction and chemical analysis","toc":["dc:source","sdo:dataseries","sdo:dataset","sdo:measurement","sdo:methodology","sdo:scidataFramework","sdo:scientificData","sdo:undefined"],"ids":["cao:spectroscopy","dc:source","sdo:measurement"],"scidata":{"@id":"scidata/","@type":"sdo:scientificData","methodology":{"@id":"methodology/","@type":"sdo:methodology","aspects":[{"@id":"measurement/1/","@type":"sdo:measurement","techniqueType":"cao:spectroscopy"}]},"dataset":{"@id":"dataset/","@type":"sdo:dataset","dataseries":[{"@id":"dataseries/1/","@type":"sdo:dataseries","parameter":{"@id":"dataseries/1/undefined/
The title is missing from the response, there's an empty @id property, as well as a par of braces with nothing inside.
I've been taking this output and trying to send it to the service-catalog, however eventually I get 500 error saying org.apache.jena.riot.RiotException: com.github.jsonldjava.core.JsonLdError: invalid term definition: empty key for value '{@id=https://www.w3.org/2001/XMLSchema#@type#}', which definitely seems like a formatting issue.
I don't know for sure that the issue lies here, but I want to just raise attention to any potential issues.
The text was updated successfully, but these errors were encountered:
When attempting to update a model using the service-catalog-api, I've run into multiple errors pretty much all related to the formatting of the jsonld. While, I've been able to work around some of these issues, because they keep popping up, it makes me feel like there might be a more general formatting issue here.
For example, here is a part of my input that I am sending to the file-converter:
and here is a part of the response from the file-converter service:
The title is missing from the response, there's an empty
@id
property, as well as a par of braces with nothing inside.I've been taking this output and trying to send it to the service-catalog, however eventually I get 500 error saying
org.apache.jena.riot.RiotException: com.github.jsonldjava.core.JsonLdError: invalid term definition: empty key for value '{@id=https://www.w3.org/2001/XMLSchema#@type#}'
, which definitely seems like a formatting issue.I don't know for sure that the issue lies here, but I want to just raise attention to any potential issues.
The text was updated successfully, but these errors were encountered: