Hi Jack,
you can execute the script up the RDF2XML step and export the resulting
graph to a file to see what is actually part of that graph. I also
suspect the SXML triples are not present. I assume you have a file with
the sxml:element and sxml:attribute triples. Could you try to add this
fi
I am doing something similar to Oleksandr and I know that this is a very
old thread but such is life. I 'am' doing round tripping but here is my SM
workflow:
XML source --> XML-2-RDF module --> RDF-2-RDF using SPIN Map --> Insert to
KG --> DO Stuff with resuting KG --> RDF-2-RDF Reversal using
Hi Holger,
thank you very much for help!
Best regards,
Oleksandr Mandryk
On Thursday, March 9, 2017 at 1:11:38 AM UTC+1, Holger Knublauch wrote:
>
> Hi Oleksandr,
>
> we have discovered that the sml:RDFXML mode of sml:ReturnRDF indeed
> produces the same output as sml:RDFXMLAbbrev. Something mu
Hi Oleksandr,
we have discovered that the sml:RDFXML mode of sml:ReturnRDF indeed
produces the same output as sml:RDFXMLAbbrev. Something must have
changed in the underlying Jena writer's contract and this may have gone
undetected for quite a while because most users have switched to Turtle
o
Hi Holger,
ok, thank you. I will wait for your answer.
Best regards,
Oleksandr Mandryk
On Wednesday, March 8, 2017 at 4:14:01 AM UTC+1, Holger Knublauch wrote:
>
> Hi Oleksandr,
>
> I can confirm there is a problem and we are investigating why the output
> is the same. I will keep you posted.
>
Hi Oleksandr,
I can confirm there is a problem and we are investigating why the output
is the same. I will keep you posted.
Holger
On 7/03/2017 20:48, Oleksandr Mandryk wrote:
Hi Holger,
thank you very much for your advice!
I've created new SPARQLMotion script with such modules: spl:Argum
Hi Holger,
thank you very much for your advice!
I've created new SPARQLMotion script with such modules: spl:Argument
-> sml:ApplyConstruct -> sml:ReturnRDF, where in sml:ApplyConstruct I put
this constructQuery:
CONSTRUCT {
?a ?b ?c .
}
WHERE {
BIND (smf:buildURI("{?1}", ?projectGraph)
Try to use sml:serialization=sml:RDFXMLAbbrev at sml:ReturnRDF.
In general, the main alternatives for producing arbitrary XML are
Semantic XML (via sml:ConvertRDFToXML) or SWP. SWP can produce any XML,
assuming you turn each XML element into a subclass of ui:Element and
each XML attribute into
Hi Hogler,
as far as I remember the nested resources was the main issue. I haven't
tried approach that you suggested but as I can see
here http://www.topquadrant.com/sparqlmotion/lib.html#sml:ReturnRDF there
is no such property in sml:ReturnRDF.
Could you please explain where I can specify sml:
Whether resources are nested or remain top-level is a configuration
option in the RDF/XML writer. In sml:ReturnRDF, try using sml:RDFXML
versus sml:RDFXMLAbbrev (the abbrev option will produce nested objects).
Have you tried this or would there be other differences from your
planned output?
H
Hi Hogler,
thank you for reply!
Actually RDF/XML is pretty different from what I need. The biggest issue
with RDF/XML for me is hierarchical structure of relations between nodes,
for example if PARENT_NODE is parent of CHILD_NODE in RDF/XML it will look
like this:
... properties
...
*Reference
> *--> *SPARQLMotion Module Library Reference*.
>
> Let me know if this helps,
> Pat
>
>
> -- Forwarded message --
> From: Oleksandr Mandryk >
> Date: Mon, Mar 6, 2017 at 9:40 AM
> Subject: [topbraid-users] Export RDF to custom XML
> To:
On 7/03/2017 0:40, Oleksandr Mandryk wrote:
Hi,
I'm trying to create a SPARQLMotion script that will export specified
taxonomy to the custom XML output.
Currently my script is based no these modules:
*
*
*spl:Argument* -> *sml:ImportRDFFromWorkspace* ->
*sml:ConvertRDFToXML* -> *sml:Return
this helps,
Pat
-- Forwarded message --
From: Oleksandr Mandryk
Date: Mon, Mar 6, 2017 at 9:40 AM
Subject: [topbraid-users] Export RDF to custom XML
To: TopBraid Suite Users
Hi,
I'm trying to create a SPARQLMotion script that will export specified
taxonomy to the custom XML
Hi,
I'm trying to create a SPARQLMotion script that will export specified
taxonomy to the custom XML output.
Currently my script is based no these modules:
*spl:Argument* -> *sml:ImportRDFFromWorkspace* -> *sml:ConvertRDFToXML* ->
*sml:ReturnXML*
But when I run this script I get only the fir
15 matches
Mail list logo