[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109157":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":28,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":32,"discoverSource":33},109157,"horoi","kvistgaard\u002Fhoroi","kvistgaard","Documentation pages for web ontologies.","",null,"HTML",140,10,2,0,6,43,50.42,"Apache License 2.0",false,"main",true,[24,25,26,27],"documentation","ontology","owl","rdfs","2026-11-18 13:38:27","2026-11-19 14:30:52","# Horoi\n\nDocumentation pages for web ontologies.\n\nHoroi writes one page that documents every term of an ontology, each on a card with its definition, and axioms. \n\nEach term's IRI leads to its card.\n\nThe ontology diagram is generated from the ontology file.\n\nThe name Horoi comes from the Greek ὅροι, the plural of *horos*, which means a boundary or boundary stone, and in Aristotle's logic both a term and a definition. *Horoi*, or *Definitions*, is also the title of an ancient collection of definitions handed down with Plato's works, though not written by him.\n\nHere's an ontology page, written by Horoi: [Decision ontology](https:\u002F\u002Fw3id.org\u002Fdo).\n\n## Usage\n\n```bash\nhoroi build my-ontology.ttl                          # writes dist\u002F\nhoroi build my-ontology.ttl --example example.ttl    # with an example in Turtle\nhoroi build my-ontology.ttl --all-tags               # also every release tag v\u003Cx.y.z>\nhoroi diagram my-ontology.ttl --out docs\u002Fdiagram.svg # the diagram alone\n```\n\n`horoi build` writes into `dist\u002F`:\n\n| File | Contents |\n|---|---|\n| `index.html` | the documentation page, one self-contained file |\n| `my-ontology.svg` | the diagram |\n| `my-ontology.ttl`, `.rdf`, `.jsonld`, `.nt` | the ontology in four serialisations |\n| `\u003Cversion>\u002F` | the same files for each release |\n\n## What Horoi reads\n\n| From | Horoi reads |\n|---|---|\n| the `owl:Ontology` | `dcterms:title`, `dcterms:description`, `owl:versionInfo`, `dcterms:modified`, `dcterms:creator`, `dcterms:contributor`, `dcterms:license` |\n| people | `schema:name` |\n| the namespace | `vann:preferredNamespaceUri` and `vann:preferredNamespacePrefix`, or the ontology IRI |\n| each term | `rdfs:label`, `rdfs:comment`, `rdfs:domain`, `rdfs:range`, `rdfs:subClassOf`, `rdfs:subPropertyOf` |\n\nClasses are `owl:Class`, and properties `owl:ObjectProperty` or `owl:DatatypeProperty`, in the ontology's namespace.\n\n## Publishing on GitHub Pages\n\nSet the repository's Pages source to GitHub Actions, and add a workflow:\n\n```yaml\non:\n  push:\n    tags: [\"v*.*.*\"]\n  workflow_dispatch:\npermissions:\n  contents: read\n  pages: write\n  id-token: write\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v7\n        with:\n          fetch-depth: 0\n      - uses: actions\u002Fsetup-python@v7\n        with:\n          python-version: \"3.12\"\n      - run: pip install git+https:\u002F\u002Fgithub.com\u002Fkvistgaard\u002Fhoroi\n      - run: horoi build my-ontology.ttl --all-tags\n      - uses: actions\u002Fupload-pages-artifact@v5\n        with:\n          path: dist\n  deploy:\n    needs: build\n    runs-on: ubuntu-latest\n    environment:\n      name: github-pages\n    steps:\n      - uses: actions\u002Fdeploy-pages@v5\n```\n\nA release tag must match the `owl:versionInfo` of the ontology.\n\n## Build from source\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fkvistgaard\u002Fhoroi\npip install -e horoi\npython -m unittest discover horoi\u002Ftests\n```\n\n## Roadmap\n\n- Mobile optimisation\n- Repository links\n- SHACL support\n- Zoomable diagrams and other features supporting larger ontologies\n\n## Licence\n\nApache License 2.0. See [LICENSE](LICENSE).\n","Horoi 是一个为网络本体（ontology）生成静态文档页面的工具，将 OWL\u002FRDFS 本体自动转换为结构化、可浏览的 HTML 文档。它为每个术语（类、属性）生成独立卡片，展示标签、定义、领域\u002F值域、层级关系等语义信息，并自动生成本体结构图；支持多种 RDF 序列化格式导出与多版本发布。项目基于 Python 实现，输出单文件 HTML，无需运行时依赖，适合学术研究、语义网项目及标准本体（如 W3C、Schema.org 扩展）的公开文档交付场景。","2026-11-24 04:36:02","CREATED_QUERY"]