Using Authority Control in DSpace

431 views
Skip to first unread message

ajdab...@tamu.edu

unread,
Sep 27, 2016, 3:25:55 PM9/27/16
to DSpace Community
Hi Everyone,

I'm writing to ask if anyone has experience using and/or extending the authority control feature in DSpace?

Here at Texas A&M, were looking at using this feature in a couple of metadata fields that contain person names for theses and dissertations. We're exploring the use of both ORCiDs as well as VIVO URIs and are interested hearing experiences and ideas from other institutions. 

Thanks!
Anna

Anna J Dabrowski
Scholarly Communications Librarian | Digital Repositories
Texas A&M University Libraries
ajdab...@library.tamu.edu | 979.845.8847

Terry Brady

unread,
Sep 27, 2016, 4:13:06 PM9/27/16
to ajdab...@tamu.edu, DSpace Community
Anna,

We are not using this feature, so I imagine that others can offer a more detailed response.  

I noticed that the ORCID lookup process appears to be enabled on demo.dspace.org if you want to experiment with it.


This process saves a reference to the authority record (uuid in SOLR) but it does not make the ORCID immediately available in metadata.



Terry



--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.



--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
425-298-5498 (Seattle, WA)

Stefanie Behnke

unread,
Sep 30, 2016, 4:48:01 AM9/30/16
to Terry Brady, ajdab...@tamu.edu, DSpace Community

 

Von: dspace-c...@googlegroups.com [mailto:dspace-c...@googlegroups.com] Im Auftrag von Terry Brady
Gesendet: Dienstag, 27. September 2016 22:13
An: ajdab...@tamu.edu
Cc: DSpace Community
Betreff: Re: [dspace-community] Using Authority Control in DSpace

 

Anna,

 

We are not using this feature, so I imagine that others can offer a more detailed response.  

 

I noticed that the ORCID lookup process appears to be enabled on demo.dspace.org if you want to experiment with it.

 

 

This process saves a reference to the authority record (uuid in SOLR) but it does not make the ORCID immediately available in metadata.

 

Terry

 

 

On Tue, Sep 27, 2016 at 12:25 PM, <ajdab...@tamu.edu> wrote:

Hi Everyone,

 

I'm writing to ask if anyone has experience using and/or extending the authority control feature in DSpace?

 

Here at Texas A&M, were looking at using this feature in a couple of metadata fields that contain person names for theses and dissertations. We're exploring the use of both ORCiDs as well as VIVO URIs and are interested hearing experiences and ideas from other institutions. 

 

Thanks!

Anna

 

Anna J Dabrowski
Scholarly Communications Librarian | Digital Repositories
Texas A&M University Libraries
ajdab...@library.tamu.edu | 979.845.8847

--

You received this message because you are subscribed to the Google Groups "DSpace Community" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.



 

--

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

425-298-5498 (Seattle, WA)

--

You received this message because you are subscribed to the Google Groups "DSpace Community" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.

image001.png
image002.png

Terry Brady

unread,
Sep 30, 2016, 12:18:41 PM9/30/16
to Stefanie Behnke, ajdab...@tamu.edu, DSpace Community
Stefanie, I see that error now as well.  I have submitted a bug report: https://jira.duraspace.org/browse/DS-3350

Terry

--

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.



 

--

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

425-298-5498 (Seattle, WA)

--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.

Darryl Friesen

unread,
Oct 3, 2016, 5:14:32 PM10/3/16
to DSpace Community, dsp...@eurographics-office-goslar.de, ajdab...@tamu.edu
The University of Saskatchewan enabled ORCID recently.  Not many of our faculty have tried it yet, although I've done some testing.  As Terry mentioned, a lot of data gets put into the authority control Solr database, but none of that is available as metadata when the item page is rendered.  That's actually on my to-do list, so if anyone knows how to get authority control data data into the DRI/XML, please feel free to send me suggestions!

