Hi Dimitrios ,
the second approach (use different namespace) sounds easy and makes most
sense to me. Where does it cause problems?
Holger
On 29/03/2017 9:01, [email protected] wrote:
Hi Everyone!
I am a CMU graduate student in the research group of Dr. Steven Ray. I
am working on a SPARQLMotion script that takes in an XML as a string,
converts it to instances of classes in an ontology using
ConvertXMLtoRDF module and then stores it to a file. The
aforementioned ontology has been automatically imported from XSD
schemata and is annotated with the appropriate sxml elements as
described in Help > TopBraid Composer > Import and Export,Creating,
Importing, Querying, Saving XML documents with Semantic XML.
When invoking the web-service call for the first time, everything
works fine - instances are created having URIs such as r, r-2-0,
r-2-0-0,etc. However,
when running the script again with an XML input string representing
different instances, the same URIs (r, r-2-0,...) are built and as a
result the previous instances are overwritten.
I have experimented with to two partial solutions to the problem :
1. use an ApplyConstruct module after the ConvertXMLtoRDF output to
manually create "unique" URIs
2. each time use a different namespace in the ConvertXMLtoRDF module
to end up with distinct qnames
Is there another and easier way to create instances with unique URIs
using Semantic XML?
Best Regards,
Dimitrios Tzannetos
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include the TopBraid
Suite family of products and its base technologies such as
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
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]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Group "TopBraid
Suite Users", the topics of which include the TopBraid Suite family of products and
its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
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].
For more options, visit https://groups.google.com/d/optout.