https://github.com/acdh-oeaw/arche-lib-disserv
Science Score: 36.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
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Keywords
Repository
Basic Info
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 27
Topics
Metadata Files
README.md
arche-lib-disserv
A library implementing dissemination services on top of the arche-lib
Installation
composer require acdh-oeaw/acdh-repo-acdh
Documentation
API documentation: https://acdh-oeaw.github.io/arche-docs/devdocs/namespaces/acdhoeaw-arche-lib-disserv.html
Broader description of the dissemination services idea: https://acdh-oeaw.github.io/arche-docs/aux/dissemination_services.html
Dissemination service description schema
Dissemination service description is provided in RDF.
There are three classes of resources describing a service:
- The service itself
- required predicates:
- RDF class
https://vocabs.acdh.oeaw.ac.at/schema#DisseminationService https://vocabs.acdh.oeaw.ac.at/schema#hasIdentifier(URI) dissemination service identifier.https://vocabs.acdh.oeaw.ac.at/schema#hasTitle(string) dissemination service name.https://vocabs.acdh.oeaw.ac.at/schema#serviceLocation(string, exactly one value) provides a redirection URL template.
The template can contain parameter placeholders using the{name([@&]prefix)?(|trans)*}syntax, where:nameis one ofRES_URI/RES_URL- the repository resource URL,RES_ID- the internal repository resource identifier (the number being the last part of theRES_URL),ID- resource identifier, custom parameter placeholder name as described below&prefix(requested prefix) or@prefix(preferred prefix) allow to define value prefix. This can be useful if many values are expected, e.g. whennameisRES_ID. The actual prefix comes from the YAML config ($.schema.namespaces.{id}).&prefixand@prefixbehavior differs if no value matches a given prefix. In such a case&prefixreturns empty value while@prefixreturns any value.|transis optional chain of transformations like URL-encoding, extracting URI part, etc. You can check available transformations here. If a transformation takes additional parameters the syntax is|trans(p1,p2). Transformations can be chained, e.g.|trans1|trans2(p1). For real world examples see here.
https://vocabs.acdh.oeaw.ac.at/schema#hasReturnType(string, one or more values) describes the returned data format. Technically it can be any string but the value should be easy to guess by users (so e.g. return mime type can be a good idea).
- Matching rules
Rules describing how to find repository resources which can be processed by a given service.
All required rules and, if defined, at least one optional rule must match for the dissemination service to match.
In case of no rules being defined, all repository resources match a given dissemination service.- required predicates:
https://vocabs.acdh.oeaw.ac.at/schema#relation(URI) pointing to the service'shttps://vocabs.acdh.oeaw.ac.at/schema#hasIdentifiervalue.https://vocabs.acdh.oeaw.ac.at/schema#hasIdentifier(URI) match rule identifier.https://vocabs.acdh.oeaw.ac.at/schema#hasTitle(string) match rule name.https://vocabs.acdh.oeaw.ac.at/schema#matchesProp(string, exactly one value) metadata predicate the rule is testing.https://vocabs.acdh.oeaw.ac.at/schema#isRequired(bool, exactly one value) is this rule a required or an optional one?- optional predicates:
https://vocabs.acdh.oeaw.ac.at/schema#matchesValue(string, no more than one value) value required for the rule to match. If not provided, any value is accepted. All values are casted to string before the comparison.
- Redirection URL template placeholders
Describe the way URL template placeholders are substituted with values.- required predicates:
- RDF class
https://vocabs.acdh.oeaw.ac.at/schema#DisseminationServiceParameter https://vocabs.acdh.oeaw.ac.at/schema#relation(URI) pointing to the service'shttps://vocabs.acdh.oeaw.ac.at/schema#hasIdentifiervalue.https://vocabs.acdh.oeaw.ac.at/schema#hasIdentifier(URI) parameter placeholder identifier.https://vocabs.acdh.oeaw.ac.at/schema#hasTitle(string) parameter placeholder name (must match the name used in the redirection URL template!).- optional predicates:
https://vocabs.acdh.oeaw.ac.at/schema#hasDefaultValue(string, no more than one value) default value.https://vocabs.acdh.oeaw.ac.at/schema#usesRdfProperty(string, no more than one value) RDF property from which the placeholder value will be taken.
Example definition can be found here.
See also https://acdh-oeaw.github.io/arche-docs/aux/dissemination_services.html
Owner
- Name: Austrian Centre for Digital Humanities & Cultural Heritage
- Login: acdh-oeaw
- Kind: organization
- Email: acdh@oeaw.ac.at
- Location: Vienna, Austria
- Website: https://www.oeaw.ac.at/acdh
- Repositories: 476
- Profile: https://github.com/acdh-oeaw
GitHub Events
Total
- Create event: 3
- Release event: 2
- Issues event: 2
- Delete event: 3
- Issue comment event: 1
- Push event: 8
Last Year
- Create event: 3
- Release event: 2
- Issues event: 2
- Delete event: 3
- Issue comment event: 1
- Push event: 8
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 50
- Total Committers: 2
- Avg Commits per committer: 25.0
- Development Distribution Score (DDS): 0.02
Top Committers
| Name | Commits | |
|---|---|---|
| Mateusz Żółtak | z****k@z****g | 49 |
| Norbert Czirjak | n****k@o****t | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 3
- Total pull requests: 1
- Average time to close issues: about 1 month
- Average time to close pull requests: 1 minute
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.67
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: about 3 hours
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- zozlak (3)
Pull Request Authors
- nczirjak-acdh (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- packagist 5,317 total
- Total dependent packages: 6
- Total dependent repositories: 6
- Total versions: 28
- Total maintainers: 1
packagist.org: acdh-oeaw/arche-lib-disserv
A library providing dissemination services support on top of the acdh-oeaw/arche-lib
- Homepage: https://github.com/acdh-oeaw/arche-lib-disserv
- License: MIT
-
Latest release: 4.1.0
published 9 months ago
Rankings
Maintainers (1)
Funding
Dependencies
- phpstan/phpstan * development
- phpunit/phpunit ^9 development
- zozlak/yaml-merge ^1.0 development
- acdh-oeaw/arche-lib >=2 <6
- acdh-oeaw/easyrdf *
- php >=8
- zozlak/rdf-constants *
- actions/checkout v2 composite