hubz / j-calais

Automatically exported from code.google.com/p/j-calais
Apache License 2.0
0 stars 0 forks source link

RDF relationship extraction #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have run j-calais api to extract relationship information from text. For 
entities and social tags I am able to get information correctly but for 
relations I am not able to get information in correct format. 

Relationship Example: 
In the following example person,position and country comes as URL, is there a 
way to extract value of person from this URL.

typeGroup : relations
_type : PersonCareer
careertype : political
status : past

person : http://d.opencalais.com/pershash-1/f12f7d01-e85f-3a0b-8d67-5705d72ce296
position : 
http://d.opencalais.com/genericHasher-1/0d87e8a5-fb41-33c9-a1fb-bedf134b384e
country : 
http://d.opencalais.com/genericHasher-1/58443e1a-67cb-34ab-87e3-986eaa86077d

Original issue reported on code.google.com by ajay...@gmail.com on 4 Sep 2011 at 7:29

GoogleCodeExporter commented 9 years ago
Hi, 

Sorry for the delay, I will try to review this issue during the week. It seems 
that the Open Calais API has a lot of enhancements since we first implemented 
this library.

Original comment by elmer.garduno@gmail.com on 18 Sep 2011 at 3:30

GoogleCodeExporter commented 9 years ago

Original comment by elmer.garduno@gmail.com on 18 Sep 2011 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by elmer.garduno@gmail.com on 18 Sep 2011 at 3:32

GoogleCodeExporter commented 9 years ago
Hi,
Any update on this ? Also When I tried with large input like more than 5000 
characters analyze method throws exception of invalid or empty string so is 
there any limit on string size ?

Original comment by ajay...@gmail.com on 23 Sep 2011 at 5:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Regarding the entities, the URIs will uniquely identify each entity

http://d.opencalais.com/pershash-1/f12f7d01-e85f-3a0b-8d67-5705d72ce296 : 
Charles Taylor

The documentation is here:

http://www.opencalais.com/documentation/calais-linked-data

If you have some time to implement it, I'll be really glad. 

Here is some additional information:

http://www.opencalais.com/documentation/calais-linked-data/linkfaq

Original comment by elmer.garduno@gmail.com on 23 Sep 2011 at 6:17

GoogleCodeExporter commented 9 years ago
Yes, there is a limit on the number of characters.

int MAX_CONTENT_SIZE = 100000;

But you are far from that, do you mind on pasting the example here, or send it 
by mail if you want so I can have a look.

Original comment by elmer.garduno@gmail.com on 23 Sep 2011 at 6:18

GoogleCodeExporter commented 9 years ago
I had looked at the faq links which you attached in the mail but those
explain how can I see URIs but I couldn't get any example where I can
get entities information through API.
http://www.opencalais.com/documentation/linked-data-RDF has some hint
but example would have been nice.
 I will send data in email. Let me know which email id should i send ?

Original comment by ajay...@gmail.com on 23 Sep 2011 at 7:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by elmer.garduno@gmail.com on 27 Feb 2012 at 6:21