Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimsmart/iri
iri is a Go package providing IRI constants for common RDF namespaces.
https://github.com/jimsmart/iri
common-rdf-namespaces const go iri rdf
Last synced: 3 months ago
JSON representation
iri is a Go package providing IRI constants for common RDF namespaces.
- Host: GitHub
- URL: https://github.com/jimsmart/iri
- Owner: jimsmart
- License: mit
- Created: 2017-01-28T02:22:27.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T14:51:50.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T03:45:02.688Z (7 months ago)
- Topics: common-rdf-namespaces, const, go, iri, rdf
- Language: Go
- Homepage:
- Size: 111 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# iri
iri is a [Go](https://golang.org) package providing IRI constants for common RDF namespaces.
More than 99% of this package is machine-generated from ontologies.
Remember: Go doesn't include unreferenced consts in the build output.
Note: the full set of consts for DBpedia and Schema.org have been effectively 'commented out' (their files have been renamed to `_gen_dbo.go` and `_gen_schema.go`). This is because when they were included in the package they slowed my text editor's autocomplete to a crawl.
## Installation
```bash
$ go get github.com/jimsmart/iri
``````go
import "github.com/jimsmart/iri"
```## Example
```go
import "github.com/jimsmart/iri"x := iri.FOAF_knows
y := iri.RDFS_Class
z := iri.DCE_title
a := iri.RDF_type
```## License
Package iri is copyright 2017-2023 by Jim Smart and released under the [MIT License](LICENSE.md)