Create Create RDF/XML records for new sensor manufacturers
Source:R/check_man_exist.R
sensors_create_rdf_XML_manufacturer.RdThis 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.
Arguments
- man_table
A data frame containing manufacturer metadata with the following required columns:
name,email,homepage,phone,building,country,postcode,region,streetNr,thoroughfareName, andtown.- orcid_creator
Character string representing the ORCID URI of the metadata creator (e.g.
"0000-0002-1234-5678"). This value is included asdc:creatorin 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