# 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 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm