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

Updates to the Croissant turtle definition to align with the spec, and… #634

Merged
merged 2 commits into from
May 15, 2024

Conversation

benjelloun
Copy link
Contributor

… introduce ML-specific constructs.

Copy link

github-actions bot commented Apr 8, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@benjelloun benjelloun marked this pull request as ready for review April 8, 2024 15:42
@benjelloun benjelloun requested a review from a team as a code owner April 8, 2024 15:42
@benjelloun benjelloun self-assigned this Apr 23, 2024
@benjelloun
Copy link
Contributor Author

@marcenacp @ccl-core can you pls take a look at this PR? Thanks!

Copy link
Contributor

@marcenacp marcenacp left a comment

Choose a reason for hiding this comment

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

Thanks!

croissant:BoundingBox a rdf:class ;
rdfs:label "Label" ;
rdfs:comment "A data type representing a bounding box." ;
rdfs:subClassOf schema:Text .
Copy link
Contributor

Choose a reason for hiding this comment

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

schema: StructuredValue instead of schema: Text?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm... I'm not sure, because we're providing the values as a single string, and not as a set of properties.

In fact there is already schema.org/GeoShape, with a "box" property of type Text. It's cumbersome to use directly in Croissant because it's a property and not a class.

croissant:Label a rdf:class ;
rdfs:label "Label" ;
rdfs:comment "A machine learning label." ;
rdfs:subClassOf schema:Intangible .
Copy link
Contributor

Choose a reason for hiding this comment

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

Can it still be used even if it's Intangible?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, see https://schema.org/Intangible for other examples of Intangible subclasses.

@benjelloun benjelloun merged commit ac85a05 into main May 15, 2024
14 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants