iri is a Go 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.
$ go get github.com/jimsmart/iri
import "github.com/jimsmart/iri"
import "github.com/jimsmart/iri"
x := iri.FOAF_knows
y := iri.RDFS_Class
z := iri.DCE_title
a := iri.RDF_type
Package iri is copyright 2017-2023 by Jim Smart and released under the MIT License