Sponsored by BMBF Logo

# list all simulations by parfile name and date,
# along with their update information sent periodically and before termination

PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd:     <http://www.w3.org/2001/XMLSchema#>
PREFIX :        <http://www.cct.lsu.edu/~dstark/cctk/0.1/>


SELECT ?parfile ?startedAt ?iteration ?currentTime ?terminated

FROM <http://astrogrid.aei.mpg.de:24002/context>

WHERE {
  ?simulation   :startedAt        ?startedAt ;
                :parameterFile    ?parfile .
  OPTIONAL {
    ?simulation   :updatedInfo      ?info .
    ?info         :iteration        ?iteration ;
                  :datetime         ?currentTime .

    OPTIONAL {
      ?info       :terminated         ?terminated
    }
  }
} ORDER BY xsd:int(?iteration)