Copyright © Copyright (c) 2021 Driebit BV
compact/2 | Compact a doc, add namespaces and simplify values. |
ns_compact/2 | Compact a namespace in a predicate. |
ns_expand/2 | Expand a namespace in a predicate. |
to_docs/1 | Combine a list of triples into a collection of JSON-LD (alike) documents. |
Compact a doc, add namespaces and simplify values.
ns_compact(Pred, Ns) -> Pred
Compact a namespace in a predicate. For example, replaces: http://www.w3.org/2001/XMLSchema#integer with xsd:integer
ns_expand(Pred, Ns) -> Pred
Expand a namespace in a predicate. For example, replaces: xsd:integer with http://www.w3.org/2001/XMLSchema#integer
to_docs(Triples) -> {ok, Docs}
Combine a list of triples into a collection of JSON-LD (alike) documents. Only non blank-node dcuments are returned. Blank nodes are substituted into the documents.
Generated by EDoc