I doubt it is sufficient since it only produces new, inferred triples and, as 
Holger said, other things that may be needed, like at minimum references to 
included graphs

I can’t offer that much in terms of advise as I don’t have time to debug the 
code.

You may want to use SM debugger to look at the data in your pipeline after each 
step. It also helps to start with a very simple, basic transformation script 
before doing something more complex.

You mentioned saving to a file and then in the next step loading it again? This 
may be an issue - the file may not be refreshed. I am not sure why you would 
need this intermediate step.

> On Feb 27, 2020, at 10:50 AM, Colin Meerveld <colin.meerv...@gmail.com> wrote:
> 
> I guess that the data produces by the step is sufficient. Anyhow i tried to 
> keep the triples by setting sml:replace to false but it doesn't seems to 
> matter. Any other thoughts?
> 
>> On Thursday, February 27, 2020 at 3:53:22 PM UTC+1, Irene Polikoff wrote:
>> Sml:replace removes any data that was provided as input to a step. The 
>> output of the step then becomes only data that was produced by the step 
>> itself.
>> 
>> Sent from my iPhone
>> 
>>> On Feb 27, 2020, at 5:44 AM, Colin Meerveld <colin....@gmail.com> wrote:
>>> 
>>> Hi Holger,
>>> 
>>> Thanks for helping! I thought sml:replace removed the old inferred data (as 
>>> you can do manually in composer). This may be the problem and will try it 
>>> as soon as i am in the office. 
>>> 
>>> You can find the source on github. It is quite compact. See:  
>>> https://github.com/btotr/skos2archimate
>>> Thanks,
>>> 
>>> Colin
>>> 
>>> 
>>>> On Thursday, February 27, 2020 at 10:28:59 AM UTC+1, Holger Knublauch 
>>>> wrote:
>>>> Hi Colin,
>>>> 
>>>> are you sure you want to set sml:replace true? That would remove triples 
>>>> that may be needed, e.g. the imported graphs containing the sxml triples.
>>>> 
>>>> It's tricky to help without seeing details. Are you able to package up a 
>>>> minimal executable set of files for us to run and reproduce locally? Feel 
>>>> free to send them to me off-list, if there is private data.
>>>> 
>>>> Holger
>>>> 
>>>> 
>>>> 
>>>>> On 27/02/2020 18:27, Colin Meerveld wrote:
>>>>> Hi,
>>>>> 
>>>>> I try to use a SPARQLMotion script to convert (semantic) xml into a XML 
>>>>> document. Unfortunately i am not able to let it work. Here are the main 
>>>>> Modules:
>>>>> 
>>>>> export:ApplyTopSPIN
>>>>>   a sml:ApplyTopSPIN ;
>>>>>   sm:next export:ConvertRDFToXML ;
>>>>>   sml:flatten false ;
>>>>>   sml:predicate spin:rule ;
>>>>>   sml:replace true ;
>>>>>   sml:singlePass true ;
>>>>>   rdfs:label "Apply Inferencing" ;
>>>>> .
>>>>> export:ConvertRDFToXML
>>>>>   a sml:ConvertRDFToXML ;
>>>>>   sm:outputVariable "archimatexml" ;
>>>>>   sml:document converter:model ;
>>>>>   rdfs:label "Convert RDF To XML" ;
>>>>> .
>>>>> 
>>>>> The expected behavior is that the outputVariable archimatexml has some 
>>>>> xml structure but it is always empty. The way it does work is by save the 
>>>>> output of           export:ApplyTopSPIN to a rdf file. Than i manually 
>>>>> select the generated file and choose export > XML from RDF in Composer. 
>>>>> Do i miss something?
>>>>> 
>>>>> Cheers,
>>>>> 
>>>>> Colin
>>>>> -- 
>>>>> 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 topbrai...@googlegroups.com.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/topbraid-users/8af614c5-7d4a-4475-8ebc-a0e0dab7c802%40googlegroups.com.
>>> 
>>> -- 
>>> 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 topbrai...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/topbraid-users/cba0b9d7-f761-44df-8c43-3b1104febc5f%40googlegroups.com.
> 
> -- 
> 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 topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/6e289e52-288a-4311-ae12-0992c5f9ff41%40googlegroups.com.

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/ED53E596-3579-4D77-8E50-FCF0772EC10D%40topquadrant.com.

Reply via email to