Advanced Searching - Search Fields


This section contains some examples of the query syntax that can be used to find CEDAR artifacts by field name and/or value.

Finding metadata instances by field name and/or field value

Suppose the following metadata instance:

Examples of queries that will retrieve the instance above:

  • Search by field name and value:

    title:statistics

    publisher:"City of New York"

    "publishing institution":"City of New York" (note that ‘Publishing Institution’ has been defined in the template as the preferred label of the field ‘Publisher’)

  • Search by field name (any value):

    publisher:*, or publisher:

  • Search by field value (any name):

    *:"New York", or :"New York"

  • Boolean queries:

    title:Statistics OR title:Math (the OR is optional—it is the assumed conjunction)

    title:(Statistics OR Math)

    title:Math OR (title:Statistics AND publisher:"New York")

    Dataset OR disease:CRC searches for Dataset anywhere, OR a field ‘disease’ with value ‘CRC’

  • Wildcard queries:

    • One or more characters: title:stat*

    • Single character: title:stat?stics

  • URLs:

    • url:https://catalog.data.gov/dataset/demographic-statistics-by-zip-code-acfc9
  • Ontology terms:

    • Search by term label: topic:statistics

    • Search by term URI: topic:http://edamontology.org/topic_2269

    • Search by term label and URI: topic:http://edamontology.org/topic_2269 AND topic:data

Finding templates, elements, and fields, by field name

Given the template for the previous instance:

Here are some examples of queries that can be used to find the template above:

title:*, or simply title:

Publish*:

"Contact Email": use quotes for multi-word strings

to?ic:



Please help improve this article.

© 2020 Center for Expanded Data Annotation and Retrieval
CEDAR was supported by the National Institutes of Health through Big Data to Knowledge Grant Number 1U54AI117925.
Website developed by Maulik R. Kamdar || Designed using a Minimalistic Ed Jekyll Theme