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

Some notices have hasAwardRank with a string as its value. #78

Open
cristianvasquez opened this issue Nov 18, 2024 · 1 comment
Open
Labels

Comments

@cristianvasquez
Copy link
Contributor

The following notices were found to contain issues while being loaded into Virtuoso:

The failure occurred due to using strings as values in the hasAwardRank property, despite being declared as integers.

<j.2:hasAwardRank rdf:datatype=http://www.w3.org/2001/XMLSchema#integer>PRIMA</j.2:hasAwardRank>
<j.2:hasAwardRank rdf:datatype=http://www.w3.org/2001/XMLSchema#integer>Prima</j.2:hasAwardRank>
<j.2:hasAwardRank rdf:datatype=http://www.w3.org/2001/XMLSchema#integer>prima</j.2:hasAwardRank>

This appears to be a data quality issue. We need to determine the best approach to handling such mismatches and whether it's done before, during, or after transformation.

@muricna
Copy link

muricna commented Nov 21, 2024

Cellar will not load notices that contain concepts with the wrong data type. Therefore if the source xml has a wrong data type it will not be published in Cellar. Since we cannot change the source data one solution could be to simply remove the concept to allow the rest of the notice to be published, otherwise the notice will remain unpublished in TEDSWS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants