Here are some examples of regquery
:
stilts regquery query="title like '%IRAS%'" ofmt=ascii out=iras.txt
title
field contain the string "IRAS".
The '%
' characters function
as wildcards for the ADQL like
operator.
The output is written to a local ASCII table which can be examined
later.
stilts regquery query="capability/@standardID = 'ivo://ivoa.net/std/ConeSearch' and curation/@publisher like '%astrogrid%'" omode=count
omode=count
output mode counts the rows.
This therefore tells you how many AstroGrid cone search services are
in the registry.
stilts regquery query="capability/@standardID = 'ivo://ivoa.net/std/SSA'" ocmd="keepcols 'identifier accessUrl'" ofmt=ascii out=-
keepcols
filter takes the result and throws away
all the columns except for identifier
and
accessUrl
, and these are written to the terminal
int ASCII format.