We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
output_format
1 parent 835fc0b commit 67ba54eCopy full SHA for 67ba54e
case_cli_example/cli.py
@@ -84,12 +84,12 @@ def main() -> None:
84
(n_example_organization, NS_UCO_CORE.name, Literal("Cyber Domain Ontology"))
85
)
86
87
- # Write output file.
+ # Write output file, defaulting to Turtle format.
88
output_format = (
89
guess_format(args.out_graph)
90
if args.output_format is None
91
else args.output_format
92
- )
+ ) or "turtle"
93
graph.serialize(destination=args.out_graph, format=output_format)
94
95
0 commit comments