pub struct ReasonerOptions {
pub other: Vec<String>,
pub input: Option<String>,
pub output: Option<String>,
}Expand description
RDF input/output formats and additional arguments for a Reasoner.
Default leaves formats unset and other empty. The process wrapper omits
unset flags and lets the program apply its defaults. These options do not
select a standard entailment regime or validate the RDF payloads.
§Examples
use asimov_patterns::ReasonerOptions;
let options = ReasonerOptions::builder()
.input("jsonl")
.output("jsonl")
.build();Fields§
§other: Vec<String>Additional arguments, including optional input and output file operands.
The wrapper appends these after generated format options. Put extension
options before files; each string is one literal argument. See
crate::programs for operand ordering and standard-stream selection.
input: Option<String>RDF input serialization passed as --input=FORMAT (-i in the CLI).
None omits the option; the specified program default is jsonl.
This is a format token, not an input filename or a rule language.
output: Option<String>Entailed RDF serialization passed as --output=FORMAT (-o in the CLI).
None omits the option; the specified program default is jsonl.
This selects neither an output file nor whether input statements are included.
Implementations§
Source§impl ReasonerOptions
impl ReasonerOptions
Sourcepub fn builder() -> ReasonerOptionsBuilder
pub fn builder() -> ReasonerOptionsBuilder
Create an instance of ReasonerOptions using the builder syntax