Is it possible to dynamically create a new instance based on a query result?
For example, let's say that we assert:
?s ?p ?o
We would then want to dynamically create a new instance ?s1 with a graph
such as:
?s1 ?p1 ?o
I have tried a query such as the following, but this does not work without
the variable ?s1 being declared in the WHERE clause:
INSERT {
?s1 a class1;
?p1 ?o
}
WHERE
{?s a class;
?p ?o}
I have also tried the following, but it returns an error *"INSERT can only
modify the default graph"*
INSERT {
GRAPH <urn:this_graph>
{
?s1 a class1;
?p1 ?o
}
}
WHERE
{?s a class;
?p ?o}
Is there a way to create these new ?s1 instances automatically based on the
query conditions?
Thank you!
Dan
--
You received this message because you are subscribed to the Google Groups
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/e7312fa7-ee09-41e1-a69f-692dbdefba49n%40googlegroups.com.