Open tfrancart opened 3 weeks ago
Exemple avec ce SHACL : https://europarl.github.io/eli-ep/dsd/adopted-texts/eli-ep_adopted-texts.shacl.ttl (visible at https://europarl.github.io/eli-ep/dsd/adopted-texts/)
ta:P27 owl:versionInfo "1.0"; sh:path _:a4aeb3f30c2042e3b539bc99a24f35721159; sh:name "inverse corrects"@en; sh:nodeKind sh:IRI; sh:node ta:Corrigendum; shacl-play:shortname "inverse_corrects" . _:a4aeb3f30c2042e3b539bc99a24f35721159 sh:inversePath eli:corrects .
alors on doit générer
"inverse_corrects": { "@reverse" : "eli:corrects", "@type" : "@id" }
Note : ici il y a un "shacl-play:shortname", mais on devrait de toutes façon générer une clé spéciale avec "inverse_" et le nom de la clé normale.
Exemple avec ce SHACL : https://europarl.github.io/eli-ep/dsd/adopted-texts/eli-ep_adopted-texts.shacl.ttl (visible at https://europarl.github.io/eli-ep/dsd/adopted-texts/)
alors on doit générer