We haven't tried anything other than the built-in authority control/ORCID functionality -- populating the authority control data from an external source, for example.

Ana, I'm curious if your question stems from planned future integration between Vireo (which the UofS is using) and DSpace.  I know Vireo allows our students to enter their ORCID, but currently it comes over as part of the ETD metadata, and doesn't make it into DSpace's authority control database.


- Darryl

 

 

----------------------------------------------------------------------

 Darryl Friesen, B.Sc., Programmer/Analyst    Darryl....@usask.ca

 Library Systems & Information Technology,    http://library.usask.ca/

 University of Saskatchewan Library

----------------------------------------------------------------------

"Go not to the Elves for counsel, for they will say both no and yes"

--

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.



 

--

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

425-298-5498 (Seattle, WA)

--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.

Terry Brady

unread,
Oct 3, 2016, 7:28:49 PM10/3/16
to Darryl Friesen, DSpace Community
Darryl, 

I found some sample code for XMLUI I had written to pull the ORCID out of the SOLR authority.

Here it is in case you find it useful.



<!--
display item summary info
$notLast and $sep are used to control the display of multiple authors
-->
<xsl:when test="@element='contributor' and @qualifier='author' and @authority">
<xsl:variable name="a">
<xsl:value-of select="."/>
<xsl:call-template name="ORCID">
<xsl:with-param name="uuid" select='@authority'/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="b">
<xsl:if test="$notLast"><xsl:copy-of select="$sep"/></xsl:if>
</xsl:variable>
<xsl:copy-of select="$a"/><xsl:copy-of select="$b"/>
</xsl:when>
<!-- create a link to ORCID using the SOLR authority -->
<xsl:template name="ORCID">
<xsl:param name='uuid'/>
<xsl:variable name="solr" select="concat('http://localhost/solr/authority/select?q=id:',$uuid)"/>
<xsl:variable name="authority" select="document($solr)/response/result/doc/str[@name='orcid_id']/text()"/>
<xsl:if test="$authority">
<xsl:text> (</xsl:text>
<a>
<xsl:attribute name='href'>
<xsl:value-of select="concat('http://orcid.org/',$authority)"/>
</xsl:attribute>
<xsl:text>ORCID</xsl:text>
</a>
<xsl:text>)</xsl:text>
</xsl:if>
</xsl:template>


To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.

Curnow, Amanda

unread,
Oct 3, 2016, 9:28:54 PM10/3/16
to Terry Brady, Darryl Friesen, DSpace Community

Hi Terry,

 

Do you have an example of this working in a live repository? (for a non-techie)

Does this code associate the ORCID with the correct author? Rather than just as a piece of metadata in the record.

 

Amanda

Image removed by sender.

 

This process saves a reference to the authority record (uuid in SOLR) but it does not make the ORCID immediately available in metadata.

 

Image removed by sender.

Terry

 

 

Terry Brady

unread,
Oct 3, 2016, 10:55:56 PM10/3/16
to Curnow, Amanda, Darryl Friesen, DSpace Community
Amanda,

We disabled the authority mechanism, so I can no longer test this.  I thought I was able to pull the correct value.  Hopefully this code could help towards a solution.

Terry

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.



 

--

Terry Brady

Applications Programmer Analyst

Georgetown University Library Information Technology

425-298-5498 (Seattle, WA)

--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.


--
Sent from Gmail Mobile

helix84

unread,
Oct 4, 2016, 3:28:48 AM10/4/16
to Darryl Friesen, DSpace Community
Hi Darryl,

this should give you more background about that approach Terry sent you:



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.

ajdab...@tamu.edu

unread,
Oct 4, 2016, 3:01:45 PM10/4/16
to DSpace Community, dsp...@eurographics-office-goslar.de, ajdab...@tamu.edu
Hi Darryl, 

