-
Notifications
You must be signed in to change notification settings - Fork 39
Picked dates continue to fail SHACL validation - out of the box FDP #762
Copy link
Copy link
Closed
Labels
bugSomething's wrongSomething's wrongduplicateA similar issue already existsA similar issue already exists
Description
What components are related to the issue?
Other (specify in text)
Which FDP are you using?
My local instance
Version
image="fairdata/fairdatapoint:1.17.5"
image="fairdata/fairdatapoint-client:1.17.1"
What happened?
edit a date field, and try to save the record:
@prefix dash: <http://datashapes.org/dash#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rsx: <http://rdf4j.org/shacl-extensions#> .
@prefix rdf4j: <http://rdf4j.org/schema/rdf4j#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
[] a sh:ValidationReport;
sh:conforms false;
rdf4j:truncated false;
sh:result [ a sh:ValidationResult;
sh:focusNode <http://localhost:10000>;
rsx:shapesGraph rdf4j:SHACLShapeGraph;
sh:value "2025-09-04"^^xsd:dateTime;
sh:resultPath <https://w3id.org/fdp/fdp-o#startDate>;
sh:sourceConstraintComponent sh:DatatypeConstraintComponent;
sh:resultSeverity sh:Violation;
sh:sourceShape [ a sh:PropertyShape;
sh:order 40;
sh:path <https://w3id.org/fdp/fdp-o#startDate>;
sh:datatype xsd:dateTime
]
], [ a sh:ValidationResult;
sh:focusNode <http://localhost:10000>;
rsx:shapesGraph rdf4j:SHACLShapeGraph;
sh:value "2025-09-10"^^xsd:dateTime;
sh:resultPath <https://w3id.org/fdp/fdp-o#endDate>;
sh:sourceConstraintComponent sh:DatatypeConstraintComponent;
sh:resultSeverity sh:Violation;
sh:sourceShape [ a sh:PropertyShape;
sh:order 41;
sh:path <https://w3id.org/fdp/fdp-o#endDate>;
sh:datatype xsd:dateTime
]
] .Relevant log output
2025-09-01 13:10:08,385 289991 [http-nio-80-exec-7] INFO nl.dtls.fairdatapoint.api.filter.LoggingFilter - http://localhost/
fdp-1 | 2025-09-01 13:10:09,173 290779 [http-nio-80-exec-7] WARN nl.dtls.fairdatapoint.api.controller.exception.ExceptionControllerAdvice - Number of error: 2
fdp-1 | 2025-09-01 13:10:09,178 290784 [http-nio-80-exec-7] WARN nl.dtls.fairdatapoint.api.controller.exception.ExceptionControllerAdvice - @prefix dash: <http://datashapes.org/dash#> .
fdp-1 | @prefix owl: <http://www.w3.org/2002/07/owl#> .
fdp-1 | @prefix rsx: <http://rdf4j.org/shacl-extensions#> .
fdp-1 | @prefix rdf4j: <http://rdf4j.org/schema/rdf4j#> .
fdp-1 | @prefix sh: <http://www.w3.org/ns/shacl#> .
fdp-1 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
fdp-1 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
fdp-1 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
fdp-1 |
fdp-1 | [] a sh:ValidationReport;
fdp-1 | sh:conforms false;
fdp-1 | rdf4j:truncated false;
fdp-1 | sh:result [ a sh:ValidationResult;
fdp-1 | sh:focusNode <http://localhost:10000>;
fdp-1 | rsx:shapesGraph rdf4j:SHACLShapeGraph;
fdp-1 | sh:value "2025-09-04"^^xsd:dateTime;
fdp-1 | sh:resultPath <https://w3id.org/fdp/fdp-o#startDate>;
fdp-1 | sh:sourceConstraintComponent sh:DatatypeConstraintComponent;
fdp-1 | sh:resultSeverity sh:Violation;
fdp-1 | sh:sourceShape [ a sh:PropertyShape;
fdp-1 | sh:order 40;
fdp-1 | sh:path <https://w3id.org/fdp/fdp-o#startDate>;
fdp-1 | sh:datatype xsd:dateTime
fdp-1 | ]
fdp-1 | ], [ a sh:ValidationResult;
fdp-1 | sh:focusNode <http://localhost:10000>;
fdp-1 | rsx:shapesGraph rdf4j:SHACLShapeGraph;
fdp-1 | sh:value "2025-09-10"^^xsd:dateTime;
fdp-1 | sh:resultPath <https://w3id.org/fdp/fdp-o#endDate>;
fdp-1 | sh:sourceConstraintComponent sh:DatatypeConstraintComponent;
fdp-1 | sh:resultSeverity sh:Violation;
fdp-1 | sh:sourceShape [ a sh:PropertyShape;
fdp-1 | sh:order 41;
fdp-1 | sh:path <https://w3id.org/fdp/fdp-o#endDate>;
fdp-1 | sh:datatype xsd:dateTime
fdp-1 | ]
fdp-1 | ] .
fdp-1 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething's wrongSomething's wrongduplicateA similar issue already existsA similar issue already exists