Hi, I am trying to use neosemantics to import SHACL to my graph. For sanity check I followed this examples. https://neo4j.com/labs/neosemantics/4.0/validation/
NB: Due to limitations on links I have to submit question as picture due to uris is interpreted as links.
Hi,
Although I am a newby in this part of Neo4j, I noticed the same issue.
I got the shacl to work by using this:
call n10s.validation.shacl.import.inline('
@prefix neo4j: <neo4j://schema.graph#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
neo4j:PersonShape a sh:NodeShape ;
sh:targetClass neo4j:Person ;
sh:property [
sh:path neo4j:name ;
sh:pattern "^\\w[\\s\\w\\.]*$" ;
sh:maxCount 1 ;
sh:datatype xsd:string ;
];
sh:property [
sh:path neo4j:ACTED_IN ;
sh:class neo4j:Movie ;
sh:nodeKind sh:IRI ;
] ;
.
','Turtle')
This seems to be the way to validate the shacl without namespaces, because I imported the rdf-data with handleVocabUris: "IGNORE"
Hi,
Sorry for not checking in earlier.
YES now it works.
Thanks.