utils/rdf library

Common utilities for working on RDF data.

Copyright (C) 2024, Software Innovation Institute, ANU.

Licensed under the GNU General Public License, Version 3 (the "License").

License: https://www.gnu.org/licenses/gpl-3.0.en.html.

Authors: Dawei Chen

Constants

appTerms → const String

Functions

genTTLStr(List<({String key, dynamic value})> keyValuePairs) Future<String>
Serialise key/value pairs keyValuePairs in TTL format where
getEncKeyContent(String fileInfo) Map
Parses enc-key file information and extracts content into a map.
parseTTLStr(String ttlStr) Future<List<({String key, dynamic value})>>
Parse TTL string ttlStr and returns the key-value pairs from triples where