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

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
Line 11: Line 11:
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     Create the first query,
+
     Create the first query, as described
    as described in
+
     in [[PrF_UG_queries_create_query|Creating a Single Query]]
     [[PrF_UG_queries_create_query|Creating a Single Query]]
+
     or [[PrF_UG_queries_retrieve_query|Retrieving a Query]].
     or
 
    [[PrF_UG_queries_retrieve_query|Retrieving a Query]].
 
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     Click <b>More</b>
+
     Click the <b>More</b> button.
    [[Image:PrF_UG_queries_query_more.png|queries_query_more]].
 
 
     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>
  
 
   <li><p>
 
   <li><p>
Line 53: Line 51:
  
 
   <li><p>
 
   <li><p>
     To run your query,
+
     To run your query, click the <b>Find</b> button:
    click <b>Find</b>
 
    [[Image:PrF_UG_queries_query_find.png|queries_query_find]].
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_queries_query_find.png|queries_query_find]]</div>
 +
 
</ol>
 
</ol>
  
 
If you are combining multiple queries,
 
If you are combining multiple queries,
and wish to remove the criteria in the last
+
and wish to remove the criteria
(bottom-most)
+
in the last (bottom-most) query bar:
query bar:
 
  
 
<ol class='a'>
 
<ol class='a'>

Revision as of 14: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.