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.


ropensci/RNeXML documentation built on Jan. 14, 2023, 4:36 a.m.