Skip to main content

Work with Expansion Queries

Semantic expansion in the PoolParty Recommender Workbench is done with a SPARQL query that expands the concepts extracted from the input. The Recommender Workbench comes with one sample expansion query, which makes use of narrower and sibling concepts of extracted concepts and can be loaded from the application's database.

Tip

You can find out more about the process of semantic expansion in PoolParty in the Recommender Quick Start Guide and the Recommender Systems for Business Professionals white paper.

Moreover, the PoolParty Recommender Workbench supports subject matter experts in constructing their own SPARQL queries by validating those queries and giving them the option to test them with manually selected concepts and save them for future use.

Procedure. Load an Expansion Query

You can load a sample query the Recommender Workbench comes with or any queries you have previously saved.

  1. In the Settings dialog box, on the Expansion tab, select Load query.

    Load-query.png
  2. Select the query.

  3. Confirm with Load.

    load-query2.png
Procedure. Test an Expansion Query

The PoolParty Recommender Workbench supports subject matter experts in constructing their own SPARQL queries by giving them the option to test them with manually selected concepts.

  1. In the Settings dialog box, on the Expansion tab, start typing the concept to be used for testing the expansion query into the search field.

  2. Select the concept from the list of suggestions.

  3. Repeat steps 1 and 2 for as many concepts as you wish.

  4. Click Test.

    test-expansion-query.png

    You can see a list of expanded concepts together with their URIs and concept scores.

Procedure. Save an Expansion Query

You can save an expansion query for future use.

  1. In the Settings dialog box, on the Expansion tab, select Save query.

    save-query.png

    The Save expansion query dialog box opens.

  2. Enter a name and description for the expansion query.

  3. Confirm with Save.

    save-query2.png

    The query has been saved into the application's database.

    Note

    The expansion queries you save are only accessible to you. Other users of the Recommender Workbench cannot see them.

Procedure. Delete an Expansion Query

You can permanently delete any saved expansion query except for the original sample query.

  1. In the Settings dialog box, on the Expansion tab, select Load query.

    Load-query.png
  2. Click the bin icon next to the query you want to delete.

    delete-query.png

    The query is permanently deleted from the application.