{"id":47219037,"url":"https://github.com/buda-base/owl-schema","last_synced_at":"2026-03-13T17:08:23.163Z","repository":{"id":18966143,"uuid":"85687963","full_name":"buda-base/owl-schema","owner":"buda-base","description":"BDRC Ontology Schema","archived":false,"fork":false,"pushed_at":"2025-10-14T08:18:44.000Z","size":36599,"stargazers_count":12,"open_issues_count":74,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-19T19:43:58.455Z","etag":null,"topics":["owl-ontology"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/buda-base.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-21T10:21:22.000Z","updated_at":"2025-10-14T08:18:48.000Z","dependencies_parsed_at":"2023-01-11T20:30:23.462Z","dependency_job_id":"f9ca4e76-ee84-4158-a63a-a76bb1e96044","html_url":"https://github.com/buda-base/owl-schema","commit_stats":{"total_commits":902,"total_committers":8,"mean_commits":112.75,"dds":0.4878048780487805,"last_synced_commit":"dbb6e74612521b75a4cab5db3edb0a31c298d67d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/buda-base/owl-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fowl-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fowl-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fowl-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fowl-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buda-base","download_url":"https://codeload.github.com/buda-base/owl-schema/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fowl-schema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30471140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["owl-ontology"],"created_at":"2026-03-13T17:08:22.663Z","updated_at":"2026-03-13T17:08:23.149Z","avatar_url":"https://github.com/buda-base.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buddhist Digital Ontology vocabulary\n\nThis repository contains the files that define the Buddhist Digital Ontology (BDO).\n\n### Organization of the Ontology components\n\nThe overall ontology is organized in a collection of directories and files as follows: \n\n- [core](core): contains the base ontology file ([bdo.ttl](core/bdo.ttl)) that defines the classes and properties that make up the core concepts of the cultural heritage vocabulary for the domain of Asian Buddhist cultures. The [bdo.ttl](core/bdo.ttl) imports files in the [types](types) and [roles](roles) directories that contain constants and their classes that are used in the core ontology.\n- [roles](roles): contains files of constant definitions relevant to various sorts of _roles_ that a `Person` may play in events related to `Works`, `Places`, and other `Persons`\n- [types](types): contain files that define models via classes and constants related to various types such as the kind of `:Binding` or `:Script` of an `:Instance`\n- [adm](adm): contains vocabulary related to the operation and administration of the BUDA platform\n- [ext](ext): contains _extensions_ to the core and admin models\n- [schemes](schemes): contains `skos:Scheme`s that organize some of the types\n- [reasoning](reasoning): contains files that use Jena rules to add triples to the dataset via inferencing.\n- [context.jsonld](context.jsonld) file is a JSON-LD context file that can be accessed via the url `http://purl.bdrc.io/context.jsonld`.\n- [lang-tags.md](lang-tags.md) documents the language tag conventions BDRC is using.\n- [ont-policy.rdf](ont-policy.rdf) contains the Jena policy for locating files during importing and referencing components of the ontology.\n\n### Using ont-policy.rdf\n\nThe policy is used with the Jena library to locate components of the ontology and cache them for later use. There are two ways to load an ontology: 1) processing imports; and 2) ignoring imports during loading of an ontology document.\n\n```java\nimport org.apache.jena.ontology.OntDocumentManager;\nimport org.apache.jena.ontology.OntModel;\nimport org.apache.jena.ontology.OntModelSpec;\n\npublic class OntExample {\n\n    static String bdoNS = \"http://purl.bdrc.io/ontology/core/\";\n    static String policyURL = \"https://raw.githubusercontent.com/buda-base/owl-schema/master/ont-policy.rdf\";\n    public static void main( String[] args ){\n\n        OntDocumentManager ontMgr = new OntDocumentManager( policyURL );\n        ontMgr.setProcessImports( true ); // default but it doesn't hurt to be explicit\n        \n        OntModelSpec ontSpec = new OntModelSpec( OntModelSpec.OWL_DL_MEM );\n        ontSpec.setDocumentManager( ontMgr );\n        \n        OntModel bdoModel = ontMgr.getOntology( bdoNS, ontSpecImporting );\n        System.out.println( \"bdoModel.size() = \" + bdoModel.size() + \" triples\" );\n    }\n}\n```\nThe above loads the entire Buddhist Digital Ontology, `bdoModel`, into a model which can then be interrogated, inferencing run on it and so on. The reported size is currently 4067 triples.\n\nIf you want to just access the `bdoNS` document without processing any of the imports defined in the document then `ontMgr.setProcessImports( false )` before using the `ontMgr` the first time, in which case the reported size currently is 2602 triples \n- once an instance of `OntDocumentManager` has been accessed via `getOntology` (or `getModel`) with one setting of `processImports` then all future references will use that setting.\n\nSo if you need both aggregate models (all imports processed) and just the documents, then you need two instances of `OntDocumentManager` one with `processImports == true` and one with `processImports == false`.\n\n### Changes\n\nSee [Change log](CHANGELOG.md).\n\n### RDF 1.0 / 1.1\n\nProtégé handles only RDF 1.0 while TopBraid Composer and Jena handles RDF 1.1. The files are in RDF 1.1 format. They can be easily converted to RDF 1.0 (handled by Protégé) with:\n\n```sh\n$ sed 's,http://www.w3.org/1999/02/22-rdf-syntax-ns#langString,http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral' bdo.ttl \u003e bdo-rdf10.ttl\n```\n\n### License\n\nAll files, such as [bdo.ttl](bdo.ttl) and associated documentation are distributed under the [CC0 license](https://creativecommons.org/publicdomain/zero/1.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuda-base%2Fowl-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuda-base%2Fowl-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuda-base%2Fowl-schema/lists"}