Hi,
is there a JAVA API equivalent of "$ stardog-admin virtual import" command? I can't find it...
It would be good if VirtualGraphAdminConnection class[1] would have a method for materializing a Virtual Graph (or CSV data).
Thanks,
Piotr
Hi,
is there a JAVA API equivalent of "$ stardog-admin virtual import" command? I can't find it...
It would be good if VirtualGraphAdminConnection class[1] would have a method for materializing a Virtual Graph (or CSV data).
Thanks,
Piotr
Hi Piotr,
In general, the functionality of CLI commands is available in Java APIs. In fact, this is how we implement the CLI commands. Some CLI commands are provided purely as convenience. These tend not to be available in APIs as they only facilitate command line convenience. The virtual import
command is one such command added purely for convenience. It’s implementation involves:
COPY <virtual://x> to <other_named_graph>
ADD
if --remove-all
switch is given)In short, you can use the COPY
statement in the same manner we do here.
Jess
Hi Jess,
thanks for your explanation. I’ll try to do what you suggest.
Piotr