Small and handy utility functions usually not useful outside the package environment.

read_query_file(file_path)

query_file(query_file_name)

Arguments

file_path

File path string to source

query_file_name

Name of query file

Details

The functions are used to find and import query files saved as *.sparql files. query_file is always used within read_query_file.

read_query_file

C++ fast cleaner for query text file removing comments and line breaks.

query_file

Wrapper for the system.file function passing path to a given query file and taking care of potentially missing extensions.