Sponsored by BMBF Logo
# list all simulations by parfilename name and run date,
# along with their update information sent periodically and before termination


PREFIX cctk: <http://www.gac-grid.org/project-products/Software/InformationService/InformationProducer/CactusRDFProducer/2006/08/cctk-schema#>

SELECT ?ParFilename ?StartedAt ?Iteration ?CurrentTime ?Terminated


WHERE {
  ?simulation   cctk:startedAt        ?StartedAt ;
                cctk:parameterFile    ?parfile .
  ?parfile      cctk:name             ?ParFilename .


  OPTIONAL {
    ?simulation   cctk:updateInfo     ?info .
   ?info         cctk:iteration      ?Iteration ;
                  cctk:datetime       ?CurrentTime .


# FIXME: nested OPTIONALs are not supported yet in version 0.0.3.
#    OPTIONAL {
#      ?info       cctk:terminated     ?Terminated
#    }
  }
} ORDER BY ?StartedAt ?Iteration