{"id":19144898,"url":"https://github.com/samvera-labs/ldpath","last_synced_at":"2025-06-26T22:32:54.401Z","repository":{"id":18716526,"uuid":"21927439","full_name":"samvera-labs/ldpath","owner":"samvera-labs","description":"Ruby parser for the LDPath language","archived":false,"fork":false,"pushed_at":"2022-06-30T14:18:40.000Z","size":158,"stargazers_count":9,"open_issues_count":10,"forks_count":5,"subscribers_count":56,"default_branch":"main","last_synced_at":"2025-04-19T17:17:02.037Z","etag":null,"topics":["ldpath","linked-data","parser","ruby"],"latest_commit_sha":null,"homepage":"http://marmotta.apache.org/ldpath/language.html","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samvera-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-17T03:36:25.000Z","updated_at":"2022-11-26T05:54:09.000Z","dependencies_parsed_at":"2022-08-20T13:00:47.328Z","dependency_job_id":null,"html_url":"https://github.com/samvera-labs/ldpath","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera-labs%2Fldpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera-labs%2Fldpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera-labs%2Fldpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera-labs%2Fldpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samvera-labs","download_url":"https://codeload.github.com/samvera-labs/ldpath/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793656,"owners_count":21805058,"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":["ldpath","linked-data","parser","ruby"],"created_at":"2024-11-09T07:36:51.286Z","updated_at":"2025-05-07T01:13:06.667Z","avatar_url":"https://github.com/samvera-labs.png","language":"Ruby","readme":"# Ldpath\n\nThis is a ruby implementation of [LDPath](http://marmotta.apache.org/ldpath/language.html), a language for selecting values linked data resources.\n\n[![Gem Version](https://badge.fury.io/rb/ldpath.png)](http://badge.fury.io/rb/ldpath)\n[![Build Status](https://circleci.com/gh/samvera-labs/ldpath.svg?style=svg)]\n\n## Installation\n\n### Required gem installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'ldpath'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install ldpath\n\n### Additional gem installations\n\nTo support RDF serializations, you will need to either install the [linkeddata gem](https://github.com/ruby-rdf/linkeddata) which installs a large set of RDF serializations or, in order to have a smaller dependency footprint, install gems for only the serializations your plan to use in your app.  The list of serializations are in the [README](https://github.com/ruby-rdf/linkeddata/blob/develop/README.md#features) for the linkeddata gem.\n\n## Usage\n\n```ruby\nrequire 'ldpath'\n\nmy_program = \u003c\u003c-EOF\n@prefix dcterms : \u003chttp://purl.org/dc/terms/\u003e ;\ntitle = dcterms:title :: xsd:string ;\nEOF\n\nuri = RDF::URI.new \"info:a\"\n\ncontext = RDF::Graph.new \u003c\u003c [uri, RDF::Vocab::DC.title, \"Some Title\"]\n\nprogram = Ldpath::Program.parse my_program\noutput = program.evaluate uri, context: context\n# =\u003e { ... }\n```\n\n## Compatibility\n\n* Ruby 2.5 or the latest 2.4 version is recommended.  Later versions may also work.\n\n## Contributing \n\nIf you're working on PR for this project, create a feature branch off of `main`. \n\nThis repository follows the [Samvera Community Code of Conduct](https://samvera.atlassian.net/wiki/spaces/samvera/pages/405212316/Code+of+Conduct) and [language recommendations](https://github.com/samvera/maintenance/blob/master/templates/CONTRIBUTING.md#language).  Please ***do not*** create a branch called `master` for this repository or as part of your pull request; the branch will either need to be removed or renamed before it can be considered for inclusion in the code base and history of this repository.\n\n## Product Owner \u0026 Maintenance\n\nLDPath is moving toward being a Core Component of the Samvera community. The documentation for\nwhat this means can be found [here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).\n\n### Product Owner\n\n[elrayle](https://github.com/elrayle)\n\n# Help\n\nThe Samvera community is here to help. Please see our [support guide](./SUPPORT.md).\n\n# Acknowledgments\n\nThis software has been developed by and is brought to you by the Samvera community.  Learn more at the\n[Samvera website](http://samvera.org/).\n\n![Samvera Logo](https://wiki.duraspace.org/download/thumbnails/87459292/samvera-fall-font2-200w.png?version=1\u0026modificationDate=1498550535816\u0026api=v2)\n\n### Special thanks to...\n\n[Chris Beer](https://github.com/cbeer) for the initial implementation of this gem!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamvera-labs%2Fldpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamvera-labs%2Fldpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamvera-labs%2Fldpath/lists"}