Properties
Methods
add
- add(predicate, object): RDFBuilder
Parameters
- predicate: `http://${string}` | `https://${string}`
- object:
| object
| Quad_Object
| `http://${string}`
| `https://${string}`
| Thing
- add(predicate, object, languageOrDatatype?): RDFBuilder
Parameters
- predicate: `http://${string}` | `https://${string}`
- object: string | number
Optional
languageOrDatatype: string
build
- build(changelog?): Thing & {
additions?: Quad[];
deletions?: Quad[];
} Parameters
Optional
changelog: boolean
Returns Thing & {
additions?: Quad[];
deletions?: Quad[];
}
delete
- delete(predicate, object): RDFBuilder
Parameters
- predicate: `http://${string}` | `https://${string}`
- object:
| object
| Quad_Object
| `http://${string}`
| `https://${string}`
| Thing
- delete(predicate, object, languageOrDatatype?): RDFBuilder
Parameters
- predicate: `http://${string}` | `https://${string}`
- object: string | number
Optional
languageOrDatatype: string
Static
namedNode
- namedNode(uri): RDFBuilder
Parameters
- uri: `http://${string}` | `https://${string}`
Create a new RDF builder from a serialized thing