Skip to content

Commit 55b4e10

Browse files
authored
Add new RDFModel method to docs (#82)
1 parent 2999a19 commit 55b4e10

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ The test harness makes some variables available to all tests:
471471
## Helper Functions
472472
473473
### RDF Model Support
474-
KarateDSL 'natively' supports JSON and XML but sadly it does not yet support RDF. As a result you will need a library
474+
KarateDSL 'natively' supports JSON and XML, but sadly it does not yet support RDF. As a result you will need a library
475475
to parse RDF documents and query them.
476476
477477
#### `iri(iri)`
@@ -542,6 +542,10 @@ Designed for use with container contents, this function extracts any objects tha
542542
`<url> ldp:contains <object>` where `<url> a ldp:BasicContainer` and returns them as a list of strings.
543543
* Returns a list of URLs.
544544
545+
#### `asTriples()`
546+
Convert the model to triples.
547+
* Returns a string.
548+
545549
#### `subjects(predicate, object)`
546550
Returns a list of subjects matching the predicate and object.
547551
* Parameters:

0 commit comments

Comments
 (0)