author information in ResourceMetadata tool

24 views
Skip to first unread message

charly....@univ-grenoble-alpes.fr

unread,
Jul 18, 2024, 4:29:32 AM (9 days ago) Jul 18
to vocbench-user
Dear all,

I want to document author information (probably using dct:author) when a new resource is created. How can I achieve that using ResourceMetadata tool?

This tool seems very powerful but I'm lacking knowledge to correctly use it. What "optCtx" structure holds? Are they other structures that can be used? I've read through https://vocbench.uniroma2.it/doc/user/resource_metadata.jsf but I'm wondering if there is a more specific documentation?

Regards,

Charly

stel...@uniroma2.it

unread,
Jul 18, 2024, 1:42:57 PM (9 days ago) Jul 18
to charly....@univ-grenoble-alpes.fr, vocbench-user

Dear Charly,

 

well, you are like, that element is available (indeed, we might overlook things we add from time to time but I checked and that is documented as well in the page you reported) and is opCtx/user.

 

Here’s an example of its use. I tried and it works.

 

prefix dct: http://purl.org/dc/terms/

prefix coda: http://art.uniroma2.it/coda/contracts/

                                           

rule it.uniroma2.art.semanticturkey.onResourceCreated id:onResourceCreated {

               nodes = {

               createdRes uri opCtx/resource .

                              user uri opCtx/user .

               creationDate literal(coda:datetime()) .

               }

               graph = {

                              $createdRes dct:created $creationDate .

                              $createdRes dct:author $user .

               }

}

 

Kind Regards,

 

Armando

 

 

--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vocbench-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vocbench-user/d68a2db0-5509-438e-a4b2-8f7c6e5fb562n%40googlegroups.com.

stel...@uniroma2.it

unread,
Jul 18, 2024, 3:02:31 PM (9 days ago) Jul 18
to charly....@univ-grenoble-alpes.fr, vocbench-user

corrige: *you are lucky

Message has been deleted

charly....@univ-grenoble-alpes.fr

unread,
Jul 21, 2024, 3:24:04 AM (6 days ago) Jul 21
to vocbench-user
Dear Armando,

Thank you very much for your response. Can you tell me if it is possible to retrieve information about the author using the author uri? Ideally I would reference author orcid url documented "personnal URL" field.

Kind regards,

Charly

stel...@uniroma2.it

unread,
Jul 21, 2024, 3:35:35 AM (6 days ago) Jul 21
to charly....@univ-grenoble-alpes.fr, vocbench-user

Dear Charly,

 

currently author’s info is outside of what can be referenced in RDF. The idea is that once you have the URI you have a reference to the authors and that’s enough (supposedly, you can build your own RDF dataset with the authors’ information). Anyway, it could  be a good addendum.

However, specifically for your need, trivially one thing that you could do is to ask authors to use their ORCID URL as the USER URI in VocBench; the USER IRI can be specified by the user upon registration and can be identical to the USER Web page or a different one.

 

Kind Regards,

 

Armando

 

Reply all
Reply to author
Forward
0 new messages