Sponsored by BMBF Logo
# list all simulations by parameter filename, job owner, run host/nprocs/date,
# and - optionally - with their simulation title and PBS jobname

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

SELECT ?ParFilename ?User ?Host ?nProcs ?StartedAt ?RunTitle ?PBS_Jobname

WHERE {
  ?simulation   cctk:user            ?User ;
                cctk:host            ?Host ;
                cctk:nProcs          ?nProcs ;
                cctk:startedAt       ?StartedAt ;
                cctk:parameterFile   ?parfile .
  ?parfile      cctk:name            ?ParFilename .

  OPTIONAL {
    ?simulation   cctk:thornList       ?list .
    ?list         cctk:thorn           ?thorn .
    ?thorn        cctk:name            'Cactus' ;
                  cctk:parameter       ?parameter .
    ?parameter    cctk:name            'Cactus::cctk_run_title' ;
                  cctk:value           ?RunTitle .
  }

  OPTIONAL {
    ?simulation   cctk:pbsJobname      ?PBS_Jobname .
  }
} ORDER BY ?StartedAt