Christof93 / SciKGTeX

SciKGTeX is a LuaTeX package which introduces commands to mark research contributions in scientific documents. SciKGTeX will enrich the document by adding your contributions to PDF metadata in a structured XMP format which can be picked up by Search Engines and Knowledge Graphs.
MIT License
18 stars 0 forks source link

Use predicate id to label dump provided by ORKG #19

Closed MarcelKonrad closed 3 months ago

MarcelKonrad commented 4 months ago

Currently, the predicate endpoint of ORKG (/api/predicates) is crawled to fetch all predicate ids and their label, when building the SciKGTeX package (see https://github.com/Christof93/SciKGTeX/blob/main/build/get_orkg_predicates.py). It would be nice if you could integrate the ORKG predicate id to label dump, which is a JSON key value map of predicate ids to their corresponding label. It is publicly available for download under the following URL: https://orkg.org/files/mappings/predicate-ids_to_label.json. The dump automatically updates every day.