get_rdf: Extract rdf-xml from a NeXML file

View source: R/get_rdf.R

get_rdfR Documentation

Extract rdf-xml from a NeXML file

Description

Extract rdf-xml from a NeXML file

Usage

get_rdf(file)

Arguments

file

the name of a nexml file, or otherwise a nexml object.

Value

an RDF-XML object (XMLInternalDocument). This can be manipulated with tools from the XML R package, or converted into a triplestore for use with SPARQL queries from the rdflib R package.


RNeXML documentation built on Feb. 16, 2023, 6:56 p.m.