Mutual/reciprocal reference? (links between nodes)

no2e - April 5, 2009 - 22:38
Project:RDF CCK
Version:6.x-2.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

((I don't remember the correct term ... I saw it in Protege (ontology editor) ... it was not "mutual" nor "reciprocal"))

Will it be possible with RDF CCK, to create reciprocal/mutual/... links between nodes, that are visible for visitors, too? (as usual HTML a href)?

Example

I've got a content type "director" and a content type "movie". I create/use the property "has_created". And I set the counterpart (mutual/reciprocal/...) to "is_by". So I get the abstract triples:

  • [director] - [has_created] - [movie]
  • [movie] - [is_by] - [director]

I create the director node "Stanley Kubrick" and the movie node "2001: A Space Odyssey".

Now I use the triple [director] - [has_created] - [movie] to create "[Stanley Kubrick] created [2001: A Space Odyssey]" (this happens automatically with RDF CCK, I think - maybe via CCKs node reference).
Now, this relation should be displayed at Stanley Kubricks node (as link for visitors) like: Has created: "2001: A Space Odyssey".

And at the movie node, it should be displayed (again as link) like: Is by: "Stanley Kubrick" automatically.

And if a director has created several movies, all these movies should be formatted in a list automatically.

Is this possible / planned?

NodeReferrer

NodeReferrer tries something similar, but the problem with nodereferrer is, that it does matter, which node created the relation. This becomes a problem if you use an associative relation, for example "looks_like".

"A looks_like B" --> "B looks_like A". But NodeReferrer creates two(!) fields for this relation at each node, if you don't strictly create this relations only from content type A to content type B (and not one time from B to A).

(( did I worded it coherent enough? sorry, I'm no native speaker, as you might have guessed ;-] ))

#1

no2e - April 11, 2009 - 20:34

(Inverse is the term I was searching for.)

#2

arvindgupta - April 29, 2009 - 11:45
Project:RDF CCK» Bbcode
Version:6.x-2.x-dev» HEAD
Assigned to:Anonymous» arvindgupta

hello

#3

no2e - April 29, 2009 - 18:27
Project:Bbcode» RDF CCK
Version:HEAD» 6.x-2.x-dev
Assigned to:arvindgupta» Anonymous

arvindgupta: misunderstanding, bot, spam, ... ?

#4

drewish - May 15, 2009 - 06:25

subscribing. i'm hoping to do something similar with this module.

#5

gavranha - July 4, 2009 - 22:22

subscribing, too, as drewish.

 
 

Drupal is a registered trademark of Dries Buytaert.