<commit_before>package schema

import (
	"github.com/cayleygraph/quad"
	_ "github.com/cayleygraph/quad/voc/rdf"
	_ "github.com/cayleygraph/quad/voc/rdfs"
	"github.com/cayleygraph/quad/voc/schema"
)

func init() {
	RegisterType(quad.IRI(schema.Class), Class{})
	RegisterType(quad.IRI(schema.Property), Property{})
}

// Object is a basic RDF resource object.
//
// Deprecated: use Resource instead.
type Object = Resource

// Resource is a basic RDF resource object.
type Resource struct {
	ID quad.IRI `quad:"@id"`

	Label   string `quad:"rdfs:label,optional"`
	Comment string `quad:"rdfs:comment,optional"`

	Name        string `quad:"schema:name,optional"`<commit_msg>schema: remove deprecated Object type<commit_after>package schema

import (
	"github.com/cayleygraph/quad"
	_ "github.com/cayleygraph/quad/voc/rdf"
	_ "github.com/cayleygraph/quad/voc/rdfs"
	"github.com/cayleygraph/quad/voc/schema"
)

func init() {
	RegisterType(quad.IRI(schema.Class), Class{})
	RegisterType(quad.IRI(schema.Property), Property{})
}

// Resource is a basic RDF resource object.
type Resource struct {
	ID quad.IRI `quad:"@id"`

	Label   string `quad:"rdfs:label,optional"`
	Comment string `quad:"rdfs:comment,optional"`

	Name        string `quad:"schema:name,optional"`
{'fraction_non_alphanumeric': 0.143879173290938, 'fraction_numerical': 0.0, 'mean_word_length': 4.828703703703703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6047351', 'n_tokens_mistral': 447, 'n_tokens_neox': 441, 'n_words': 87}