Skip to content
AnswerWell geo Documentation

Research · 6 min read · Answerwell

BioChemEntity Markup: Types, Properties, and Molecular Identifiers

How Schema.org and Bioschemas define BioChemEntity, Gene, Protein, and chemical types, which properties to use, and how to mark up life-sciences pages.

This page summarises Schema.org vocabulary for biological and chemical entities, developed with Bioschemas. The types and properties listed here sit in Schema.org’s pending (“new”) area: definitions may evolve as sites adopt them and report feedback.

BioChemEntity: what it is and when to use structured data for it

Section titled “BioChemEntity: what it is and when to use structured data for it”

BioChemEntity is the umbrella Schema.org type for any biological, chemical, or biochemical thing you describe on a page—proteins, genes, small molecules, or synthetic chemicals.

Any biological, chemical, or biochemical thing. For example: a protein; a gene; a chemical; a synthetic chemical.

— Schema.org, BioChemEntity

Use it when the main subject of a resource is such an entity (database entry, fact sheet, registry record, or research summary), not when you only mention a chemical in passing. Pick a more specific subtype when it fits: Gene, Protein, ChemicalSubstance, or MolecularEntity. Those types inherit the shared BioChemEntity properties and add their own.

On the pending vocabulary list, Schema.org groups these types with related properties (for example associatedDisease, hasRepresentation, taxonomicRange). Adoption in the wild is still limited: many terms show usage under 1K domains in Schema.org’s usage notes.

Type hierarchy: Gene, Protein, ChemicalSubstance, and MolecularEntity

Section titled “Type hierarchy: Gene, Protein, ChemicalSubstance, and MolecularEntity”
Type Parent Typical use on a page
BioChemEntity Thing Generic biochemical entity when no narrower type fits
Gene BioChemEntity A gene or allele record (e.g. FOXP2)
Protein BioChemEntity Proteins, isoforms, protein classes, or synthetic polypeptides
ChemicalSubstance BioChemEntity A portion of matter with constant composition (mixtures of molecular entities)
MolecularEntity BioChemEntity A single distinguishable molecule, ion, conformer, etc.

Gene is defined as a unit of inheritance affecting traits, with examples such as FOXP2 and SCARNA21 on the Gene type page.

Protein is intentionally broad: a UniProt entry, an ortholog group, a single molecule, or even nested isoforms can all be typed as Protein if that matches how you model the page.

Protein is here used in its widest possible definition, as classes of amino acid based molecules. Amyloid-beta Protein in human (UniProt P05067), eukaryota (e.g. an OrthoDB group) or even a single molecule that one can point to are all of type :Protein.

— Schema.org, Protein

ChemicalSubstance follows the ChEBI sense of a substance with constant composition (ChEBI:59999); use chemicalComposition for element identity and ratios.

MolecularEntity covers constitutionally or isotopically distinct entities—atoms, molecules, ions, conformers, and similar—as on MolecularEntity.

Shared BioChemEntity properties: interactions, disease, and biology

Section titled “Shared BioChemEntity properties: interactions, disease, and biology”

Properties defined on BioChemEntity apply to all subtypes unless a subtype page restricts them. They fall into a few practical groups.

Relationships between entities: interaction, similarity, and parts

Section titled “Relationships between entities: interaction, similarity, and parts”
Property Value type Meaning
bioChemInteraction BioChemEntity Another entity known to interact with this one
bioChemSimilarity BioChemEntity A similar entity (e.g. from fingerprint similarity)
hasBioChemEntityPart BioChemEntity This entity has the given entity as a part (inverse: isPartOfBioChemEntity)

A BioChemEntity that is known to interact with this item.

— Schema.org, bioChemInteraction

Use nested BioChemEntity objects (with at least name and preferably identifier or sameAs) rather than bare strings when the partner is a first-class record on your site or in a public database.

Property Expected types Note
associatedDisease MedicalCondition, PropertyValue, or URL Disease linked to this entity
hasMolecularFunction DefinedTerm, PropertyValue, or URL Molecular function
isInvolvedInBiologicalProcess DefinedTerm, PropertyValue, or URL Biological process
isLocatedInSubcellularLocation DefinedTerm, PropertyValue, or URL Subcellular location
biologicalRole DefinedTerm Role in a biological context

