Query Manipulation Server 25.4
Query Manipulation Server Help

# Example Hyponym Rule

The following rule changes any query for the term dog to include the names of different breeds of dog, but removes the term dog.

    #DREREFERENCE 695120425336110405
    #DRETITLE dog hyponyms
    #DREDBNAME ACTIVATED
    #DREFIELD QMSTYPE="4"
    #DREFIELD QMSAGENTBOOL="dog"
    #DREFIELD KEYWORDS="dog"
    #DREFIELD CONCEPT="SYNONYM(poodle "golden retriever" hound boxer labrador terrier spaniel alsatian chihuahua bloodhound collie)"
    #DREFIELD DATABASERESTRICTION=""
    #DRECONTENT
    dog
    #DREENDDOC

This hyponym rule expands the following query:

    action=Query&Text=dog&ExpandQuery=True

to:

    action=Query&Text=SYNONYM(poodle "golden retriever" hound boxer labrador terrier spaniel alsatian chihuahua bloodhound collie)

Related Topics

- Create Synonym Rules

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Query Manipulation Server 25.4

Topic Title: Example Hyponym Rule