Support for multiple predicate types
minimalismore - December 5, 2008 - 20:39
| Project: | Relations API |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Arto |
| Status: | postponed |
Jump to:
Description
Installed rdf-6.x-1.0-alpha3.tar.gz and relations-6.x-1.0-alpha1.tar.gz together with arc2 version 20-11-18. Clicked the relations-tab on a newly created node, and received : Fatal error: Call to undefined function rdf_uri() in relations.module on line 136
Grepped for rdf_uri, but could only find function rdf_uriref in rdf.api.inc. replaced all instances of rdf_uri in relations.module, and it sessm to work.
Is this the right function to call then?

#1
Sorry for messing up the issue message. The initial bug report somehow became a feature request after I added this feature request wrongly as a comment to it. Filed a bug report for the bug.
For the issue request:
I am wondering if there are any future plans of making it possible to add predicates / typed associations instead of just having the rdfs:seeAlso predicate hard coded in the module?
#2
I couldn't actually get the module to store relations but it does seem kind of limited to only have one predicate.
#3
(The bug alluded to is in #343378: Fatal error: Call to undefined function rdf_uri() and no longer occurs with recent versions of the relevant modules.)
Rolf, Andrew: there do exist future plans for multiple predicate types, yes - which is why the
admin/settings/rdf/relationsscreen shows the "Relationship types" table.However, there's no ETA since we presently just need the one basic bidirectional relationship in the project that this module was developed for. So, this is scope creep until such a time that we need the feature ourselves or until someone submits a patch or sponsors the feature.