Closed b2d3c closed 1 year ago
In which form and field(s) are files assigned @b2d3c ?
premis:File are created through Form:Virtual Instantiation
The data model of premis:File is :
But @fkraeutli : uri /0/ must not have a layout. They need only to be open on the by default layout directly through the URI.
We probably need to add an extra fields to add files that already exist. Otherwise we risk adding data twice, i.e. when a file is created within an instantiation form, added to another, and edited there. Because the file lives in the named graph of the instantiation it was originally created, the file would then exist twice.
I will try to add a second field for adding existing files, with a link to the instantiation where the file was originally created and where it can be edited.
I implemented a solution and deployed it to Dev for @b2d3c to check
Thanks @fkraeutli . I don't have imagine it's will be so complex. Perhaps we have to stop here this developpement and wait to talk about on our next meeting.
My question :
Thanks @fkraeutli . I don't have imagine it's will be so complex. Perhaps we have to stop here this developpement and wait to talk about on our next meeting.
My question :
- It's rico:RecordPart embeded also in rico:Record (because they are create through the Form:Record)?
yes
example query to verify:
PREFIX rico: <https://www.ica.org/standards/RiC/ontology#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
SELECT ?recordPart ?parent ?parentType WHERE {
GRAPH ?g {
?recordPart a rico:RecordPart
}
BIND(URI(STRBEFORE(STR(?g), "/container")) as ?parent)
?parent a ?parentType .
} LIMIT 10
There are two formats for URI of premis:File, Why? It's a difference between them?
I'm not sure, though I noticed it too
- The Files with the URI with the first format are directly accessible via URI, the second not. Why?
Because there is only a rewrite in place for /o/
(we can add /0/
though)
If pathstoRewrite allow to put the URI in navigator and to find the page : Prima! It's exactly what we want.
We need for File no Layout and no specific Form to Edit (we make change through Form:Instantiation).
Reverted change in Dev
Adding the rewrite will cause 1 min of downtime. Is there a good time to do that @b2d3c ?
No problem! You can do it. Thanks
Done
Like : #173 but for File /0/
Ex: