{"id":13561083,"url":"https://github.com/stain/owl2jsonld","last_synced_at":"2025-04-15T02:37:00.970Z","repository":{"id":17585209,"uuid":"20388734","full_name":"stain/owl2jsonld","owner":"stain","description":"Convert RDFS/OWL ontology to JSON-LD context","archived":false,"fork":false,"pushed_at":"2016-12-07T21:08:31.000Z","size":354,"stargazers_count":56,"open_issues_count":6,"forks_count":11,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T15:03:00.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stain.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":"2014-06-01T23:30:27.000Z","updated_at":"2024-01-25T19:07:14.000Z","dependencies_parsed_at":"2022-06-26T02:59:06.234Z","dependency_job_id":null,"html_url":"https://github.com/stain/owl2jsonld","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stain%2Fowl2jsonld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stain%2Fowl2jsonld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stain%2Fowl2jsonld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stain%2Fowl2jsonld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stain","download_url":"https://codeload.github.com/stain/owl2jsonld/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248995101,"owners_count":21195497,"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":"2024-08-01T13:00:52.344Z","updated_at":"2025-04-15T02:37:00.721Z","avatar_url":"https://github.com/stain.png","language":"Clojure","funding_links":[],"categories":["Clojure"],"sub_categories":[],"readme":"# owl2jsonld\n\n[![Build Status](https://travis-ci.org/stain/owl2jsonld.svg)](https://travis-ci.org/stain/owl2jsonld)\n[![doi:10.5281/zenodo.10565](https://zenodo.org/badge/doi/10.5281/zenodo.10565.png)](http://dx.doi.org/10.5281/zenodo.10565)\n\n*Convert OWL ontology to JSON-LD context*\n\nThis tool generate a [JSON-LD](http://www.w3.org/TR/json-ld/) `@context`\nfor concepts (classes and properties) found in the specified \n[OWL](http://www.w3.org/TR/owl2-primer/) or RDFS ontology.\n\n\n## Download\n\nThe [official releases](https://github.com/stain/owl2jsonld/releases)\ncontain an *uberjar* (standalone) JAR, which bundles all dependencies\nand can be used as a commandline tool.\n\nThe uberjar contains [OWL API](http://owlapi.sourceforge.net/), which is\ndistributed under the alternative of [LGPL](http://www.gnu.org/licenses/lgpl)\nor [Apache license 2.0](http://www.apache.org/licenses).\n\n\n## Installing from source\n\nInstall dependencies:\n * [OpenJDK 7](http://openjdk.java.net/) or [Oracle Java 7 SE](http://www.oracle.com/technetwork/java/javase/downloads/index.html?ssSourceSiteId=ocomen)\n * [git](http://www.git-scm.com/)\n * [leiningen](http://leiningen.org/)\n\n\nCheck out [owl2jsonld](https://github.com/stain/owl2jsonld) (this project)\nand build it:\n\n    $ git clone https://github.com/stain/owl2jsonld.git\n    $ cd owl2jsonld\n    $ lein uberjar\n\n\n## Command line usage\n\nGenerate JSON-LD context from the given RDFS/OWL ontology URL(s):\n\n    $ java -jar owl2jsonld-*-standalone.jar [-a|-n] [-c|-p] [-P PREFIX] [-i] [-o OUTPUT] [-e] ONTOLOGY ...\n\nTo avoid making a uberjar (e.g. during development), you may alternatively run\nthe tool using:\n\n    $ lein run -- [options] ONTOLOGY`\n\n\n### Options\n\n```\nConvert OWL ontology to JSON-LD context\n\nUsage: owl2jsonld [options] ONTOLOGY...\n\nOptions:\n  -a, --all-imports    Include all OWL-imported concepts (default: only directly referenced elements)\n  -d, --only-defined   Include only concepts which are rdfs:isDefinedBy the specified ontologies\n  -c, --classes        Include only classes\n  -p, --properties     Include only properties\n  -P, --prefix PREFIX  JSON-LD prefix to use for generated concepts (default: no prefix)\n  -i, --inherit        Inherit prefixes from the source ontology\n  -o, --output OUTPUT  Output file for generated JSON-LD context (default: write to STDOUT)\n  -v, --verbose        Verbose output on STDERR\n  -h, --help\n\n\nMore info: README.md or https://github.com/stain/owl2jsonld\n```\n\n\n### Example\n\n    $ java -jar owl2jsonld-0.2.1-standalone.jar http://purl.org/pav/\n\n```json    \n{ \"@context\": {\n    \"authoredBy\": { \"@id\": \"http://purl.org/pav/authoredBy\",\n                    \"@type\": \"@id\"\n                  },\n    \"authoredOn\": { \"@id\": \"http://purl.org/pav/authoredOn\",\n                    \"@type\" \"http://www.w3.org/2001/XMLSchema#dateTime\"\n                  }\n    }\n    ...\n}\n```\n\n## Usage from Clojure \n\nTo use from [Clojure](http://clojure.org/) with \n[Leiningen](http://leiningen.org/), \nuse the [Clojar dependency owl2jsonld](https://clojars.org/owl2jsonld):\n\n    [owl2jsonld \"0.2.1\"]\n\n\n## License\n\nCopyright © 2014 [Stian Soiland-Reyes](http://orcid.org/0000-0001-9842-9718), [University of Manchester](http://www.cs.manchester.ac.uk/).\n\nThis source code is distributed under the \n[Eclipse Public License](http://www.eclipse.org/legal/epl-v10.html) \neither version 1.0 or (at your option) any later version.\n\nThe uberjar contains [OWL API](http://owlapi.sourceforge.net/), which is\ndistributed under the alternative of [LGPL](http://www.gnu.org/licenses/lgpl)\nor [Apache license 2.0](http://www.apache.org/licenses).\n\n# Cite\n\nCite as:\n\nSoiland-Reyes, Stian (2014). owl2jsonld 0.2.1. ZENODO. [10.5281/zenodo.10565](http://dx.doi.org/10.5281/zenodo.10565)\n\n(Check https://github.com/stain/owl2jsonld#cite for latest version/citation)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstain%2Fowl2jsonld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstain%2Fowl2jsonld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstain%2Fowl2jsonld/lists"}