Created
January 14, 2020 16:23
-
-
Save gaurav/cb30acb4cec4eb712847e8b2b3b886a8 to your computer and use it in GitHub Desktop.
ShEx validation of example validation for CGEX_CtxAll010
This file contains 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
{ | |
"type": "Failure", | |
"node": "http://dataexchange.clinicalgenome.org/CGEX_CtxAll010", | |
"shape": "http://dataexchange.clinicalgenome.org/interpretation/shacl/shapes/ContextualAllele", | |
"errors": [ | |
{ | |
"type": "TypeMismatch", | |
"triple": { | |
"type": "TestedTriple", | |
"subject": "http://dataexchange.clinicalgenome.org/CGEX_CtxAll010", | |
"predicate": "http://dataexchange.clinicalgenome.org/CG_0003", | |
"object": "http://dataexchange.clinicalgenome.org/CGEX_CtxAll008" | |
}, | |
"constraint": { | |
"type": "TripleConstraint", | |
"predicate": "http://dataexchange.clinicalgenome.org/CG_0003", | |
"valueExpr": { | |
"type": "ShapeRef", | |
"reference": "http://dataexchange.clinicalgenome.org/interpretation/shacl/shapes/ContextualAlleleName" | |
}, | |
"min": 0, | |
"max": 1 | |
}, | |
"errors": [ | |
{ | |
"type": "MissingProperty", | |
"property": "http://dataexchange.clinicalgenome.org/CG_0015", | |
"valueExpr": { | |
"type": "NodeConstraint", | |
"nodeKind": "iri" | |
} | |
}, | |
{ | |
"type": "MissingProperty", | |
"property": "http://dataexchange.clinicalgenome.org/CG_0007", | |
"valueExpr": { | |
"type": "NodeConstraint", | |
"datatype": "http://www.w3.org/2001/XMLSchema#boolean" | |
} | |
} | |
] | |
}, | |
{ | |
"type": "TypeMismatch", | |
"triple": { | |
"type": "TestedTriple", | |
"subject": "http://dataexchange.clinicalgenome.org/CGEX_CtxAll010", | |
"predicate": "http://dataexchange.clinicalgenome.org/CG_0100", | |
"object": "http://reg.genome.network/allele/CA501222" | |
}, | |
"constraint": { | |
"type": "TripleConstraint", | |
"predicate": "http://dataexchange.clinicalgenome.org/CG_0100", | |
"valueExpr": { | |
"type": "ShapeRef", | |
"reference": "http://dataexchange.clinicalgenome.org/interpretation/shacl/shapes/CanonicalAllele" | |
}, | |
"min": 0, | |
"max": 1 | |
}, | |
"errors": [ | |
{ | |
"type": "MissingProperty", | |
"property": "http://dataexchange.clinicalgenome.org/CG_0013", | |
"valueExpr": { | |
"type": "NodeConstraint", | |
"nodeKind": "iri" | |
} | |
}, | |
{ | |
"type": "MissingProperty", | |
"property": "http://dataexchange.clinicalgenome.org/CG_0014", | |
"valueExpr": { | |
"type": "NodeConstraint", | |
"nodeKind": "iri" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment