Loading...
NVO  CARNIVORE  Open source VO
Registry
Home Summary ResolveId Publish Query Harvest Admin Web Services

Querying CARNIVORE: Advanced querying with XQuery and ADQL


XQuery
ADQL
Results

XQuery is a fully functional language and a good starting point for learning it is the W3C XQuery homepage; we found this tutorial (referenced there) particularly useful. Note that when entering a XQuery query, namespaces must be considered.

When entering a XPath query, simple wildcards *, ?, [a-z] are allowed. Note that namespaces must be considered.

Examples

To help you get started, you might want to select one of the example queries in the select box below ('XP' denotes a XPath query, 'XQ' a XQuery query):

Query builder

Alternatively you might want to use the drop boxes to help you build your query.

Resource Component Action
Query history

Finally you might want to use reuse a previous query:

Query

ADQL is an XML-based extension of SQL specifically for astronomical queries. You can enter an AQDL query below.

Query history

You might want to use reuse a previous query:

Query

<results xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:widget="http://orbeon.org/oxf/xml/widget" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms"/>

Feedback

Contact Matthew Graham with any questions or comments regarding this site.

© 2004 - 2006 California Institute of Technology

Last modified: 21st August 2006