PublicShow sourcerdf_io.pl

Source write_table(+Rows, +Options)
Write a result-table in the specified format. Rows is a list of terms row(C1, C2, ...). Options specifies additional processing options. Defined options are:
result_format(+Format)
Specifies the output format. Defined formats depend on the loaded plugins. Passed as first argument to the write_table/4 hook. This option must be present.
serialization(+Serialization)
Specifies the serialization of the output. Passed as second argument to the write_table/4 hook. This option must be present.
variables(+Vars)
Specifies the names of the columns. Vars is a term with functor vars and atom-arguments describing the names of each subsequent column. For Example:
variables(vars('Name', 'Address'))

The output hooks may support additional options.

Arguments:
Rows- is a list of terms row(Col1, Col2, ..., ColN)
Source write_graph(+Triples, +Options)
Write a graph, represented as a list of rdf(S,P,O) triples. Options:
result_format(+Format)
Specifies the output format. Defined formats depend on the loaded plugins. Passed as first argument to the write_graph/4 hook.
serialization(+Serialization)
Specifies the serialization of the output. Passed as second argument to the write_table/4 hook. This option must be present.
Source get_triples(+Input, -Graph:list, +Options)
Read triples according to the option data_format. This predicate is plugable by get_triples/4.
Source get_triples(+Format, +Input, -Graph:list, +Options)[multifile]
Hook to read triples into a list of rdf(S,P,O) for a given Format. The default implementation supports rdfxml by means of load_rdf/3.
Source write_table(+ResultFormat, +Serialization, +Triples, +Options)[multifile]
Hook for write_table/2. There is no default implementation.
Source write_graph(+ResultFormat, +Serialization, +Triples, +Options)[multifile]
Hook for write_graph/2. The default implementation supports Format = xml and Serialization = rdfxml. It uses rdf_write_xml/2 to emit the graph.