[dxwg] Pull Request: mediaType a subPropertyOf encodingFormat

rawmatt has just submitted a new pull request for https://github.com/w3c/dxwg:

== mediaType a subPropertyOf encodingFormat  ==
Every dcat:mediaType is a kind of schema:encodingFormat, but not every schema:encodingFormat is a kind of dcat:mediaType.

The reason is schema:encodingFormat has two domains, only one of which is equivalent to dcat:mediaType's domain of dcat:Distribution. A dcat:Distribution is equivalent to a schema:DataDownload, which is a domain of schema:encodingFormat, via schema:CreativeWork. But schema:encodingFormat has a second domain, of schema:MediaObject. And the use of encodingFormat on MediaObject is not equivalent to dcat:mediaType.

The problem with the alignment is that it is symmetric, but the real world isn't. By changing to a sub-type we keep the alignment in the correct direction only.

See https://github.com/w3c/dxwg/pull/1239

Received on Wednesday, 20 May 2020 02:44:24 UTC