For associatedDisease, a URL or MedicalCondition is enough for a simple link; Schema.org asks you to use PropertyValue when you need evidence for the association (the same pattern applies to function, process, and location properties above).

Property Used on Purpose
encodesBioChemEntity Gene Products encoded by the gene (inverse on product: isEncodedByBioChemEntity)
expressedIn Gene Tissues or systems where activity was observed
alternativeOf Gene Another gene that is a variation of this one
taxonomicRange BioChemEntity Organism grouping related to the entity (DefinedTerm, Taxon, text, or URL)

Another gene which is a variation of this one.

— Schema.org, alternativeOf

Taxon models taxonomic units with parentTaxon and childTaxon; link a BioChemEntity to a taxon via taxonomicRange when the entity is tied to a specific lineage.

hasRepresentation: sequences, InChI, and SMILES

Section titled “hasRepresentation: sequences, InChI, and SMILES”

hasRepresentation holds a common machine- or human-readable representation (sequence, structure string, etc.). For images, Schema.org points to image instead.

Sub-properties under hasRepresentation include hasBioPolymerSequence, inChI, inChIKey, and smiles.

A common representation such as a protein sequence or chemical structure for this entity. For images use schema.org/image.

— Schema.org, hasRepresentation

hasBioPolymerSequence on Gene and Protein carries nucleotide or amino acid sequence text.

For MolecularEntity, prefer standard identifiers:

Weights must include units, e.g. 12 amu or a QuantitativeValue, as stated on molecularWeight and monoisotopicMolecularWeight.

ChemicalSubstance and MolecularEntity: composition and roles

Section titled “ChemicalSubstance and MolecularEntity: composition and roles”

On ChemicalSubstance, type-specific properties are chemicalComposition, chemicalRole, and potentialUse. chemicalRole also applies to MolecularEntity.

The chemical composition describes the identity and relative ratio of the chemical elements that make up the substance.

— Schema.org, chemicalComposition

A role played by the BioChemEntity within a chemical context.

— Schema.org, chemicalRole

A ChemicalSubstance page might describe overall composition; nested or linked MolecularEntity nodes can carry inChI / smiles for each constituent. ChemicalSubstance may also appear as the value of substanceOfConcern on a Product in regulatory contexts.

Minimal JSON-LD pattern (illustration only)

Section titled “Minimal JSON-LD pattern (illustration only)”

A compact gene entry might combine Thing fields with gene-specific properties:

{
"@context": "https://schema.org",
"@type": "Gene",
"name": "FOXP2",
"identifier": "https://www.genenames.org/data/gene-symbol-report/#!/hgnc/HGNC:3815",
"sameAs": "https://www.wikidata.org/wiki/Q147859",
"hasBioPolymerSequence": "ATG...",
"taxonomicRange": {
"@type": "Taxon",
"name": "Homo sapiens"
}
}

Adjust types and properties to match the entity on the page; the Schema.org version summary lists which properties apply to each type in the current release.

Common mistakes when marking up BioChemEntity data

Section titled “Common mistakes when marking up BioChemEntity data”
  • Using BioChemEntity alone when Gene, Protein, or MolecularEntity clearly fits, which loses type-specific properties such as encodesBioChemEntity or inChI.
  • Stating disease or GO-style associations as plain text on the wrong property instead of MedicalCondition / DefinedTerm / URL, or omitting PropertyValue when you cite evidence.
  • Putting depictions only in hasRepresentation instead of image for figures.
  • Reversing encodesBioChemEntity and isEncodedByBioChemEntity between gene and product.
  • Using molecularWeight without units contrary to molecularWeight.
  • Expecting wide search-feature support while terms remain on the pending list.
  1. Extract JSON-LD (or microdata) from the live page and confirm @type is one of BioChemEntity, Gene, Protein, ChemicalSubstance, or MolecularEntity as intended.

  2. For each property you use, open the canonical property page on Schema.org (e.g. associatedDisease) and verify used on types and expected types for values match your markup.

  3. Compare your property set to the type lists in Schema.org version latest so you are not using a property on a type where it is not defined.

  4. If you publish life-sciences data, cross-check field names and cardinality with Bioschemas guidance for your entity class.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page disagrees with Schema.org or your markup behaves differently in practice, email yimasynthetic@gmail.com with the page URL and the exact statement you want clarified.