{"id":25843080,"url":"https://github.com/incatools/environments2wikidata","last_synced_at":"2026-03-04T02:32:52.779Z","repository":{"id":66914563,"uuid":"185295871","full_name":"INCATools/environments2wikidata","owner":"INCATools","description":"Mapping of GAZ and ENVO to Wikidata","archived":false,"fork":false,"pushed_at":"2020-04-02T23:10:01.000Z","size":10879,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T06:39:18.755Z","etag":null,"topics":["environmentontology","envo","gaz","mapping","obofoundry","sssom","wikidata"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/INCATools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-05-07T01:15:16.000Z","updated_at":"2025-01-12T11:41:29.000Z","dependencies_parsed_at":"2023-05-20T11:00:36.580Z","dependency_job_id":null,"html_url":"https://github.com/INCATools/environments2wikidata","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"2688c2aee17c87804dfad949c173f1a1de4e10c8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/INCATools/environments2wikidata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Fenvironments2wikidata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Fenvironments2wikidata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Fenvironments2wikidata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Fenvironments2wikidata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/INCATools","download_url":"https://codeload.github.com/INCATools/environments2wikidata/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/INCATools%2Fenvironments2wikidata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["environmentontology","envo","gaz","mapping","obofoundry","sssom","wikidata"],"created_at":"2025-03-01T06:38:04.620Z","updated_at":"2026-03-04T02:32:52.754Z","avatar_url":"https://github.com/INCATools.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# environments2wikidata\n\ntools and results for mining connections between wikidata entries and ENVO or GAZ.\n\nThe resulting mappings can connect GAZ to ENVO, as per the following schema:\n\n```\n\n                      (wd curated)\n   wikidata:\u003cPlace\u003e --[rdf:type]--\u003e   wikidata:\u003cPlaceType\u003e\n         |                              |\n         |                              |\n      skos:match                      skos:match\n         |                              |\n         |                              |\n   GAZ:\u003cGAZ_ID\u003e    ---[rdf:type]--\u003e   ENVO:\u003cENVO_ID\u003e\n                      (inferred)\n\n\n```\n\nFor more details and contex, see the following tickets:\n\n * [envo#833](https://github.com/EnvironmentOntology/envo/issues/833) ENVO to Wikidata mappings\n * [gaz#3](https://github.com/EnvironmentOntology/gaz/issues/3) Upload all of GAZ to wikidata\n * [gaz#20](https://github.com/EnvironmentOntology/gaz/issues/20) convert GAZ to instance-based\n\n## Results\n\n * [curated-high-confidence-envo.tsv](https://github.com/cmungall/environments2wikidata/blob/master/matches/curated-high-confidence-envo.tsv) (~1k)\n * [align-high-confidence-gaz.tsv](https://github.com/cmungall/environments2wikidata/blob/master/matches/align-high-confidence-gaz.tsv) (~167k)\n * [gaz-to-envo.tsv](https://github.com/cmungall/environments2wikidata/blob/master/matches/gaz-to-envo.tsv) (~26k)\n\nNote that intermediate results of first pass search of GAZ is store on OSF:\n\n * All triples are stored on OSF (\u003e100M): [https://osf.io/unga9/](https://osf.io/unga9/)\n\n## Methods\n\n### Scan and extract of wikidata\n\n[wikidata_ontomatcher](https://github.com/cmungall/wikidata_ontomatcher)\nis used to do a first pass search of wikidata using all classes in an\nontology.\n\nThe results are an intermediate ttl file containing skos mapping\ntriples, plus triples about the matched entities in wikidata. This may\nhave many false positives due to homonyms.\n\n### Alignment\n\nThe above is used to do a more fine grained alignment using [rdf_matcher](https://github.com/cmungall/rdf_matcher) using the `exact` command.\n\nThese are then filtered to obtain only high-quality mappings\n\n### GAZ to ENVO\n\nThis is simply a join between the rdf:types asserted in Wikidata and the matches.\n\nDue to the conservative nature of both mappings we only get a fraction of GAZ entities with a type as this time (5%)\n\n## Future\n\nWe plan to use the conservative mappings to further boost results using kBOOM.\n\nWe also want to upload mappings to wikidata and have the community help extend mappings.\n\nAlso: GAZ to geonames.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincatools%2Fenvironments2wikidata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fincatools%2Fenvironments2wikidata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincatools%2Fenvironments2wikidata/lists"}