{"id":21343673,"url":"https://github.com/catalystcode/clausie-server","last_synced_at":"2025-10-11T08:34:56.313Z","repository":{"id":73516933,"uuid":"127776890","full_name":"CatalystCode/ClausIE-Server","owner":"CatalystCode","description":"Server for the ClausIE OpenIE parser","archived":false,"fork":false,"pushed_at":"2018-07-02T15:12:09.000Z","size":47435,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T03:14:16.299Z","etag":null,"topics":["clausie","information-extraction","java-8","nlp","openie","sparkjava"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CatalystCode.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-02T15:43:58.000Z","updated_at":"2023-05-08T09:31:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"31d20624-8315-4d8b-a804-847378c370ac","html_url":"https://github.com/CatalystCode/ClausIE-Server","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/CatalystCode/ClausIE-Server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2FClausIE-Server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2FClausIE-Server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2FClausIE-Server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2FClausIE-Server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CatalystCode","download_url":"https://codeload.github.com/CatalystCode/ClausIE-Server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2FClausIE-Server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271306829,"owners_count":24736770,"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-08-20T02:00:09.606Z","response_time":69,"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":["clausie","information-extraction","java-8","nlp","openie","sparkjava"],"created_at":"2024-11-22T01:14:41.094Z","updated_at":"2025-10-11T08:34:55.710Z","avatar_url":"https://github.com/CatalystCode.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClausIE-Server\n\n[![CI status](https://travis-ci.org/CatalystCode/ClausIE-Server.svg?branch=master)](https://travis-ci.org/CatalystCode/ClausIE-Server)\n[![Docker status](https://img.shields.io/docker/pulls/cwolff/clausieserver.svg)](https://hub.docker.com/r/cwolff/clausieserver/)\n\n## What's this?\n\nThis repository contains a dockerized web service to quickly get started with\n[Open Information Extraction (OpenIE)](https://en.wikipedia.org/wiki/Open_information_extraction).\n\nThe web service is implemented in [Spark Java](http://sparkjava.com/) and wraps\nthe [ClausIE OpenIE tool](https://www.mpi-inf.mpg.de/departments/databases-and-information-systems/software/clausie/)\ncreated by the Max Planck Institute.\n\n## Usage\n\nFirst, run the ClausIE-Server via docker:\n\n```sh\ndocker run -d -p 4567:4567 cwolff/clausieserver\n```\n\nSecond, prepare an input file with text to process via OpenIE. The file\nshould have one sentence per line:\n\n```txt\nAE remained in Princeton until his death.\nAE is a scientist of the 20th century.\nAE has won the Nobel Prize in 1921.\n```\n\nNext, call the ClausIE-Server. The file with the input text should be passed\nas `multipart/form-data` under the form key `upload`:\n\n```sh\ncurl -F \"upload=@sentences.txt\" \"http://localhost:4567/openie/form\"\n```\n\nThe service will respond with the OpenIE relations extracted from the sentences\nin JSON-object per line format. Note that one sentence may produce multiple\nrelations:\n\n```jsonl\n{\"argument\":\"in Princeton until his death\",\"line\":0,\"subject\":\"AE\",\"relation\":\"remained\"}\n{\"argument\":\"in Princeton\",\"line\":0,\"subject\":\"AE\",\"relation\":\"remained\"}\n{\"argument\":\"death\",\"line\":0,\"subject\":\"his\",\"relation\":\"has\"}\n{\"argument\":\"a scientist of the 20th century\",\"line\":1,\"subject\":\"AE\",\"relation\":\"is\"}\n{\"argument\":\"a scientist\",\"line\":1,\"subject\":\"AE\",\"relation\":\"is\"}\n{\"argument\":\"the Nobel Prize in 1921\",\"line\":2,\"subject\":\"AE\",\"relation\":\"has won\"}\n```\n\n## License\n\n* This distribution includes libraries of [Clausie v. 0.0.1](https://www.mpi-inf.mpg.de/departments/databases-and-information-systems/software/clausie/) which is distributed under the [Attribution-ShareAlike (ver. 3.0 or later)](http://creativecommons.org/licenses/by-sa/3.0/legalcode)\n\n* This distribution includes libraries of the [Stanford Parser v. 2.0.5](http://www-nlp.stanford.edu/software/lex-parser.shtml) which is licensed under the [GNU General Public License (v2 or later)](http://www.gnu.org/licenses/gpl-2.0.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalystcode%2Fclausie-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalystcode%2Fclausie-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalystcode%2Fclausie-server/lists"}