REST Interface Description

Get all synonyms for a word

To retrieve all synonyms for a word use the following URL:

http://[server.url]/conceptpower/rest/SynonymSearch?id={URI or ID of concept you want synonyms for}
          

Note: the URI of a concept should be encoded, e.g.:

http://my.server.edu/conceptpower/rest/SynonymSearch?id=http%3A%2F%2Fwww.digitalhps.org%2Fconcepts%2FWID-02084071-N-01-dog
          

This method returns a list of concepts with the following information:

<conceptpowerReply xmlns:digitalHPS="http://www.digitalhps.org/">
    <digitalHPS:conceptEntry>
       <digitalHPS:id 
          concept_id="WID-02084071-N-02-domestic_dog" 				
          concept_uri="http://www.digitalhps.org/concepts/WID-02084071-N-02-domestic_dog">
             http://www.digitalhps.org/concepts/WID-02084071-N-02-domestic_dog
       </digitalHPS:id>
       <digitalHPS:lemma>
           domestic_dog
       </digitalHPS:lemma>
       <digitalHPS:pos>
           NOUN
       </digitalHPS:pos>
       <digitalHPS:description>
           a member of the genus Canis (probably descended from the common wolf) that has 
           been domesticated by man since prehistoric times; occurs in many breeds; 
           "the dog barked all night"
       </digitalHPS:description>
       <digitalHPS:conceptList>
           WordNet
       </digitalHPS:conceptList>
       <digitalHPS:creator_id>mueller</digitalHPS:creator_id>
       <digitalHPS:equal_to>http://viaf.org/viaf/38882290</digitalHPS:equal_to>
       <digitalHPS:modified_by/>
       <digitalHPS:similar_to/>
       <digitalHPS:synonym_ids>
           WID-02084071-N-01-dog,WID-02084071-N-03-Canis_familiaris,
       </digitalHPS:synonym_ids>
       <digitalHPS:type />
       <digitalHPS:deleted>false</digitalHPS:deleted>
       <digitalHPS:wordnet_id>
     	  WID-02084071-N-02-domestic_dog
       </digitalHPS:wordnet_id>
    </digitalHPS:conceptEntry>
    <digitalHPS:conceptEntry>
    	...
    </digitalHPS:conceptEntry>
</conceptpowerReply>