REST Interface Description

Retrieve Concept by ID

To retrieve a concept by its URI or ID use the following URL:

http://[server.url]/conceptpower/rest/Concept?id={URI or ID of concept}
          

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

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

This method returns the following information:

<conceptpowerReply xmlns:digitalHPS="http://www.digitalhps.org/">
    <digitalHPS:conceptEntry>
       <digitalHPS:id 
          concept_id="CON273fb179-b256-4401-b094-614a5e215692" 
          concept_uri="http://www.digitalhps.org/concepts/CON273fb179-b256-4401-b094-614a5e215692">
              http://www.digitalhps.org/concepts/CON273fb179-b256-4401-b094-614a5e215692
       </digitalHPS:id>
       <digitalHPS:lemma>
           Adolf Ziegler
       </digitalHPS:lemma>
       <digitalHPS:pos>
           NOUN
       </digitalHPS:pos>
       <digitalHPS:description>
           German embryo modeler in late 19th century
       </digitalHPS:description>
       <digitalHPS:conceptList>
           Persons
       </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/>
       <digitalHPS:type 
                 type_id="986a7cc9-c0c1-4720-b344-853f08c136ab" 
                 type_uri="http://www.digitalhps.org/types/TYPE_986a7cc9-c0c1-4720-b344-853f08c136ab">
           E21 Person
       </digitalHPS:type>
       <digitalHPS:deleted>false</digitalHPS:deleted>
       <digitalHPS:wordnet_id/>
    </digitalHPS:conceptEntry>
</conceptpowerReply>