Hi,

I am not sure if it has been already discussed before.

I have a case where I use a custom relation (e.g. <myns:isMyRelationOf 
rdf:resource="info:fedora/test:1"/>) in the RELS-EXT  datastreams of some 
objects (with declaration of custom namespace namespace 
myns=http://www.myproject.org/relationships#). I am not sure how to construct 
an itql query to get objects on that relation.

I have tried the following queries but failed to get results.

select $object $title from <#ri>
where $object <dc:title> $title
and $object <myns:isMyRelationOf> <info:fedora/test:1>

select $object $title from <#ri>
where $object <dc:title> $title
and $object <fedora-rels-ext:isMyRelationOf> <info:fedora/test:1>

select $object $title from <#ri>
where $object <dc:title> $title
and $object <{ http://www.myproject.org/relationships#}:isMyRelationOf> 
<info:fedora/test:1>
(with and without curly braces)

I would appreciate if someone can help me with this.

Thanks,
Yatish


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to