Predicates/Curation/Containment

contain

The subject collection or container includes the object as a member or entry.

enshrined Curation/Containment contain

Enshrined — the object model is decided and the ID below is what every conforming app and the contract resolve.

Identity

A predicate is itself an atom. Its ID is derived from these exact bytes — the same value in your app, in anyone else's, and onchain.

predicate atom data
{
  "@context": "https://schema.org/",
  "@type": "DefinedTerm",
  "name": "contain",
  "description": "The subject collection or container includes the object as a member or entry"
}
atom id 0xa64ca3a04b63c5f6b94ba65b11a1a197767e68cca1f41ac563b5f2d34fa36597

Semantics

Market patternattributive — describes the subject
Propertieshierarchical

Recommended for

Classifications whose metadata vocabulary includes contain:

Use it

import
// tree-shakeable: only this predicate ships in your bundle
import { containId } from "@0xintuition/predicates/contain";

// or resolve everything from the aggregate registry
import { PREDICATE_IDS } from "@0xintuition/predicates";
PREDICATE_IDS.contain; // 0xa64ca3a04b63c5f6b94ba65b11a1a197767e68cca1f41ac563b5f2d34fa36597
make a claim
import { buildTripleByName } from "@0xintuition/primitives/triple";

const { value: triple } = buildTripleByName(
	subjectId,
	"contain",
	objectId,
);
// triple.predicateId === 0xa64ca3a0… — resolved from the registry