Auto-Completion

When trying to publish data on the Databus, the HTTP API accepts not only fully complete JSON-LD DataIds as input. Some properties of the JSON-LD input are allowed to be omitted as they can be inferred from others.

Properties

The following table shows a list of inferrable properties that can optionally be omitted in the input.

Version

Property
Value inferred from

dataid:publisher

@id of databus:Version

databus:group

@id of databus:Version

databus:artifact

@id of databus:Version

dct:hasVersion

@id of databus:Version

dct:abstract

First line of dct:description

dct:issued

current time

dct:modified

current time (always set by server)

Part

Property
Value inferred from

@id

@id of databus:Version, databus:formatExtension, databus:compression and content variants (i.e. properties with prefix https://dataid.dbpedia.org/databus-cv#)

databus:formatExtension

content-disposition header of file specified with dcat:downloadURL (if present). Alternatively: String value of dcat:downloadURL

databus:compression

content-disposition header of file specified with dcat:downloadURL (if present). Alternatively: String value of dcat:downloadURL

dataid:shasum

sha256sum of the file specified with dcat:downloadURL

dataid:byteSize

size of the file specified with dcat:downloadURL

dct:hasVersion

dct:hasVersion of associated databus:Version

properties with prefix https://dataid.dbpedia.org/databus-cv#

Only set if the property is used in any other databus:Part of the databus:Version. Value is set to empty string.

Additional Graphs

The following table lists the additional graphs that can be generated by the Databus automatically:

Type
Inferred from

databus:Artifact

databus:artifact of databus:Version

databus:Group

databus:group of databus:Group.

rdf:Property with rdfs:subPropertyOf databus:contentVariant

all properties starting with dcv:

Example

API Input

Auto-Completed Input

Last updated