Skip to content

rdfcrate.vocabs.bioschemas

BioChemEntity

Bases: Thing

BioSample

Bases: BioChemEntity

ChemicalSubstance

Bases: BioChemEntity

ComputationalWorkflow

FormalParameter

Bases: Intangible

Gene

Bases: BioChemEntity

MolecularEntity

Bases: BioChemEntity

Protein

Bases: BioChemEntity

RdfProperty dataclass

Bases: PropertyProtocol, Generic[T]

Represents the double of (predicate, object), with the subject being the class this is attached to.

This is the normal way properties will be defined As a user, you will typically use this class by instantiating subclasses from the vocabs module and attaching them to entities. If you want to define custom vocabulary, you can first subclass this and then create instances of that subclass.

adhoc(term: RdfTerm, object: T) -> RdfProperty staticmethod

Makes an ad-hoc property class from a term.

If you want to use the property multiple times, you should define a subclass instead.

reverse(subject: RdfType) -> ReverseProperty classmethod

Utility for when you want to make the current entity the object of a property, rather than the subject.

with_term_label(label: str) -> type[RdfProperty[T]] classmethod

Creates a new instance of this property with the given label. This is useful in cases where the term label is already defined by another vocabulary

RdfTerm

Wrapper for a term with a label and URI. This is needed because RO-Crate bans the use of full URIs in JSON-LD.

Taxon

Bases: Thing

TaxonName

Bases: CreativeWork

additionalProperty dataclass

alternateScientificName dataclass

alternativeOf dataclass

Bases: RdfProperty[Gene]

associatedDisease dataclass

bioChemInteraction dataclass

bioChemSimilarity dataclass

biologicalRole dataclass

chemicalComposition dataclass

Bases: RdfProperty[Text]

chemicalRole dataclass

childTaxon dataclass

Bases: RdfProperty[Taxon | URL | Text]

collector dataclass

custodian dataclass

dateCreated dataclass

Bases: RdfProperty[Date]

defaultValue dataclass

Bases: RdfProperty[Text | Thing]

documentation dataclass

encodesBioChemEntity dataclass

encodingFormat dataclass

Bases: RdfProperty[URL | Text]

funding dataclass

Bases: RdfProperty[Grant]

gender dataclass

hasBioChemEntityPart dataclass

hasBioPolymerSequence dataclass

Bases: RdfProperty[Text]

hasMolecularFunction dataclass

hasRepresentation dataclass

hasStatus dataclass

Bases: RdfProperty[Text]

inChI dataclass

Bases: RdfProperty[Text]

inChIKey dataclass

Bases: RdfProperty[Text]

input dataclass

isControl dataclass

isEncodedByBioChemEntity dataclass

Bases: RdfProperty[Gene]

isInvolvedInBiologicalProcess dataclass

isLocatedInSubcellularLocation dataclass

isPartOfBioChemEntity dataclass

itemLocation dataclass

iupacName dataclass

Bases: RdfProperty[Text]

locationCreated dataclass

Bases: RdfProperty[Place]

molecularFormula dataclass

Bases: RdfProperty[Text]

molecularWeight dataclass

monoisotopicMolecularWeight dataclass

output dataclass

parentTaxon dataclass

Bases: RdfProperty[Taxon | URL | Text]

potentialUse dataclass

samplingAge dataclass

scientificName dataclass

smiles dataclass

Bases: RdfProperty[Text]

softwareRequirements dataclass

Bases: RdfProperty[URL | Text]

taxonRank dataclass

taxonomicRange dataclass

valueRequired dataclass