Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mediaType a subPropertyOf encodingFormat #1239

Merged
merged 8 commits into from
Oct 12, 2020
Merged

Conversation

rawmatt
Copy link
Contributor

@rawmatt rawmatt commented May 20, 2020

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.

bringing up to date with DXWG
Every dcat:mediaType is a kind of schema:encodingFormat, but not every schema:encodingFormat is a kind of dcat:mediaType.

The reason is the domain of dcat:mediaType is a dcat:Distribution. A dcat:Distribution us 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.
mediaType a subPropertyOf encodingFormat
@dr-shorthair dr-shorthair self-requested a review May 20, 2020 11:42
Copy link
Contributor

@dr-shorthair dr-shorthair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rawmatt analysis appears to be correct here.

@pwin pwin self-assigned this May 20, 2020
Copy link
Contributor

@pwin pwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense and is a useful cross walk

@agbeltran
Copy link
Member

@pwin @dr-shorthair can you sort out the IPR issue for this PR?

@agbeltran agbeltran added the dcat label Sep 21, 2020
@agbeltran
Copy link
Member

Marked as non substantive for IPR from ash-nazg.

@agbeltran agbeltran merged commit 07d9d19 into w3c:gh-pages Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants