Skip to content

Commit 5e94613

Browse files
committed
Update README.md
1 parent 2a7f994 commit 5e94613

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ The `rdf` and [`quads` packages](rdf/quads) offer additional interfaces and util
290290

291291
### Property Values
292292

293-
The fields of triples and quads are restricted (with interfaces) to the normative value types they support, described by the table below. [Generalized RDF](https://www.w3.org/TR/rdf11-concepts/#section-generalized-rdf) values are not currently supported.
293+
The fields of triples and quads are restricted (with interfaces) to the normative value types they support, described by the table below.
294294

295295
| Field | IRI | Literal | Blank Node | `nil` |
296296
| ----- |:---:|:-------:|:----------:|:-----:|
@@ -443,7 +443,7 @@ resource := rdfdescription.SubjectResource{
443443
}
444444
```
445445

446-
A description can be converted to triples by calling its `NewTriples` function. Each invocation creates new blank nodes for anonymous resources, so the triples returned from separate invocations may be non-isomorphic.
446+
A description can be converted to triples by calling its `NewTriples` function. Each invocation creates new blank nodes for anonymous resources, so the triples returned from subsequent invocations may be non-isomorphic.
447447

448448
```go
449449
resourceTriples := resource.NewTriples()
@@ -459,12 +459,12 @@ err := turtleEncoder.AddResource(ctx, resource)
459459

460460
### Resource List Builder
461461

462-
The `ResourceListBuilder` may be used to construct resources from their triples. Once constructed, they can be enumerated with `GetResources()` or sent directly to supported encoders.
462+
The `ResourceListBuilder` may be used to construct resources from their triples. Once constructed, they can be enumerated with `ExportResources()` or sent directly to supported encoders.
463463

464464
```go
465465
builder := rdfdescription.NewResourceListBuilder()
466466
// builder.Add(rdf.Triple{...}, ...)
467-
err := builder.AddTo(ctx, turtleEncoder, true)
467+
err := builder.ToResourceWriter(ctx, turtleEncoder, rdfdescription.DefaultExportResourceOptions)
468468
```
469469

470470
## Canonicalization
@@ -576,7 +576,9 @@ The [`rdfacontext` package](rdf/iriutil/rdfacontext/) provides a list of prefix
576576

577577
## Notes
578578

579-
* **RDF 1.2** (i.e. RDF-star) - not currently supported; likely to add primitive type support soon, encodings later.
579+
* **RDF 1.2** - not currently supported; likely to add primitive type support soon, encodings later.
580+
* [Generalized RDF](https://www.w3.org/TR/rdf11-concepts/#section-generalized-rdf) usage is not currently supported.
581+
* EARL Reports for well-known test suites are published as [build artifacts](https://github.com/dpb587/rdfkit-go/actions) ([preview](https://earl.dpb.io/source-ref?source=github.com%2Fdpb587%2Frdfkit-go%40main)).
580582
* This is a periodically updated fork based on private usage. There may still be some breaking changes before starting to version this module.
581583

582584
## License

0 commit comments

Comments
 (0)