Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documention of targets used and why not use Linkedata #6

Closed
salgo60 opened this issue Jun 22, 2022 · 7 comments
Closed

Documention of targets used and why not use Linkedata #6

salgo60 opened this issue Jun 22, 2022 · 7 comments

Comments

@salgo60
Copy link
Owner

salgo60 commented Jun 22, 2022

Issue Linked data is not used in the SDG mapper API

The API returns textstrings that I feel is not linked to other APIs --> we create a SILO preferred is using Linked data --> it will be easier to connect to other SDG initiatives

      children":
                [
                  {
                    "n_occurrences": 1, 
                     "name": "Target 4.b"}, 
                  {
                    "n_occurrences": 2, 
                    "name": "SDG 4_undetected_target"}
                    ]}, 
            {
  1. question: were are those targets name documented
  2. feels better if we used Linked data and 5stardata.info
    1. you have Open SDG Data Hub see SDG API/v1/sdg/Goal/List?
      1. Notebook test were it looks like every target has an URI like /v1/sdg/Goal/10
        1. targets are defined in this API as "SI_POV_DAY1" / "SI_POV_NAHC" dont know if that is good or bad
          1. same target code is also used in databank.worldbank.org see SI.POV.NAHC

image

@salgo60 salgo60 changed the title Documention of targets used Documention of targets used and why nit use Linkedata Jun 22, 2022
@salgo60 salgo60 changed the title Documention of targets used and why nit use Linkedata Documention of targets used and why not use Linkedata Jun 22, 2022
@salgo60
Copy link
Owner Author

salgo60 commented Jun 22, 2022

Informed ec.europa.eu about this issue that we prefer Linked data and not text strings

image

@salgo60
Copy link
Owner Author

salgo60 commented Jun 22, 2022

Answer ec.europa.eu and looks like maybe action I close this issue

image

@salgo60 salgo60 closed this as completed Jun 22, 2022
@salgo60
Copy link
Owner Author

salgo60 commented Jun 23, 2022

sdg:FI_FSI_FSERA skos:broader sdg:C100501 .
--> C100501 --> http://metadata.un.org/sdg/C100501

image

image

github.com/UNStats/LOD4Stats

The SDG Knowledge Organization System is a linked data-based vocabulary describing Sustainable Development Goals and related concepts. It is published on Dag Hammarskjöld Library metadata platform and consists of two parts

Mapping SDG -> Eurovoc

Tagging information resources and linking content

Different types of digital information resources (e.g., datasets, documents, SDG entities) can be described (annotated/tagged) with concepts of relevant shared taxonomies, such as:

UNBIS Thesaurus
EuroVoc
GEMET
AGROVOC
and others


The high volume of documents currently produced by the different UN organizations, as well as the amount of non-UN documents that have to be processed, is posing a significant challenge to the UN System. Effective and efficient information management and accessibility is well beyond the “human processing” capabilities of UN organizations.

Why UNSIF?
The adoption of UNSIF has put the basics for the establishment of a UN-wide ecosystem of documents that will foster collaboration and reduce costs in information management across the system by transforming the web of information enclosed in traditional word processing documents into a web of data that can be interpreted by computers to create innovative services.

Having documents available in a common semantically rich format will raise dramatically the UN capacity to coordinate activities, create synergies and respond to clients’ information demands, improve the efficiency and quality of information processing, dissemination and accessibility, and bring significant benefits in terms of governance, accountability and transparency.

@salgo60
Copy link
Owner Author

salgo60 commented Jun 30, 2022

New API format delivered

{
  "@context": {
    "sdgo": "http://metadata.un.org/sdg/ontology#",
    "description": "https://schema.org/description",
    "name": "https://schema.org/name",
    "children": "https://json-schema.org/draft/2020-12/schema#children",
    "api_version": "https://schema.org/version"
  },
  "description": "The SDG Mapper API, developed by the JRC and DG INTPA, enables users to submit text and receive SDGs and Targets detected data in the form of JSON objects. In the returned json: n_occurrences is the sum of the counts for the different terms belonging to a specific goal or target; relevance, or % of occurrences, is the ratio between the number of occurrences for a specific goal or target and the total number of occurrences for all the goals or targets that have been detected.",
  "children": [
    {
      "@id": "https://unstats.un.org/SDGAPI/v1/sdg/Goal/1/Target/List?includechildren=false",
      "@type": "sdgo:Goal",
      "@language": "en",
      "name": "SDG 1",
      "n_occurrences": 3,
      "relevance": "75.0%",
      "children": [
        {
          "@id": "https://unstats.un.org/SDGAPI/v1/sdg/Target/1.5/Indicator/List?includechildren=false",
          "@type": "sdgo:Target",
          "@language": "en",
          "name": "Target 1.5",
          "n_occurrences": 3
        }
      ]
    },
    {
      "@id": "https://unstats.un.org/SDGAPI/v1/sdg/Goal/3/Target/List?includechildren=false",
      "@type": "sdgo:Goal",
      "@language": "en",
      "name": "SDG 3",
      "n_occurrences": 1,
      "relevance": "25.0%",
      "children": [
        {
          "name": "SDG 3_undetected_target",
          "n_occurrences": 1
        }
      ]
    }
  ],
  "api_version": "v1"
}

@salgo60
Copy link
Owner Author

salgo60 commented Jun 30, 2022

image

image

@salgo60
Copy link
Owner Author

salgo60 commented Jul 28, 2022

Swedish now supported

Dear Magnus,

you can find the new SDG Mapper API documentation here: https://knowsdgs.jrc.ec.europa.eu/sdgmapper/api-doc

You can now use the API also with documents in swedish language.

Best.

Diego Migliavacca


Thanks

My issue SDGMapperSweden/issues/6

Should you use Linked data see https://sustainabledevelopment.un.org/LinkedSDGs/about
And/or vocabular as Eurovoc

Regards
Magnus Sälgö

@salgo60
Copy link
Owner Author

salgo60 commented Jul 29, 2022

Test with new API version that support languages - documentation

  • Swedish Governments SFS - Notebook - started
  • Party statements before the Swedish elections - Notebook - done
    • 557 of 1191 statements had now a connection to SDG --> major change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant