https://github.com/acdh-oeaw/wisskas

Generate rdfproxy definitions from Wisski paths

https://github.com/acdh-oeaw/wisskas

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.2%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Generate rdfproxy definitions from Wisski paths

Basic Info
Statistics
  • Stars: 1
  • Watchers: 8
  • Forks: 0
  • Open Issues: 4
  • Releases: 0
Created almost 2 years ago · Last pushed 10 months ago
Metadata Files
Readme

README.md

WissKAS ≡UωU≡

tests Ruff uv

WissKI Adapter Serialization

Rationale

WissKI pathbuilder defines (nested) models that are linked to RDF classes. By allowing fields to reference other pathbuilder models, it is possible to define recursive model structures. WissKAS provides:

  • tools for parsing WissKI pathbuilder definitions (wisskas.wisski)
  • tools for deriving limited depth submodels from those definitions (wisskas.filter)
  • tools for generating rdfproxy endpoints from those models (wisskas.serialize)
  • a command line tool for doing all of the above (wisskas.cli)

How to inspect some paths

```bash INPUTFILE="pathbuilderwisski.xml"

uv run wisskas $INPUTFILE paths --flat uv run wisskas $INPUTFILE paths --flat gpublication uv run wisskas $INPUTFILE paths --flat gexternalauthority uv run wisskas $INPUT_FILE paths --flat --all

uv run wisskas $INPUTFILE paths --nested uv run wisskas $INPUTFILE paths --nested gpublication uv run wisskas $INPUTFILE paths --nested --all

generate models and queries

g_person entity and all its direct fields

uv run wisskas $INPUTFILE endpoints --listing-include gperson '*'

g_person entity and all its direct fields (except not crossing entity boundaries)

uv run wisskas $INPUTFILE endpoints --listing-include gperson '%'

g_person entity and all its direct and indirect fields, but not crossing entity boundaries (avoids recursion)

uv run wisskas $INPUTFILE endpoints --listing-include gperson '%%'

same, but selectively cross one entity boundary

uv run wisskas $INPUTFILE endpoints --listing-include gperson '%%' 'gpersonidassignment.gpersonidassignment_by.*'

list all persons with their display name, number of id assignments, and distinct number of name assertions

uv run wisskas $INPUTFILES endpoints -li gperson 'persondisplayname' 'personidassignment#' 'personnameofpersonassertion#!' ```

Owner

  • Name: Austrian Centre for Digital Humanities & Cultural Heritage
  • Login: acdh-oeaw
  • Kind: organization
  • Email: acdh@oeaw.ac.at
  • Location: Vienna, Austria

GitHub Events

Total
  • Create event: 16
  • Issues event: 8
  • Watch event: 1
  • Delete event: 3
  • Issue comment event: 3
  • Member event: 1
  • Push event: 88
  • Pull request review comment event: 1
  • Pull request review event: 11
  • Pull request event: 20
Last Year
  • Create event: 16
  • Issues event: 8
  • Watch event: 1
  • Delete event: 3
  • Issue comment event: 3
  • Member event: 1
  • Push event: 88
  • Pull request review comment event: 1
  • Pull request review event: 11
  • Pull request event: 20

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 7
  • Total pull requests: 23
  • Average time to close issues: 7 days
  • Average time to close pull requests: about 18 hours
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.09
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 23
  • Average time to close issues: 7 days
  • Average time to close pull requests: about 18 hours
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.09
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kevinstadler (5)
  • lu-pl (2)
Pull Request Authors
  • kevinstadler (13)
  • lu-pl (10)
Top Labels
Issue Labels
good first issue (1)
Pull Request Labels

Dependencies

poetry.lock pypi
  • annotated-types 0.7.0
  • anyio 4.6.2.post1
  • autopep8 2.3.1
  • certifi 2024.8.30
  • click 8.1.7
  • colorama 0.4.6
  • dnspython 2.7.0
  • email-validator 2.2.0
  • fastapi 0.115.5
  • fastapi-cli 0.0.5
  • gitdb 4.0.11
  • gitpython 3.1.43
  • h11 0.14.0
  • httpcore 1.0.7
  • httptools 0.6.4
  • httpx 0.27.2
  • idna 3.10
  • isort 5.13.2
  • jinja2 3.1.4
  • markdown-it-py 3.0.0
  • markupsafe 3.0.2
  • mdurl 0.1.2
  • pycodestyle 2.12.1
  • pydantic 2.9.2
  • pydantic-core 2.23.4
  • pygments 2.18.0
  • pyparsing 3.2.0
  • python-dotenv 1.0.1
  • python-multipart 0.0.17
  • pyyaml 6.0.2
  • rdflib 7.1.1
  • rdfproxy 0.1.0
  • rich 13.9.4
  • shellingham 1.5.4
  • smmap 5.0.1
  • sniffio 1.3.1
  • sparqlwrapper 2.0.0
  • starlette 0.41.3
  • typer 0.13.1
  • typing-extensions 4.12.2
  • uvicorn 0.32.0
  • uvloop 0.21.0
  • watchfiles 0.24.0
  • websockets 14.1
pyproject.toml pypi