SPARQL commands¶
kurra.cli.commands.sparql
¶
sparql_command(path_or_url: Path, q: str, response_format: str = typer.Option('table', '--response-format', '-f', help="The response format of the SPARQL query. Either 'table' (default), 'json' or 'csv'"), username: Annotated[str, typer.Option(--username, -u, help='Fuseki username.')] = None, password: Annotated[str, typer.Option(--password, -p, help='Fuseki password.')] = None, timeout: Annotated[int, typer.Option(--timeout, -t, help='Timeout per request')] = 60) -> None
¶
SPARQL queries a local file or SPARQL Endpoint