argopy.ArgoReferenceValue.from_dict

argopy.ArgoReferenceValue.from_dict#

classmethod ArgoReferenceValue.from_dict(data: dict = None) ArgoReferenceValue[source]#

Create a ArgoReferenceValue from a dictionary (JSON-like)

Examples

Expected dictionary structure#
{'@id': 'http://vocab.nerc.ac.uk/collection/R27/current/UNKNOWN/',
 'pav:authoredOn': '2019-10-11 14:49:00.0',
 'pav:hasCurrentVersion': {'@id': 'http://vocab.nerc.ac.uk/collection/R27/current/UNKNOWN/1/'},
 'dce:identifier': 'SDN:R27::UNKNOWN',
 'pav:version': '1',
 'skos:notation': 'SDN:R27::UNKNOWN',
 'skos:altLabel': 'UNKNOWN',
 'dc:date': '2019-10-11 14:49:00.0',
 'owl:versionInfo': '1',
 'skos:prefLabel': {'@language': 'en', '@value': 'Unknown sensor model'},
 'dc:identifier': 'SDN:R27::UNKNOWN',
 'skos:note': {'@language': 'en', '@value': 'accepted'},
 'owl:deprecated': 'false',
 'void:inDataset': {'@id': 'http://vocab.nerc.ac.uk/.well-known/void'},
 'skos:definition': {'@language': 'en', '@value': 'Sensor model is unknown.'},
 '@type': 'skos:Concept'}