We’re currently doing the same thing as you in terms of asking for ORCiDs in Vireo and pushing them to DSpace as metadata. My understanding from the developers here at Texas A&M—who are working on the new version of Vireo—is that this is going to continue being the case with Vireo for the time being. To put it briefly, this is one application that would benefit from answers to my question. 

However, in the Vireo case ORCiDs would be tied to the Thesis/Dissertation authors. The actual reason for asking my question is that we are also bringing up VIVO as a profile system for faculty and interested in linking this more closely with OAKTrust. We are curious to know if others have experience with using the name authority control because we would like to test using ORCiDs or VIVO URIs or possibly both for a single person. This person would be a faculty member serving as committee chair for a given Thesis/Dissertation, rather than the graduate student author. 

Hope this makes sense and thank you for the great thread!
Anna

ajdab...@tamu.edu

unread,
Oct 4, 2016, 3:04:03 PM10/4/16
to DSpace Community, dsp...@eurographics-office-goslar.de, ajdab...@tamu.edu
Sorry, I mindlessly wrote "OAKTrust" in my last message, this is the name of our DSpace repository at Texas A&M....

ajdab...@tamu.edu

unread,
Oct 4, 2016, 3:05:46 PM10/4/16
to DSpace Community
Thank you all for your responses!

Anna

Friesen, Darryl

unread,
Nov 16, 2016, 3:02:17 PM11/16/16
to Terry Brady, DSpace Community

Sorry about the late response to this thread.  I finally got around to looking into this.  Thought I’d follow up to say thanks to Terry for the gist (was very helpful!) and Ivan for the link to the DSpace docs.  I’m also including some more detail on what I did to get this to work in our environment (DSpace 5.5, XMLUI, custom theme based on Mirage 2).

 

item-view.xsl (the location of which depends on you setup I think; we have a custom Mirage 2 theme, so I copied it from its original location into my theme directory into xsl/aspect/artifactBrowser) has the following template:

 

<xsl:template name="itemSummaryView-DIM-authors-entry">

    <div>

        <xsl:if test="@authority">

            <xsl:attribute name="class"><xsl:text>ds-dc_contributor_author-authority</xsl:text></xsl:attribute>

        </xsl:if>

        <xsl:copy-of select="node()"/>

    </div>

</xsl:template>

 

I replaced that with the following.  The ORCID template is virtually unchanged from Terry’s example, and the second part if the itemSummaryView-DIM-authors-entry template is also very similar to the portion he had.

 

<xsl:template name="itemSummaryView-DIM-authors-entry">

    <div>

        <xsl:if test="@authority">

            <xsl:attribute name="class"><xsl:text>ds-dc_contributor_author-authority</xsl:text></xsl:attribute>

        </xsl:if>

        <xsl:copy-of select="node()"/>

 

        <xsl:if test="@authority">

            <xsl:variable name="orcid">

                <xsl:call-template name="ORCID">

                    <xsl:with-param name="uuid" select='@authority'/>

                </xsl:call-template>

           </xsl:variable>

           <xsl:copy-of select="$orcid"/>

        </xsl:if>

    </div>

</xsl:template>

 

<!-- create a link to ORCID using the SOLR authority -->

<xsl:template name="ORCID">

  <xsl:param name='uuid'/>

  <xsl:variable name="solr" select="concat('http://localhost:8080/solr/authority/select?q=id:',$uuid)"/>

  <xsl:variable name="authority" select="document($solr)/response/result/doc/str[@name='orcid_id']/text()"/>

  <xsl:if test="$authority">

    <xsl:text> (</xsl:text>

    <a>

      <xsl:attribute name='href'>

        <xsl:value-of select="concat('http://orcid.org/',$authority)"/>

      </xsl:attribute>

      <xsl:text>ORCID</xsl:text>

    </a>

    <xsl:text>)</xsl:text>

  </xsl:if>

</xsl:template>

 

 

You can see this in action here: http://hdl.handle.net/10388/7225 (the link to ORCID are after the author names in the left-hand column)

Reply all
Reply to author
Forward
0 new messages