Skip to contents

This function generates RDF/XML (.ttl) files describing new sensor manufacturers based on a local input table. Each manufacturer is represented as a foaf:Organization with associated contact information, postal address, and provenance metadata. The function queries the existing Fuseki triple store to determine the last manufacturer ID and appends new ones sequentially.

Usage

sensors_create_rdf_XML_manufacturer(man_table = NULL, orcid_creator = NULL)

Arguments

man_table

A data frame containing manufacturer metadata with the following required columns: name, email, homepage, phone, building, country, postcode, region, streetNr, thoroughfareName, and town.

orcid_creator

Character string representing the ORCID URI of the metadata creator (e.g. "0000-0002-1234-5678"). This value is included as dc:creator in each RDF record.

Value

The function writes a single RDF/XML file in the working directory named with a timestamp (e.g., "20251103T213015_newManufacturers.rdf"). It returns the path of the created file (invisible).

Author

Alessandro Oggioni, phD (2023) alessandro.oggioni@cnr.it