View source: R/harmonised-writing.R
add_item_to_rdf | R Documentation |
This function adds a triplet to an RDF object. Classes, data properties and object properties can be defined to a certain subject.
add_item_to_rdf(
object,
subject,
classes = NULL,
dataProperties = NULL,
objectProperties = NULL,
namespaces = NULL
)
object |
<rdf> base object. |
subject |
<uri> containing the subject of the new item. |
classes |
<uri(s)> containing the subject(s) name(s) in the ontology related with this item. |
dataProperties |
<list> containing data properties of the triplet. It is literal information, no connections to other subjects of the RDF. |
objectProperties |
<list> containing object properties of the triplet. It consists on links to other items of the RDF. |
namespaces |
named <array> that relates simple namespaces and complete ones. |
<rdf> object with the new item added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.