Mutual/reciprocal reference? (links between nodes)
| Project: | RDF CCK |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
((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
(Inverse is the term I was searching for.)
#2
hello
#3
arvindgupta: misunderstanding, bot, spam, ... ?
#4
subscribing. i'm hoping to do something similar with this module.
#5
subscribing, too, as drewish.