*The node to be validated is "yas:Car_1" Thanks again
-----Original Message----- From: Alani, Yasir <y.al...@tees.ac.uk> Sent: 26 January 2022 22:38 To: users@jena.apache.org Subject: RE: FW: Validation issue Hi Andy, Thank you for responding. What I meant by "work" is producing the correct/expected result, which is the 2 violations you received. The issue only seems to happen when I try to validate a node using the method "validate(Shapes shapes, Graph data, Node node)". The node in this case is "aso:Car_1". This method doesn't seem to 'like' qualified value shapes, as it returns 0 violations. However, when I validate the entire data graph using method "validate(Shapes shapes, Graph data)" I do get 2 violations. Are these methods designed to work this way? I was using Jena 4.1.0 and even when I updated to Jena 4.3.2, I still get the same results. I used the old (TQ) shacl playground, which returned 2 violations as well. Many thanks Yasir -----Original Message----- From: Andy Seaborne <a...@apache.org> Sent: 26 January 2022 20:41 To: users@jena.apache.org Subject: Re: FW: Validation issue Yasir, What is "work" here? I get 2 violations with Jena 4.3.2 - the same as (current latest) TQ shacl. (1 violation on a quite old, pre 4.x.x version of Jena - which version are you running?) Which SHACL playground did you use (there are two). The old (TopQuadrant) SHACL playground returns 2 violations. The Zazuko one returns 2 violations. @prefix ex: <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.example.org%2F%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UaA6BkiB5E5RdvqfJDcVLHWh%2Bg0ymex%2FHnHFNknZvwk%3D&reserved=0> . @prefix owl: <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xQlZtyYWV%2FTO5HVlLlIXD2qjwIFoAt%2FmPIla%2F2qXmJw%3D&reserved=0> . @prefix rdf: <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=fmCQmqP3iOfslINpMOR9wWMSJL1B1PPQvaSpnBSfOQI%3D&reserved=0> . @prefix rdfs: <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aRkIzt1jBgel5Z76F%2BObBW%2BRjVzzUHxvkQmDm5FQNSI%3D&reserved=0> . @prefix sh: <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=OOpH73p5OpM9tkiWhMnIku6BfyW4MyuV0gc1JGilQ1o%3D&reserved=0> . @prefix xsd: <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hLWu3cDbv5TuPGY1BwlpbFPNDfKeRybEyOvpOVUmH8Q%3D&reserved=0> . @prefix yas: <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.semanticweb.org%2Fyas%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Xa466O7yoEOPcweBCzQArHnuvyHnhVPA2GC5yeQVVoM%3D&reserved=0> . [ rdf:type sh:ValidationReport ; sh:conforms false ; sh:result [ rdf:type sh:ValidationResult ; sh:focusNode yas:Wheel_1 ; sh:resultMessage "Data value \"600\"^^xsd:float is not less than or equal to 200" ; sh:resultPath ( yas:hasDiameter yas:hasValue ) ; sh:resultSeverity sh:Violation ; sh:sourceConstraintComponent sh:MaxInclusiveConstraintComponent ; sh:sourceShape [] ; sh:value "600"^^xsd:float ] ; sh:result [ rdf:type sh:ValidationResult ; sh:focusNode yas:Car_1 ; sh:resultMessage "QualifiedValueShape[1,_,false]: Min = 1 but got 0 validations" ; sh:resultPath yas:hasComponent ; sh:resultSeverity sh:Violation ; sh:sourceConstraintComponent sh:QualifiedMinCountConstraintComponent ; sh:sourceShape [] ] ] . Andy On 26/01/2022 16:38, Alani, Yasir wrote: > > > From: Alani, Yasir > Sent: 26 January 2022 14:07 > To: Andy Seaborne <a...@apache.org> > Subject: Validation issue > > Hi, I have a shape that doesn’t seem to work with Jena (always conforms) but > works when I try it on SHACL Playground. > > The shape: > @prefix rdf: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=fmCQmqP3iOfslINpMOR9wWMSJL1B1PPQvaSpnBSfOQI%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=FLKXcMWHo%2FdQwIXJ7MKULaRqww3iWBuZxzEOO6zMV30%3D&reserved=0> > . > @prefix sh: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=OOpH73p5OpM9tkiWhMnIku6BfyW4MyuV0gc1JGilQ1o%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=XINsTCWztdPfn6bS5U0JuoXqfeb4L5xDuWLTuW9F240%3D&reserved=0> > . > @prefix xsd: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hLWu3cDbv5TuPGY1BwlpbFPNDfKeRybEyOvpOVUmH8Q%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PB2MdNg%2FJRM5BpeeRHvSpos7fC0cKQgp%2BF%2BHYgfqHqA%3D&reserved=0> > . > @prefix rdfs: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aRkIzt1jBgel5Z76F%2BObBW%2BRjVzzUHxvkQmDm5FQNSI%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pZLkWu3qD1KmCTXZAxsLxcW%2Bd2tR52%2BQQcoUFyS0uhE%3D&reserved=0> > . > @prefix ex: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.example.org%2F%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UaA6BkiB5E5RdvqfJDcVLHWh%2Bg0ymex%2FHnHFNknZvwk%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.example.org%2F&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=KJP76QAy%2FfwHU%2F8X6GpznKKLSVDGxwAiqmloF4JPiVA%3D&reserved=0> > . > @prefix owl: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xQlZtyYWV%2FTO5HVlLlIXD2qjwIFoAt%2FmPIla%2F2qXmJw%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vaJOR25NzYesgK63HeA%2F6jztnJupjr1QKbtbvLC2Q2w%3D&reserved=0> > . > @prefix yas: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.semanticweb.org%2Fyas%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Xa466O7yoEOPcweBCzQArHnuvyHnhVPA2GC5yeQVVoM%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.semanticweb.org%2Fyas&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UDK5uk69No1%2FHPvdfPtklMz8BVwYyQv9D15937PoIgE%3D&reserved=0> > . > > yas:CarShape a sh:NodeShape ; > sh:targetClass yas:Car ; sh:property [ sh:path > yas:hasComponent ; sh:qualifiedValueShape [ sh:targetClass yas:Wheel ; > sh:property [ sh:path (yas:hasDiameter yas:hasValue) ; sh:minInclusive 0 ; > sh:maxInclusive 200 ; sh:datatype xsd:float ; ] ; ] ; sh:qualifiedMinCount 1 > ] . > > The data: > @prefix rdf: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=fmCQmqP3iOfslINpMOR9wWMSJL1B1PPQvaSpnBSfOQI%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=FLKXcMWHo%2FdQwIXJ7MKULaRqww3iWBuZxzEOO6zMV30%3D&reserved=0> > . > @prefix sh: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=OOpH73p5OpM9tkiWhMnIku6BfyW4MyuV0gc1JGilQ1o%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2Fns%2Fshacl&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=XINsTCWztdPfn6bS5U0JuoXqfeb4L5xDuWLTuW9F240%3D&reserved=0> > . > @prefix xsd: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=hLWu3cDbv5TuPGY1BwlpbFPNDfKeRybEyOvpOVUmH8Q%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PB2MdNg%2FJRM5BpeeRHvSpos7fC0cKQgp%2BF%2BHYgfqHqA%3D&reserved=0> > . > @prefix rdfs: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aRkIzt1jBgel5Z76F%2BObBW%2BRjVzzUHxvkQmDm5FQNSI%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pZLkWu3qD1KmCTXZAxsLxcW%2Bd2tR52%2BQQcoUFyS0uhE%3D&reserved=0> > . > @prefix ex: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.example.org%2F%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UaA6BkiB5E5RdvqfJDcVLHWh%2Bg0ymex%2FHnHFNknZvwk%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.example.org%2F&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=KJP76QAy%2FfwHU%2F8X6GpznKKLSVDGxwAiqmloF4JPiVA%3D&reserved=0> > . > @prefix owl: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xQlZtyYWV%2FTO5HVlLlIXD2qjwIFoAt%2FmPIla%2F2qXmJw%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vaJOR25NzYesgK63HeA%2F6jztnJupjr1QKbtbvLC2Q2w%3D&reserved=0> > . > @prefix yas: > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.semanticweb.org%2Fyas%23&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Xa466O7yoEOPcweBCzQArHnuvyHnhVPA2GC5yeQVVoM%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.semanticweb.org%2Fyas&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UDK5uk69No1%2FHPvdfPtklMz8BVwYyQv9D15937PoIgE%3D&reserved=0> > . > > yas:Car_1 rdf:type owl:NamedIndividual , > yas:Car ; > yas:hasComponent yas:Wheel_1 . > > yas:Wheel_1 rdf:type owl:NamedIndividual , > yas:Wheel ; > yas:hasDiameter yas:Diameter2 . > > yas:Diameter2 rdf:type owl:NamedIndividual , > yas:Diameter ; > yas:hasValue "600"^^xsd:float . > > > I am using ShaclValidator method ==> > validate<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjena.apache.org%2Fdocumentation%2Fjavadoc%2Fshacl%2Forg.apache.jena.shacl%2Forg%2Fapache%2Fjena%2Fshacl%2FShaclValidator.html%23validate&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=swlMyl%2BaJS2XQLoOmUBKWMyfz6r9HbHo0msf8JTNGWc%3D&reserved=0(org.apache.jena.shacl.Shapes,org.apache.jena.graph.Graph,org.apache.jena.graph.Node)>(Shapes<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjena.apache.org%2Fdocumentation%2Fjavadoc%2Fshacl%2Forg.apache.jena.shacl%2Forg%2Fapache%2Fjena%2Fshacl%2FShapes.html&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=FbOFUNS2rDCnd4yKCClgWV964xGKemQrB25bxGXbbqo%3D&reserved=0> > shapes, > Graph<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjena.apache.org%2Fdocumentation%2Fjavadoc%2Fjena%2Forg%2Fapache%2Fjena%2Fgraph%2FGraph.html%3Fis-external%3Dtrue&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ylZzwFgMhiHl%2F9LjZBb6DxSTVCNOYIoO33%2FV%2FGZTRms%3D&reserved=0> > data, > Node<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjena.apache.org%2Fdocumentation%2Fjavadoc%2Fjena%2Forg%2Fapache%2Fjena%2Fgraph%2FNode.html%3Fis-external%3Dtrue&data=04%7C01%7CY.Alani%40tees.ac.uk%7C34aaf5a765754475e1ce08d9e11c82f7%7C43d2115ba55e46b69df7b03388ecfc60%7C0%7C1%7C637788334861795406%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=sK8iW62RRVKPqx10x0k%2F64C%2FK2SR6K3LhHGSFM2sKpA%3D&reserved=0> > node). > > Please advise if you can. > Regards > Yasir > >