that example works for me - including if i make it load my sample file

but my original doesnt want to show the nested body:







On 18 May 2018 at 14:07, Holger Knublauch <hol...@topquadrant.com> wrote:

> Please try the attached example from TBC and use the "Toggle Debugger
> Breakpoint" button in the tool bar of the Graph editor to set a breakpoint
> in the Apply Construct module. That works for me.
>
> Holger
>
>
>
> On 18/05/2018 13:42, Rob Atkinson wrote:
>
> Is there a way to get SPARQLMotion debug to access state of modules within
> an iterator.  (I assumed "Step into" would do this, but it doesnt.
>
> Unless there is an issue with the iterator:
>
> This query inside the iterator returns results on the input graph to the
> iterator,
>
> SELECT ?s
> WHERE {
>     ?s a abr:ABR .
> }
>
>
> The test body is a simple Apply construct
>
> CONSTRUCT {
>     ?s a abr:Thing .
> }
> WHERE {
> }
>
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.
# baseURI: http://suroundaustralia/test/abr/sparqlmotion/injecterrors
# imports: http://topbraid.org/sparqlmotionfunctions
# imports: http://topbraid.org/sparqlmotionlib-tbc
# prefix: injecterrors

@prefix abr: <http://surroundaustralia.com/test/abr/owl/> .
@prefix abr1: <http://surroundaustralia.org/test/abr/> .
@prefix abrdata: <http://surroundaustralia.com/test/abrdata/> .
@prefix injecterrors: <http://suroundaustralia/test/abr/sparqlmotion/injecterrors#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sm: <http://topbraid.org/sparqlmotion#> .
@prefix sml: <http://topbraid.org/sparqlmotionlib#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://suroundaustralia/test/abr/sparqlmotion/injecterrors>
  rdf:type owl:Ontology ;
  owl:imports <http://topbraid.org/sparqlmotionfunctions> ;
  owl:imports <http://topbraid.org/sparqlmotionlib-tbc> ;
  owl:versionInfo "Created with TopBraid Composer" ;
.
injecterrors:ApplyConstruct_2
  rdf:type sml:ApplyConstruct ;
  sm:nodeX 434 ;
  sm:nodeY 188 ;
  sml:constructQuery [
      rdf:type sp:Construct ;
      sp:templates (
          [
            sp:object "label" ;
            sp:predicate rdfs:label ;
            sp:subject [
                sp:varName "s" ;
              ] ;
          ]
        ) ;
      sp:where () ;
    ] ;
  sml:replace "false"^^xsd:boolean ;
  rdfs:label "Copy input record " ;
.
<http://suroundaustralia/test/abr/sparqlmotion/injecterrors#Import-act_abr_sample.ttl_1>
  rdf:type sml:ImportRDFFromWorkspace ;
  sm:next injecterrors:IterateOverSelect_1 ;
  sm:nodeX 71 ;
  sm:nodeY 40 ;
  sml:baseURI "http://surroundaustralia.com/test/abrdata/"; ;
  sml:ignoreImports "true"^^xsd:boolean ;
  sml:sourceFilePath "/Trellis_tests/inputs_working/act_abr/act_abr_sample.ttl" ;
  rdfs:label "Import file" ;
.
injecterrors:IterateOverSelect_1
  rdf:type sml:IterateOverSelect ;
  sm:body injecterrors:ApplyConstruct_2 ;
  sm:nodeX 177 ;
  sm:nodeY 183 ;
  sml:iterationVariable "rownum" ;
  sml:selectQuery [
      rdf:type sp:Select ;
      sp:resultVariables (
          [
            sp:varName "s" ;
          ]
        ) ;
      sp:where (
          [
            sp:object rdfs:class ;
            sp:predicate rdf:type ;
            sp:subject [
                sp:varName "s" ;
              ] ;
          ]
        ) ;
    ] ;
  rdfs:label "Iterate" ;
.

Reply via email to