as_rdf: Serialize a FAIR assessment to RDF (DQV + schema.org Rating).

View source: R/as_rdf.R

as_rdfR Documentation

Serialize a FAIR assessment to RDF (DQV + schema.org Rating).

Description

Emits the assessment as W3C Data Quality Vocabulary quality measurements plus a schema.org Rating, the machine-readable form the F-UJI service publishes.

Usage

as_rdf(x, format = c("jsonld", "turtle"))

Arguments

x

A fair_assessment object.

format

"jsonld" (default) or "turtle" (needs the optional rdflib package).

Value

A character scalar of serialized RDF.

Examples


a <- assess_fair("https://doi.org/10.5281/zenodo.8347772")
cat(as_rdf(a))


rfair documentation built on July 1, 2026, 5:07 p.m.