🕸️ Link
In a nutshell
Add linked-data context and create JSON-LD with
acorn link <PATH>.
acorn link maps RAD fields to defined ontologies and vocabularies, then writes the result as JSON-LD for programmatic use.
Tip
Linked Data creates a connected network of standards-based, machine-readable data across Web sites.
Example usage
# Link a specific research activity index
acorn link path/to/project/index.json
# Create JSON-LD from Markdown RAD
acorn link path/to/project/index.md
# Link all research activity data in a directory
acorn link path/to/project/
Tip
The
linkcommand is almost identical to theformatcommand, complete with support for the--dry-runflag to preview changes without creating files.
Example output
"contact": {
+ "@context": {
+ "jobTitle": "https://schema.org/jobTitle",
+ "givenName": "https://schema.org/givenName",
+ "familyName": "https://schema.org/familyName",
+ "identifier": "https://orcid.org",
+ "email": "https://schema.org/email",
+ "telephone": "https://schema.org/telephone",
+ "url": "https://schema.org/url",
+ "organization": "https://schema.org/worksFor",
+ "affiliation": "https://schema.org/affiliation"
+ },
+ "@type": "https://schema.org/person",
"jobTitle": "Primary Investigator",
"givenName": "Audson",
"familyName": "Cargohlmuth",
"email": "wohlgemuthjh@ornl.gov",
"telephone": "865.576.7658",
"url": "https://www.ornl.gov/staff-profile/jason-h-wohlgemuth",
"organization": "Geospatial Science and Human Security Division",
"affiliation": "National Security Sciences Directorate"
}
Next stop: Turn linked RAD into an artifact with Export.