Better show the output then expain.
Here is how a document with entity of type url and action with that url looks like:
(showing only the entity and the relation)
[http://d.opencalais.com/genericHasher-1/6e593c74-0e8f-3c1a-bd68-fcf86f95273d] => Array
(
[_typeGroup] => entities
[_type] => URL
[name] => www.reliefrun.com
[_typeReference] => http://s.opencalais.com/1/type/em/e/URL
[instances] => Array
(
[0] => Array
(
[detection] => [ you’d like to participate, visit the website at ]www.reliefrun.com[ for more details and to RSVP.]
[prefix] => you’d like to participate, visit the website at
[exact] => www.reliefrun.com
[suffix] => for more details and to RSVP.
[offset] => 1274
[length] => 17
)
)
[relevance] => 0.107
)
[http://d.opencalais.com/genericHasher-1/8af26685-05cb-379a-9c3c-76091bd1e9cf] => Array
(
[_typeGroup] => relations
[_type] => ContactDetails
[contacttype] => Contact
[_typeReference] => http://s.opencalais.com/1/type/em/r/ContactDetails
[url] => www.reliefrun.com
[instances] => Array
(
[0] => Array
(
[detection] => [ you’d like to participate, visit the website at ]www.reliefrun.com[ for more details and to RSVP.]
[prefix] => you’d like to participate, visit the website at
[exact] => www.reliefrun.com
[suffix] => for more details and to RSVP.
[offset] => 1274
[length] => 17
)
)
)
The relation should give up the calais id - http://d.opencalais.com/genericHasher-1/6e593c74-0e8f-3c1a-bd68-fcf86f95273d
But it shows the url value - www.reliefrun.com
So the relation should look like:
[http://d.opencalais.com/genericHasher-1/8af26685-05cb-379a-9c3c-76091bd1e9cf] => Array
(
[_typeGroup] => relations
[_type] => ContactDetails
[contacttype] => Contact
[_typeReference] => http://s.opencalais.com/1/type/em/r/ContactDetails
[url] => http://d.opencalais.com/genericHasher-1/6e593c74-0e8f-3c1a-bd68-fcf86f95273d
[instances] => Array
(
[0] => Array
(
blah blah
)
)
)
All of the relations with entity of type URL in them come like this.
Better show the output then expain.
Here is how a document with entity of type url and action with that url looks like:
(showing only the entity and the relation)
[http://d.opencalais.com/genericHasher-1/6e593c74-0e8f-3c1a-bd68-fcf86f95273d] => Array
(
[_typeGroup] => entities
[_type] => URL
[name] => www.reliefrun.com
[_typeReference] => http://s.opencalais.com/1/type/em/e/URL
[instances] => Array
(
[0] => Array
(
[detection] => [ you’d like to participate, visit the website at ]www.reliefrun.com[ for more details and to RSVP.]
[prefix] => you’d like to participate, visit the website at
[exact] => www.reliefrun.com
[suffix] => for more details and to RSVP.
[offset] => 1274
[length] => 17
)
)
[relevance] => 0.107
)
[http://d.opencalais.com/genericHasher-1/8af26685-05cb-379a-9c3c-76091bd1e9cf] => Array
(
[_typeGroup] => relations
[_type] => ContactDetails
[contacttype] => Contact
[_typeReference] => http://s.opencalais.com/1/type/em/r/ContactDetails
[url] => www.reliefrun.com
[instances] => Array
(
[0] => Array
(
[detection] => [ you’d like to participate, visit the website at ]www.reliefrun.com[ for more details and to RSVP.]
[prefix] => you’d like to participate, visit the website at
[exact] => www.reliefrun.com
[suffix] => for more details and to RSVP.
[offset] => 1274
[length] => 17
)
)
)
The relation should give up the calais id - http://d.opencalais.com/genericHasher-1/6e593c74-0e8f-3c1a-bd68-fcf86f95273d
But it shows the url value - www.reliefrun.com
So the relation should look like:
[http://d.opencalais.com/genericHasher-1/8af26685-05cb-379a-9c3c-76091bd1e9cf] => Array
(
[_typeGroup] => relations
[_type] => ContactDetails
[contacttype] => Contact
[_typeReference] => http://s.opencalais.com/1/type/em/r/ContactDetails
[url] => http://d.opencalais.com/genericHasher-1/6e593c74-0e8f-3c1a-bd68-fcf86f95273d
[instances] => Array
(
[0] => Array
(
blah blah
)
)
)
All of the relations with entity of type URL in them come like this.
Trackback URL for this post: