yes please, my old script was returning generic relationships but now, they are not supported i think. Another question please: what are main change in new version? it's not clear at all in documentation. I can not found functions that i have to use. In pdf documentations there is not functions or how to use them!!!! where can i find that?
Please review the following document and let us know if you still have questions.
In this document you can see difference in sample output between legacy and new...
Sneak preview :)
The new Open Calais provides the following metadata enhancements:
For Premium users :)
The following additional metadata types are available upon subscription to Thomson Reuters Intelligent Tagging (TRIT):
Functionality that is no longer available in the new OpenCalais:
The old links to company data that were included in the legacy Open Calais output are no longer supported. For the convenience of legacy Open Calais users, a new attribute, legacyid, has been temporarily added to the er/company and er/TopmostPublicParentCompany disambiguation tags. The purpose of the legacyid attribute is to enable you to map the old links, which are no longer supported, to the corresponding new links. The attribute value is the link to the company as it would have been displayed in the legacy Open Calais output. An example of an old company link in the legacy Open Calais er/company tag (RDF output):
The company link and the legacyid attribute as they appear in the new Open Calais er/company tag (RDF output):
<rdf:Description rdf:about="http://d.opencalais.com/er/company/ralg-oa/5000608903"> <rdf:type rdf:resource="http://s.opencalais.com/1/type/er/Company"/> <c:docId rdf:resource="http://d.opencalais.com/dochash-1/7586b818-40af-3d55-ac16-bf3520cddfa6"/> <c:permid>4295905573</c:permid> <c:score>0.9928677</c:score> <c:legacyid rdf:resource="http://d.opencalais.com/er/company/ralg-tr1r/39d9a86f-6241-3688-b05b-4595eeaba2d1"/> <!--Apple--> <c:subject rdf:resource="http://d.opencalais.com/comphash-1/705cd5cf-93e1-323c-8d4e-1ea3200d37e4"/> <c:name>Apple Inc</c:name> <c:commonname>Apple</c:commonname> <c:ticker>AAPL</c:ticker> <c:primaryric>AAPL.OQ</c:primaryric> <c:openpermid rdf:resource="https://permid.org/1-4295905573"/> </rdf:Description>
The company link and the legacyid attribute as they appear in the new Open Calais er/company tag (N3 output):
<http://d.opencalais.com/er/company/ralg-oa/5000608903> a <http://s.opencalais.com/1/type/er/Company> ; c:commonname "Apple" ; c:docId <http://d.opencalais.com/dochash-1/268b4e49-098d-389d-9d76-816cb722a630> ; c:legacyid < http://d.opencalais.com/er/company/ralg-tr1r/39d9a86f-6241-3688-b05b-4595eeaba2d1> ; c:name "Apple Inc" ; c:openpermid <https://permid.org/1-4295905573> ; c:permid "4295905573" ; c:primaryric "AAPL.OQ" ; c:score "0.9928677" ; c:subject <http://d.opencalais.com/comphash-1/705cd5cf-93e1-323c-8d4e-1ea3200d37e4> ; c:ticker "AAPL"
Note that this attribute is not relevant to the JSON output format. Thomson