Skip to content

Commit

Permalink
more information
Browse files Browse the repository at this point in the history
modularization and fix hardcoded test
  • Loading branch information
arademaker committed Aug 26, 2009
1 parent adafe87 commit c920d58
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
16 changes: 16 additions & 0 deletions README
Expand Up @@ -4,7 +4,22 @@ transform XML Brazilian Curriculum Lattes files to RDF data. So that,
the purpose of this project is to bridging the gap between the
Brazilian Curriculum Lattes plataform and semantic web technologies.

Status:
=======

We have just started the project and we hope to have
contributions. Our first priority will be publications followed by
academic activites and personal information.


Usage:
======

$ xsltproc lattes.xsl CURRICULUM.xml > CURRICULUM.rdf


Authors:
========

* Alexandre Rademaekr (EPGE/FGV, PUC-Rio)
http://web.me.com/arademaker
Expand All @@ -17,6 +32,7 @@ Authors:


More information:
=================

* http://lattes.cnpq.br/
* http://www.w3.org/RDF/
Expand Down
14 changes: 12 additions & 2 deletions lattes.xsl
Expand Up @@ -16,19 +16,29 @@
</rdf:RDF>
</xsl:template>

<xsl:template match="DADOS-BASICOS-DO-ARTIGO">
<xsl:template match="DADOS-BASICOS-DO-ARTIGO/@TITULO-DO-ARTIGO">
<dc:title> <xsl:value-of select="@TITULO-DO-ARTIGO" /> </dc:title>
</xsl:template>

<xsl:template match="DADOS-BASICOS-DO-ARTIGO/@ANO-DO-ARTIGO">
<dc:date> <xsl:value-of select="@ANO-DO-ARTIGO" /> </dc:date>
</xsl:template>

<xsl:template match="DADOS-BASICOS-DO-ARTIGO">
<xsl:apply-templates />
</xsl:template>

<xsl:template match="DETALHAMENTO-DO-ARTIGO">
<xsl:apply-templates />
</xsl:template>

<xsl:template match="AUTORES">
<dc:creator>
<rdf:Description rdf:nodeID="{generate-id()}">
<foaf:name> <xsl:value-of select="@NOME-COMPLETO-DO-AUTOR"/> </foaf:name>
<foaf:citation-name> <xsl:value-of select="@NOME-PARA-CITACAO"/> </foaf:citation-name>
<rdfs:label> <xsl:value-of select="@NOME-COMPLETO-DO-AUTOR" /> </rdfs:label>
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent" />
<foaf:unidade>EPGE</foaf:unidade>
</rdf:Description>
</dc:creator>
</xsl:template>
Expand Down

0 comments on commit c920d58

Please sign in to comment.