{"id":16662224,"url":"https://github.com/arademaker/slattes","last_synced_at":"2026-02-15T13:36:35.601Z","repository":{"id":1035318,"uuid":"1908859","full_name":"arademaker/SLattes","owner":"arademaker","description":"Semantic Lattes","archived":false,"fork":false,"pushed_at":"2022-06-16T01:12:31.000Z","size":113,"stargazers_count":41,"open_issues_count":3,"forks_count":15,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-10-06T18:43:16.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arademaker.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-17T01:25:55.000Z","updated_at":"2025-06-11T17:33:34.000Z","dependencies_parsed_at":"2022-08-06T10:15:06.472Z","dependency_job_id":null,"html_url":"https://github.com/arademaker/SLattes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arademaker/SLattes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arademaker%2FSLattes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arademaker%2FSLattes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arademaker%2FSLattes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arademaker%2FSLattes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arademaker","download_url":"https://codeload.github.com/arademaker/SLattes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arademaker%2FSLattes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29480159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T10:37:19.360Z","updated_at":"2026-02-15T13:36:35.576Z","avatar_url":"https://github.com/arademaker.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+Title: Semantic Lattes\n#+Author: Alexandre Rademaker\n\n* About\n\nThe purpose of this project is to bridging the gap between the\nBrazilian Curriculum Lattes plataform and [[http://en.wikipedia.org/wiki/Semantic_Web][Semantic Web]]\ntechnologies. As part of the project, we have already developed:\n\n1. A XSLT stylesheet that process XML Brazilian [[http://lattes.cnpq.br/][Curriculum Lattes]]\n   files and generates [[http://en.wikipedia.org/wiki/Resource_Description_Framework][RDF]] data.\n\n2. An updated version of the Lattes XML DTD specification. The\n   original DTD provided by CNPq was last updated in 2004.\n\n3. A XSLT stylesheet that process XML Latttes and generate an\n   [[http://www.loc.gov/standards/mods/][MODS XML]] file.\n\n\n* Lattes to RDF\n\nUsage:\n\n#+BEGIN_EXAMPLE\nxsltproc --stringparam ID LATTESID lattes.xsl CURRICULIUM.xml \u003e CURRICULIUM.rdf\n#+END_EXAMPLE\n\nwhere =LATTESID= is an unique identifier that will be used to create\nthe =xml:base= URL if the XML doesn't have the =NUMERO-IDENTIFICADOR=\nattribute in the tag =CURRICULO-LATTES=. We also provide another\nstylesheet called =lattes-vivo.xsl= that generates a RDF [[http://vivoweb.org][VIVO]]\ncompliance, that is, readdy to be ingest into a VIVO instalation. \n\n* Lattes validation agains the updated Lattes DTD \n\nIn Unix/MacOS systems you can also run:\n\n#+BEGIN_EXAMPLE\nxmllint --schema CurriculoLattes.xsd --noout CV.xml\n#+END_EXAMPLE\n\nIf one wants to compare what we changed from the original DTD provided\nby CNPQ, just use the github diff of commits.    \n\n\n* Lattes to BibTeX\n\nWe have also developed a XSLT stylesheet that transforms a XML Lattes\ninto a XML in [[http://www.loc.gov/standards/mods/][MODS]] format.\n\nYou will need the following tools to actually obtain a BibTeX file\nfrom your XML Lattes:\n\n- [[http://xmlsoft.org/XSLT/xsltproc2.html][xsltproc]]: to execute the xsl stylesheet.\n- [[http://xmlsoft.org/xmllint.html][xmllint]]: to validate the MODS XML generated (optional).\n- [[http://sourceforge.net/p/bibutils/][BibUtils]]: to transform the MODS XML in BibTeX file.\n- [[http://www.gerd-neugebauer.de/software/TeX/BibTool/][BibTool]]: to fix the keys and sort the entries in the final BibTeX\n  file (optional).\n\nTo transform Lattes to BibTeX:\n\n#+BEGIN_EXAMPLE\nxsltproc lattes2mods.xsl LATTES.xml \u003e LATTES.mods\nxmllint --schema mods.xsd LATTTES.mods\nxml2bib -b -w LATTES.mods \u003e LATTES.bib\n#+END_EXAMPLE\n\nThe second command above is not necessary. It is how one can validate\nthe MODS XML produced by the transformation. To run this command, you\nwill need to download the [[http://www.loc.gov/standards/mods/mods-schemas.html][mods.xsd]] first.\n\nUsing bibtool command, you can also fix the citekeys, sort the entries\nand merge BiBTeX files. For instance, the command below generate the\nNEW.bib file with keys like \"2012:Rademaker.Hermann\" and the entries\nwill be sorted in the inverse order by these keys.\n\n#+BEGIN_EXAMPLE\nbibtool -f \"%4d(year):%n(author)\" -s LATTES.bib \u003e NEW.bib\n#+END_EXAMPLE\n    \n* Collaborators\n\n- [[http://arademaker.github.io][Alexandre Rademaker]] (EMAp/FGV)\n- [[http://www-di.inf.puc-rio.br/~hermann/][Edward Hermann Haeusler]] (PUC-Rio)\n\n* Links\n\n- http://lattes.cnpq.br/\n- http://www.w3.org/RDF/\n- http://lmpl.cnpq.br/lmpl/ \n- http://scriptlattes.sourceforge.net/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farademaker%2Fslattes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farademaker%2Fslattes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farademaker%2Fslattes/lists"}