{"id":19423088,"url":"https://github.com/quantori/kifparser","last_synced_at":"2025-10-16T05:38:57.715Z","repository":{"id":43012494,"uuid":"468254580","full_name":"quantori/kifparser","owner":"quantori","description":"SUO-KIF ontology parser","archived":false,"fork":false,"pushed_at":"2022-03-23T10:21:34.000Z","size":59,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-23T03:56:59.909Z","etag":null,"topics":["ontology","parser","python","suo-kif"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quantori.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-10T08:23:32.000Z","updated_at":"2024-12-18T07:57:24.000Z","dependencies_parsed_at":"2022-08-27T12:40:59.605Z","dependency_job_id":null,"html_url":"https://github.com/quantori/kifparser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quantori/kifparser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantori%2Fkifparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantori%2Fkifparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantori%2Fkifparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantori%2Fkifparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quantori","download_url":"https://codeload.github.com/quantori/kifparser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantori%2Fkifparser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279159695,"owners_count":26116533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":["ontology","parser","python","suo-kif"],"created_at":"2024-11-10T13:36:38.842Z","updated_at":"2025-10-16T05:38:57.688Z","avatar_url":"https://github.com/quantori.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# kifparser\nCopyright (c) 2022 Quantori.\n\nSUO-KIF ontology parser is a free open-source parser for [SUO-KIF language](https://github.com/ontologyportal/sigmakee/blob/master/suo-kif.pdf) for ontologies like [SUMO](https://www.ontologyportal.org) in Python based on and integrated with [AIIRE Natural Language Understanding Core parser](http://aiire.org).\n\nThis parser is not intended to replace or somehow interfere with [Sigma (an integrated development environment for logical theories that extend the Suggested Upper Merged Ontology)](https://github.com/ontologyportal/sigmakee), which is written in Java and does rather a different job (cf. Sigma documentation for detail).\n\nNeither does kifparser replace the javascript [jKif parser](https://github.com/jkif/parser), which is a 'SUO-KIF to JavaScript parser, which allows you to easily parse SUO-KIF ontologies into JavaScript objects'.\n\nThis parser is written totally in Python, is lightweight, is easily integrated into Python code, and is intended not to be an ontology editor or just an extractor, but rather to be a universal coverter from SUO-KIF into other ontology formats and structures and knowledge representations.\n\nThis parser is tested with SUMO ontology files and can be used for\nany other SUO-KIF files.\n\n# KEY FEATURES\n- Parse SUO-KIF ontology files\n- Extract concepts with attributes from KIF formulas\n- Apply implications, perform inference\n- Export the extracted ontology to AIIRE and other formats\n\n# Build instructions\n\nTo install, do:\n\n    pip install https://github.com/quantori/kifparser\n\nPlease read [DEVNOTES.md](DEVNOTES.md) for details.\n\n# Usage\n\n- Command-line:\n\n        kifparser [-h] [--implications] [--no-implications] infile expressions_file concepts_file relations_file\n\n        SUO-KIF parser.\n        \n        positional arguments:\n          infile             Input KIF file path or - for stdin\n          expressions_file   Output CSV file path for the expressions table or - for stdout\n          concepts_file      Output CSV file path for the concepts table or - for stdout\n          relations_file     Output CSV file path for the relations table or - for stdout\n        \n        optional arguments:\n          -h, --help         show this help message and exit\n          --implications     Apply implications inference\n          --no-implications  Do not apply implications inference (default)\n          -d, --debug        Print debugging information\n          -v, --verbose      Be verbose\n\n- Python:\n\n        from kifparser import KIFParser\n\n# License\n\nKifparser is released under [Apache License, Version 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantori%2Fkifparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantori%2Fkifparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantori%2Fkifparser/lists"}