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

From Protege Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
== Combining Multiple Queries ==
 
== Combining Multiple Queries ==
  
{{PrF_UG_TOC_queries}}<div id='prf_ug'>
+
<noinclude>{{PrF_UG_TOC_queries}}<div id='prf_ug'></noinclude>
  
 
The More button,
 
The More button,
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|frame|none|
 +
          More button]]</div>
  
 
   <li><p>
 
   <li><p>
Line 53: Line 54:
 
     To run your query, click the <b>Find</b> button:
 
     To run your query, click the <b>Find</b> button:
 
     </p>
 
     </p>
     <div>[[Image:PrF_UG_queries_query_find.png|queries_query_find]]</div>
+
     <div>[[Image:PrF_UG_queries_query_find.png|frame|none|
 +
          Find button]]</div>
  
 
</ol>
 
</ol>
Line 69: Line 71:
  
  
</div>
+
<noinclude></div></noinclude>

Latest revision as of 18:39, November 13, 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.

    More button
  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:

    Find button

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.