Difference between revisions of "PrF UG queries create complex query"

From Protege Wiki
Jump to: navigation, search
Line 20: Line 20:
 
     An additional query bar will be displayed.
 
     An additional query bar will be displayed.
 
     </p>
 
     </p>
     <div>[[Image:PrF_UG_queries_query_more.png|queries_query_more]].</div>
+
     <div>[[Image:PrF_UG_queries_query_more.png|queries_query_more]]</div>
  
 
   <li><p>
 
   <li><p>

Revision as of 13:50, October 16, 2008

Combining Multiple Queries


Protege-Frames User's Guide
Queries
The Queries Tab
The Query Editor
The Search Results Pane
The Query Library Pane
Creating a Single Query
Combining Multiple Queries
Chaining Multiple Queries
Running a Query
Saving a Query
Retrieving a Query
Clearing a Query
Exporting Query Results
Glossary, Editing Help

The More button, at the bottom of the Query Editor, allows you to combine multiple query bars into a single query. To combine multiple queries:

  1. Create the first query, as described in Creating a Single Query or Retrieving a Query.

  2. Click the More button. An additional query bar will be displayed.

    queries_query_more
  3. Fill in the new query bar, either manually or by retrieving another query. You may use the same class or slot, but you do not have to.

  4. Continue to click the More button, creating query bars as necessary to add more criteria to your query.

  5. Specify how the criteria should be combined:

    • To see instances that match all the criteria specified (Boolean AND), click Match All.

    • To see all instances that match at least one of the different query bars (Boolean OR), click Match Any.

  6. To run your query, click the Find button:

    queries_query_find

If you are combining multiple queries, and wish to remove the criteria in the last (bottom-most) query bar:

  1. Click Fewer. The bottom-most query bar will be removed.