Using snake_case in the ontology prefix name makes TrackerResource's print_sparql_update not resolve the namespace
With the following ontology:
And the following code:
tracker_resource_print_sparql_update returns:
INSERT DATA {
_:1 a <rust_example:ExampleClass> ;
rust_example:example_id 1 .
};
So it thinks that rust_example:ExampleClass
is an unprefixed URI. Changing rust_example
to rustExample
in the ontology and query makes it work.