question

Upvotes
Accepted
3 1 1 2

How to go from rdf:resource URL to displaying value?

So this is probably trivial (sorry) but using the API I'm getting back a company_acquirer value, but rather than it being the actual company name (e.g., Panasonic), it is a comphash URL (i.e., http://d.opencalais.com/comphash-1/1f4f00b7-6be7-3364-bd3e-2eb8bb58017a)
So my question is simply, how do I display the name Panasonic and not the comphash URL?
apiintelligent-tagging-apiintelligent-taggingopen-calais-apisemantic-metadata-taggingcompanyurl
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@CLFHelpDesk@thomsonreuters.com

Hello, can you help with this question?

Ask Expert request sent to @Eran S.

I have sent an email to CLFHelpDesk@thomsonreuters.com team to answer this question.

Contacted Eran S., Eyal K., Savva K., and sent email to CLFHelpDesk@thomsonreuters.com to help with the question.

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks, AHS

Show more comments

1 Answer

· Write an Answer
Upvotes
Accepted
101 1 0 1

I am using a snippet of an RDF here:

<rdf:Description rdf:about="http://d.opencalais.com/comphash-1/f5c95fec-d58d-3193-92af-c10011b7a72c">
        <rdf:type rdf:resource="http://s.opencalais.com/1/type/em/e/Company"/>
        <c:forenduserdisplay>false</c:forenduserdisplay>
        <c:name>Thomson Reuters</c:name>
        <c:nationality>N/A</c:nationality>
        <c:confidencelevel>0.931</c:confidencelevel>
    </rdf:Description>

You should notice that the "Description" element contains attributes such as "Type" which state the element of type COMPANY. Another attribute, "name" holds the name of the company in this example Thomson Reuters.

Please provide an example of usage so we can help you further.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.