n_triple {dataset} | R Documentation |
Create an N-Triple
Description
Create a single N-Triple triple.
Usage
n_triple(s, p, o)
Arguments
s |
The subject of a triplet. |
p |
The predicate of a triplet. |
o |
The object of a triplet. |
Details
N-Triples is an easy to parse line-based subset of Turtle to serialize
RDF. An N-Triple triple is a sequence of RDF terms representing the subject,
predicate and object of an RDF Triple. Use n_triples
to serialize
multiple statements.
Value
A character vector containing one N-Triple string.
Source
Examples
s <- "http://example.org/show/218"
p <- "http://www.w3.org/2000/01/rdf-schema#label"
o <- "That Seventies Show"
n_triple(s, p, o)
[Package dataset version 0.3.9 Index]