Sponsored by BMBF Logo
# list all Wavetoy simulations (eg. simulations which have "wavetoy" in their
# parameter filenames), along with their run date and
# the value of IO::out_dir (if set)


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

SELECT ?ParFilename ?StartedAt ?Outdir

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

FILTER ( REGEX (?ParFilename, ".*wavetoy.*", "i")) .

OPTIONAL {
?simulation cctk:thornList ?list .
?list cctk:thorn ?thorn .
?thorn cctk:name 'IOUtil' ;
cctk:parameter ?parameter .
?parameter cctk:name 'IO::out_dir' ;
cctk:value ?Outdir .
}
} ORDER BY ?ParFilename ?StartedAt