SHACL commands¶
kurra.cli.commands.shacl ¶
validate_command ¶
validate_command(data: list[Path], shacl: str, hide_warnings: bool = False, summary: bool = False, output_format: Literal['table', 'rdf'] = 'table') -> None
Validate a given file or directory of files using a given SHACL file or directory of files
Source code in kurra/cli/commands/shacl.py
listv_command ¶
Lists all known SHACL validators (known to the KurrawongAI Semantic Background)
Source code in kurra/cli/commands/shacl.py
syncv_command ¶
infer_command ¶
infer_command(data: str = typer.Argument(..., help='The path of file to apply the rules to. Turtle files ending .ttl only'), rules: str = typer.Argument(..., help='The path of the file containing the rules to apply to the data. SHACL Rules ending .srl only'), include_base: str = typer.Option('false', '--include-base', '-ib', help='whether to include the data triples in output'))
Infer new triples from given data using SHACL Rules (SRL syntax only)