The Search Tab

  1. Select either Entities or Relationships as the model element whose data you're searching.
  2. Complete the Where step by selecting the property whose data you're searching, the operator you want to use in your selection, and the value that determines whether an item is returned. Using the population example, your Where step could be State Population, Greater Than, and 10,000,000. This would return data and select entities for states whose population is greater than 10,000,000.
  3. Click the Run button . The items whose data met the requirements of the selection task are shown in the Selected items list box; by default, the last item in the list will be selected. (Likewise, all data is shown for each selected entity in the Model Components pane.)
  4. Click any of the items in the Selected items list box to see its properties, relationships, and history.
  5. Click the Relationships tab to see a list of items that are linked to the item you clicked in step 4. Again, using the population example, this selection would return Texas, among other states. If you click Texas in the Selected items list box and then clicked the Relationships tab, you might see that Texas has relationships as a border state with Arkansas, Louisiana, New Mexico, and Oklahoma. In this view, you can sort by relationship or by entity.
  6. Click the History tab to view changes that have been made to the entity or relationship you selected in step 4. Alternatively, you can access history data by clicking an entity or relationship on the canvas. If you selected an entity, it will provide detailed information for changes to that entity as well as high-level information for changes to the relationships tied to that entity. If you selected a relationship, it will provide detailed information for changes to that relationship.
    Note: This information will be returned only if you have activated the History function. To do so:
    1. Open Context Graph Settings on the Resources tab of Management console.
    2. Check the Track history box to activate history.
    The History feature groups data by version number, in reverse chronological order, and provides a date and time stamp for each version. It also provides the user name of the person who made the changes. Additionally, the History tab displays the following details about any given change:
    • Operation—The action that took place: added, modified, or deleted. Note that if you delete an entity, it will be shown only if it is re-added to the model. However, if you delete relationships or properties, those deletions will appear in the history.
    • Type—The component that changed: property or relationship
    • Name—The name of what changed. For properties, this is the ID of the property that changed. For entities whose relationship changed, this is the source and target IDs plus the relationship name. For example, if you were using insurance fraud data and you changed something about a relationship and then viewed the history of one of the entities tied to that relationship, you might see something like this: "Provider:Dr. John Smith=>Treated=>Patient:Jane Doe".
    • Value—The new value that was entered (if any)
    • Previous Value—The value prior to the change (if any)
You can perform a subsequent selection task that yields results opposite those returned in your first selection task. For instance, using the population example, a subsequent inverse selection task would result in all states whose population is less than 10,000,000 being selected. You can even retain the selections returned in your first selection task. After performing an initial selection task, check the Keep current selection box if you want to retain the selections returned in your first selection task. If you do not want to retain the original selections, leave this box blank. Check the Select inverse box and click the Run button:

You could also use the inverse function combined with the Filter tool to select and remove entities and relationships you do not want, thus allowing you to isolate entities and relationships you do want. Say you are using a model comprised of state data and you want to know which states have more than four electoral votes. You could create a selection that uses entities where Votes in Electoral College equals 4, click the Select inverse box, and click the Apply button. This will cause all states who have more or less than four votes in the electoral college to be selected. From there, you could click the Filters tab, click Entities in the Selection box, and only entities whose states have 4 electoral college votes would remain.