{"id":28139066,"url":"https://github.com/broadcom/owlviewer","last_synced_at":"2025-05-14T17:19:11.941Z","repository":{"id":39004327,"uuid":"359451233","full_name":"Broadcom/owlviewer","owner":"Broadcom","description":"Visualization of OWL ontologies","archived":false,"fork":false,"pushed_at":"2023-01-06T11:41:45.000Z","size":2943,"stargazers_count":0,"open_issues_count":15,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-02-26T12:26:33.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"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/Broadcom.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}},"created_at":"2021-04-19T12:28:14.000Z","updated_at":"2022-03-01T13:29:48.000Z","dependencies_parsed_at":"2023-02-06T00:16:58.336Z","dependency_job_id":null,"html_url":"https://github.com/Broadcom/owlviewer","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Broadcom%2Fowlviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Broadcom%2Fowlviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Broadcom%2Fowlviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Broadcom%2Fowlviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Broadcom","download_url":"https://codeload.github.com/Broadcom/owlviewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190393,"owners_count":22029639,"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","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":[],"created_at":"2025-05-14T17:16:12.665Z","updated_at":"2025-05-14T17:19:11.910Z","avatar_url":"https://github.com/Broadcom.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OWL Viewer\n\nOWL Viewer creates a graph representation of provided OWL ontologies. Named OWL classes are mapped to nodes  whereas a \nproperty's domain and range as well as property restrictions on classes are mapped to edges. Clicking on a node in the\ngenerated graph displays the associated properties in a detail pane.\n\n## Modules\n\n- **owlviewer-backend**: Parses the provided owl-files and provides an abstracted view on the ontology that can be \nconsumed using REST API endpoints.\n- **owlviewer-frontend**: Wraps a ReactJS frontend application that visualizes the ontologies as a graph that can be\nused to browse through major concepts (classes) of the ontologies and its details (properies).\n- **owlviewer-doc**: A asciidoc documentation of OWL Viewer (HTML).\n\n## Build\n\n### Build jar-files\nUse Maven to build the application and create the appropriate fat jar-files:\n```\nmvn clean package\n```\n\n### Build docker image\n\nCreate the docker image of the backend module:\n```\ncd owlviewer-backend\nmvn spring-boot:build-image\n```\n\nCreate the docker image of the backend module:\n```\ncd ../owlviewer-frontend\nmvn spring-boot:build-image\n```\n\n## Run\n\n**Note:** Please configure the location of your owl-files before running the backend service (see the _Configuration_ \nsection for more details)!\n\n### Run application\n\nRun the backend service:\n```\njava -jar owlviewer-backend/target/owlviewer-backend-1.0-SNAPSHOT.jar\n```\n\nRun the frontend service:\n```\njava -Dserver.port=\"8081\" -jar owlviewer-frontend/target/owlviewer-frontend-1.0-SNAPSHOT.jar\n```\n\n### Run docker container\n\nRun the backend container and mount directory that contains the owl-files (Please replace \"_//c//Users/michael/owlviewer/ontologies_\"\nwith the path to the owl-files on your local system):\n```\ndocker run -d -p 8090:8080 \\\n    -v //c//Users/michael/owlviewer/ontologies:/home/cnb/owlviewer/ontologies \\\n    owlviewer-backend:1.0-SNAPSHOT\n```\n\nRun the frontend container:\n```\ndocker run -d -p 8081:8080 owlviewer-frontened:1.0-SNAPSHOT\n```\n\n## REST API documentation\nPlease use this link to view the documentation of the provided REST API after building and\nrunning the Sprint Boot application: [http://localhost:8080/swagger-ui.html](http://localhost:8080/swagger-ui.html)\n\n## Configuration\n\nConfiguration properties as well as the corresponding defaults are defined in src/main/resources/application.properties.\nThe properties can be set by setting the appropriate environment variables before starting the service.\n\n| Property                       | Description                               | Default                         | Environment variable     |\n| :----------------------------- | :---------------------------------------- | :------------------------------ | :----------------------- |\n| owlviewer.home.directory       | Location of the owlviewer home directory  | %HOMEPATH%/owlviewer            | OWLVIEWER_HOME           |\n| owlviewer.ontologies.directory | Path to the owl-files                     | %HOMEPATH%/owlviewer/ontologies | OWLVIEWER_ONTOLOGIES_DIR |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroadcom%2Fowlviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbroadcom%2Fowlviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroadcom%2Fowlviewer/lists"}