upload_file_to_graph
Upload RDF files to knowledge graphs with format validation and progress tracking. Supports Turtle, RDF/XML, N-Triples, and JSON-LD formats with configurable validation levels.
Instructions
Upload RDF file to graph with validation and progress tracking.
Args:
graph_id: Target graph ID
file_path: Path to the RDF file to upload (Turtle, RDF/XML, N-Triples, JSON-LD)
rdf_format: Optional RDF format override (turtle, rdfxml, ntriples, jsonld)
validation_level: Validation level (strict, lenient, none)
namespace: Optional namespace for the uploaded data
replace_existing: Whether to replace existing data (default: append)
ctx: MCP context for user authentication
Returns:
JSON response with upload job details and progress tracking URL
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| file_path | Yes | ||
| rdf_format | No | ||
| validation_level | No | strict | |
| namespace | No | ||
| replace_existing | No |