<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>A. Iglesias-Molina);</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Practices in an Organization Using RDF-star</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ana Iglesias-Molina</string-name>
          <email>ana.iglesiasm@upm.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Daniel Garijo</string-name>
          <email>daniel.garijo@upm.es</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Ontology Engineering Group, Universidad Politécnica de Madrid</institution>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0003</lpage>
      <abstract>
        <p>An increasing number of scientists share the source code used or developed during their research (i.e., their research software) in open repositories, in order to support the results described in their publications. Recent best practices have been proposed by the community by aligning the Findable, Accessible, Interoperable and Reusable (FAIR) principles to Research Software. However, there are currently no means to assess the systematic adoption of these practices in a research organization. In this poster, we propose an automated pipeline to transform the software metadata of an organization as a Knowledge Graph in order to assess the current adoption of FAIR Research Software best practices. Our poster shows results from our own GitHub organization, the Ontology Engineering Group.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <sec id="sec-1-1">
        <title>Research Software (RS) [ 1] plays a crucial role in reproducing computational experiments, where</title>
        <p>
          it can range from simple visualization scripts or data cleaning libraries to complex computational
pipelines that deliver the main findings described in a publication. RS has become key in many
application domains, ranging from Astronomy1 to Computational Biology [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. Following the
        </p>
      </sec>
      <sec id="sec-1-2">
        <title>Findable, Accessible, Interoperable and Reusable (FAIR) principles for data [3] the scientific</title>
        <p>
          community has discussed and adapted FAIR to RS [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], making available guidelines and best
practices for researchers and RS engineers [
          <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
          ]. Unfortunately, while there are tools for
helping developers adopt some of these practices [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], there is little work on assessing their
overall adoption within a given organization.
        </p>
      </sec>
      <sec id="sec-1-3">
        <title>In this poster we propose an automated pipeline that creates a Knowledge Graph (KG) of</title>
      </sec>
      <sec id="sec-1-4">
        <title>RS metadata to quantify the adoption of FAIR best RS practices within an organization. Our</title>
        <p>
          pipeline assesses online code repositories using existing software metadata extraction tools
[
          <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
          ] and combines them with RML-star mappings [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] to quantify the adoption of an illustrative
set of best practices while tracking the provenance of each assertion.
        </p>
      </sec>
      <sec id="sec-1-5">
        <title>The reminder of the paper first describes the best practices we focus on in Section 2, followed by the data model and mappings used to create our KG in Section 3. We show how we quantify best practices in Section 4, concluding the paper in Section 5.</title>
        <p>CEUR
Workshop
Proceedings</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Metadata requirements for FAIR RS Best Practices</title>
      <p>
        Table 1 shows a summary of the ten best practices we address in our work, based on existing
guidelines for publishing FAIR RS [
        <xref ref-type="bibr" rid="ref4 ref5">5, 4</xref>
        ]. The list includes requirements for all principles,
emphasizing those that rely on the metadata available in a code repository (e.g., availability of a
description, license, keywords, citation, usage documentation, installation instructions). The list
is a subset of [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], as i) our work is scoped towards code repositories and not external metadata
registries, and ii) some of the guidelines are still under discussion within the community [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <sec id="sec-2-1">
        <title>However, we consider this list as a first step towards assessing the adoption of FAIR best practices within a research organization.</title>
      </sec>
      <sec id="sec-2-2">
        <title>While software metadata interchange vocabularies have been proposed by the scientific</title>
        <p>community (e.g., Codemeta2), there is no well adopted standard for describing software metadata
within code repositories. Instead, diferent practices are followed for specific metadata or
programming languages. For example, a common practice is to describe LICENSES is to
generate a LICENSE file, although in some cases this information is found in a section of the</p>
      </sec>
      <sec id="sec-2-3">
        <title>README file, in a configuration file (e.g., pom.xml, setup.py) or in source code files. Similarly,</title>
        <p>
          the Citation File Format [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] has been increasingly adopted in thousands of research projects.
        </p>
      </sec>
      <sec id="sec-2-4">
        <title>However, it is still common to find references as Bibtex text within README files to indicate the publication associated with a software project. For these reasons, we consider key including the source of each assertion as part of our KG’s metadata.</title>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Creating a Research Software Metadata Knowledge Graph</title>
      <sec id="sec-3-1">
        <title>2https://codemeta.github.io/terms/</title>
        <p>RML-star
mapping</p>
        <p>Github
organisation</p>
        <p>RS code
repositories</p>
        <p>RS extracted
metadata</p>
        <p>RS metadata
Knowledge Graph
extract a structured and integrated metadata record. SOMEF extracts information from more
than 40 metadata categories, keeping a clear provenance record of the source file where each
metadata property was found (e.g., README, LICENSE.md, setup.py) the technique used in their
extraction (e.g., supervised classification, regular expressions, analysis of the documentation
headers) and the confidence (numeric value between 0 and 1) associated with the extraction.
All metadata categories for a given software repository are included in a JSON file. 3</p>
      </sec>
      <sec id="sec-3-2">
        <title>Finally, we apply an RML-star mapping [9] with the Morph-KGC engine [11], in order to</title>
        <p>capture the confidence, techniques and source for each metadata property when building the</p>
      </sec>
      <sec id="sec-3-3">
        <title>Knowledge Graph. We rely on the Software Description Ontology (SDO) [ 12] to represent RS</title>
        <p>projects (sd:Software) their diferent releases ( sd:SoftwareVesion s) and respective metadata.</p>
      </sec>
      <sec id="sec-3-4">
        <title>SDO extends Codemeta and Schema.org [13] for the Research Software domain, where both are gaining traction as a lightweight metadata interchange schema.</title>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. FAIR Research Software Best Practice Assessment</title>
      <sec id="sec-4-1">
        <title>3https://somef.readthedocs.io/en/latest/output/</title>
        <p>(b) Short and long descriptions
(a) Compliance with Best Practices
(c) Citations per source
date, we use a named graph to store all triples in a given time stamp. For example, the following
query assesses the number of citations in repositories which come from CFF files:
P R E F I X s d : &lt; h t t p s : / / w 3 i d . o r g / o k n / o / s d # &gt;
P R E F I X p r o v : &lt; h t t p : / / w w w . w 3 . o r g / n s / p r o v # &gt;
S E L E C T ( C O U N T ( D I S T I N C T ? s o f t w a r e ) A S ? c o u n t _ s o f t w a r e )
F R O M &lt; h t t p s : / / w 3 i d . o r g / o k n / i / g r a p h / 2 0 2 3 0 6 2 8 &gt;
W H E R E {
&lt; &lt; ? s o f t w a r e s d : c i t a t i o n ? c i t e &gt; &gt; p r o v : h a d P r i m a r y S o u r c e ? s o u r c e</p>
        <p>F I L T E R ( C O N T A I N S ( s t r ( ? s o u r c e ) , ’ . c f f ’ ) )
}</p>
      </sec>
      <sec id="sec-4-2">
        <title>Small edits to the query may be used to assess other metadata properties. All the data,</title>
        <p>mappings, KG, SPARQL queries and notebooks to run the pipeline are available online [15].4</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusions</title>
      <sec id="sec-5-1">
        <title>In this poster we explore the FAIR RS best practices adoption within an organisation using an</title>
        <p>automated workflow. Our approach tracks the confidence, technique and provenance used in
the extraction, enabling detailed queries and opening up the way towards designing validation
mechanisms (e.g., SHACL shapes) and assistants to help researchers follow the FAIR principles.</p>
      </sec>
      <sec id="sec-5-2">
        <title>Our future work aims at simplifying the extraction pipeline by integrating the RML-star mappings in SOMEF, thus expanding the best practice list with additional metadata, and addressing incomplete metadata in the extraction process.</title>
      </sec>
      <sec id="sec-5-3">
        <title>4https://github.com/oeg-upm/oeg-software-graph</title>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <sec id="sec-6-1">
        <title>Ana Iglesias-Molina is supported by the project Knowledge Spaces (Grant PID2020-118274RB</title>
      </sec>
      <sec id="sec-6-2">
        <title>I00 funded by MCIN/AEI/10.13039/501100011033). Daniel Garijo is supported by the Madrid</title>
      </sec>
      <sec id="sec-6-3">
        <title>Government (Comunidad de Madrid - Spain) under the Multiannual Agreement with Universidad</title>
      </sec>
      <sec id="sec-6-4">
        <title>Politécnica de Madrid in the line Support for R&amp;D projects for Beatriz Galindo researchers, in</title>
        <p>the context of the VPRICIT, and through the call Research Grants for Young Investigators from</p>
      </sec>
      <sec id="sec-6-5">
        <title>Universidad Politécnica de Madrid.</title>
        <p>[12] D. Garijo, M. Osorio, D. Khider, V. Ratnakar, Y. Gil, Okg-soft: An open knowledge graph
with machine readable scientific software metadata, in: 2019 15th International Conference
on eScience (eScience), IEEE, 2019, pp. 349–358.
[13] R. V. Guha, D. Brickley, S. Macbeth, Schema. org: evolution of structured data on the web,</p>
      </sec>
      <sec id="sec-6-6">
        <title>Communications of the ACM 59 (2016) 44–51.</title>
        <p>[14] T. Pellissier Tanon, Oxigraph, 2023. URL: https://doi.org/10.5281/zenodo.8034456. doi:1 0 .</p>
        <p>5 2 8 1 / z e n o d o . 8 0 3 4 4 5 6 , if you use this software, please cite it as below.
[15] A. Iglesias-Molina, D. Garijo, oeg-upm/oeg-software-graph: v1.0.0, 2023. doi: 1 0 . 5 2 8 1 /
z e n o d o . 8 1 1 4 6 7 7 .</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N. P.</given-names>
            <surname>Chue Hong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. S.</given-names>
            <surname>Katz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Barker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.-L.</given-names>
            <surname>Lamprecht</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Martinez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. E.</given-names>
            <surname>Psomopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Harrow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. J.</given-names>
            <surname>Castro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gruenpeter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. A.</given-names>
            <surname>Martinez</surname>
          </string-name>
          , et al.,
          <source>FAIR Principles for Research Software (FAIR4RS Principles)</source>
          ,
          <year>2022</year>
          .
          <source>doi: 1 0 . 1 5 4 9 7 / R D A 0 0</source>
          <volume>0 6 8 .</volume>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Prlić</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Lapp</surname>
          </string-name>
          ,
          <article-title>The plos computational biology software section</article-title>
          ,
          <source>PLOS Computational Biology</source>
          <volume>8</volume>
          (
          <year>2012</year>
          )
          <article-title>1-2. doi:1 0 . 1 3 7 1 / j o u r n a l</article-title>
          .
          <source>p c b i . 1 0</source>
          <volume>0 2 7 9 9 .</volume>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M. D.</given-names>
            <surname>Wilkinson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumontier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I. J.</given-names>
            <surname>Aalbersberg</surname>
          </string-name>
          , G. Appleton,
          <string-name>
            <given-names>M.</given-names>
            <surname>Axton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Baak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Blomberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-W.</given-names>
            <surname>Boiten</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. B. da Silva</given-names>
            <surname>Santos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. E.</given-names>
            <surname>Bourne</surname>
          </string-name>
          , et al.,
          <article-title>The fair guiding principles for scientific data management and stewardship</article-title>
          ,
          <source>Scientific data 3</source>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>9</lpage>
          .
          <source>doi:1 0 . 1 0 3 8 / s d a t a . 2 0</source>
          <volume>1 6 . 1</volume>
          <fpage>8</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Gruenpeter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Granger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Monteil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. Chue</given-names>
            <surname>Hong</surname>
          </string-name>
          , E. Breitmoser,
          <string-name>
            <given-names>M.</given-names>
            <surname>Antonioletti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Garijo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. González</given-names>
            <surname>Guardia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. Gonzalez</given-names>
            <surname>Beltran</surname>
          </string-name>
          , et al.,
          <source>D4</source>
          .4
          <article-title>- Guidelines for recommended metadata standard for research software within</article-title>
          <source>EOSC</source>
          ,
          <year>2023</year>
          .
          <source>doi: 1 0 . 5 2 8 1 / z e n o d o . 8 0</source>
          <volume>9 7 5 3 7 .</volume>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P. A.</given-names>
            <surname>Martinez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Erdmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Simons</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Otsuji</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Labou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Johnson</surname>
          </string-name>
          , G. Castelao,
          <string-name>
            <given-names>B. V.</given-names>
            <surname>Boas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.-L.</given-names>
            <surname>Lamprecht</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. M.</given-names>
            <surname>Ortiz</surname>
          </string-name>
          , et al.,
          <source>Top 10 fair data &amp; software things</source>
          ,
          <source>2019. doi:1 0 . 5 2 8 1 / z e n o d o . 3 4</source>
          <volume>0 9 9 6 8 .</volume>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Spaaks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Verhoeven</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. Tjong Kim</given-names>
            <surname>Sang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Diblen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Martinez-Ortiz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Etuk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kuzak</surname>
          </string-name>
          ,
          <string-name>
            <surname>B. van Werkhoven</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. Soares</given-names>
            <surname>Siqueira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Saladi</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Holding, howfairis,
          <year>2022</year>
          . URL: https://github.com/fair-software/howfairis.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Kelley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Garijo</surname>
          </string-name>
          ,
          <article-title>A Framework for Creating Knowledge Graphs of Scientific Software Metadata, Quantitative Science Studies (</article-title>
          <year>2021</year>
          ).
          <article-title>doi:1 0 . 1 1 6 2 / q s s _ a _ 0 0 1 6 7</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Mao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Garijo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Fakhraei</surname>
          </string-name>
          ,
          <article-title>Somef: A framework for capturing scientific software metadata from its documentation</article-title>
          ,
          <source>in: 2019 IEEE International Conference on Big Data (Big Data)</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>3032</fpage>
          -
          <lpage>3037</lpage>
          .
          <source>doi:1 0 . 1 1 0 9 / B i g D a t a 4 7</source>
          <volume>0 9 0 . 2 0 1 9 . 9 0 0 6 4 4 7 .</volume>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Delva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Arenas-Guerrero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Iglesias-Molina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Corcho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chaves-Fraga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Dimou</surname>
          </string-name>
          ,
          <article-title>RML-star: A Declarative Mapping Language for RDF-star Generation</article-title>
          , in: International Semantic Web Conference, P&amp;D, volume
          <volume>2980</volume>
          , CEUR Workshop Proceedings,
          <year>2021</year>
          . URL: http://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>2980</volume>
          /paper374.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Druskat</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Spaaks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. Chue</given-names>
            <surname>Hong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Haines</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Baker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bliven</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Willighagen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Pérez-Suárez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Konovalov</surname>
          </string-name>
          , Citation File Format,
          <year>2021</year>
          .
          <source>doi:1 0 . 5 2 8 1 / z e n o d o . 5 1</source>
          <volume>7 1 9 3 7 .</volume>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>J.</given-names>
            <surname>Arenas-Guerrero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chaves-Fraga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Toledo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Pérez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Corcho</surname>
          </string-name>
          , Morph-KGC:
          <article-title>Scalable knowledge graph materialization with mapping partitions, Semantic Web (</article-title>
          <year>2022</year>
          ).
          <source>doi:1 0 . 3 2 3 3 / S W - 2</source>
          <volume>2 3 1 3 5 .</volume>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>