Improve RDF format detection and validation, add SPARQL queries, multi‑tab validation UI, and i18n/typing updates#6
Merged
Conversation
Align develop
- Ajustados los tipos, ahora se usa uri (id primario), value y label. - Ajustado checkVocabularyMatch para usar correctamente la validación de los vocabularios.
- Implemented syntax validation for RDF content in MQAService. - Enhanced error messages for RDF syntax errors in App component. - Added user-friendly messages for common RDF syntax issues. - Updated ValidationForm to include syntax validation functionality. - Added new translation keys for syntax validation messages in English and Spanish.
…, and improve syntax validation handling
- Improve the auto-detection logic. Add an N-Triples conversion method. Improve the validation of NTI-RISP special vocabulary metrics. Refine error handling in MQAService and RDFService. Improve the SHACL report viewer.
…and UI components
- Create README
- Introduced SPARQL query tab in the UI - Added a new service (SPARQLService) to manage predefined SPARQL queries and execute them against endpoints. - Implemented a component (PredefinedQueriesComponent) for selecting and executing predefined SPARQL queries. - Enhanced existing services to support SPARQL query execution and validation. - Updated MQAConfig type to include SPARQL configuration and parameters. - Added metric labels for SPARQL-related metrics in localization files. - Better mqa-config
- Updated index.ts types to include new evaluation settings and proportional evaluation fields in MQAConfig and QualityMetric interfaces. - Improve vocab metric validators. - Updated ValidationForm and ValidationResults components to use the new DCT namespace instead of DCTerms. - Modified mqa-config.json to reflect changes in property references from DCTerms to DCT. - Adjusted ITBSHACLService and MQAService to accommodate the new namespace. - Enhanced RDFService to include DCT prefixes in RDF parsing. - Remove hardcoded metric labels, better using i18n files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR significantly enhances RDF validation capabilities, improves format auto-detection and error handling, introduces a multi-tab validation UI, adds SPARQL query functionality, and refines typing and localization. It also aligns namespaces and configuration, improves metric validators (including NTI-RISP-specific checks), and updates documentation and assets for better clarity.
Key changes
RDF validation and format handling
Vocabulary validation and typing
UI/UX
SPARQL functionality
Internationalization and content
Configuration, namespaces, and types
Docs and assets
Housekeeping
Labels
Potential breaking/behavioral changes
How to test