Steve

Thanks.  That's what I was missing...

Stuart Chalk, Ph.D.
Associate Professor of Chemistry
Department of Chemistry, University of North Florida
1 UNF Drive, Jacksonville FL 32224
P: 904-620-1938
F: 904-620-3535
E: sch...@unf.edu
W: http://www.unf.edu/coas/chemistry/

On Mar 19, 2010, at 1:19 PM, Steve Bayliss wrote:

> Does your unf:collection_unfec001 object have dc:title and dc:description?
> If it doesn't then it won't appear in the results.
> 
> Could you post the results of a triple query with your new object as the
> subject to verify this?
> 
> Regards
> Steve
> 
>> -----Original Message-----
>> From: Stuart Chalk [mailto:sch...@unf.edu] 
>> Sent: 19 March 2010 15:51
>> To: fedora-commons-users@lists.sourceforge.net
>> Subject: [Fedora-commons-users] isMemberOf relationship issue
>> 
>> 
>> So, I have an new object that has the following RELS-EXT
>> 
>> <rdf:RDF xmlns:mod="info:fedora/fedora-system:def/model#" 
>> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
>> xmlns:rel="info:fedora/fedora-system:def/relations-external#">
>> <rdf:Description rdf:about="info:fedora/unf:collection_unfec001">
>>   <mod:hasModel 
>> rdf:resource="info:fedora/unf:cmodel_ImageCollection"></mod:hasModel>
>>   <rel:isMemberOf 
>> rdf:resource="info:fedora/demo:SmileyStuff"></rel:isMemberOf>
>>   <rel:isMemberOf 
>> rdf:resource="info:fedora/unf:collection001"></rel:isMemberOf>
>>   <rel:isCollection>true</rel:isCollection>
>> </rdf:Description>
>> </rdf:RDF>
>> 
>> If I do a triples spo query on the resource index like
>> 
>> * <fedora-rels-ext:isMemberOf> <info:fedora/demo:SmileyStuff>
>> 
>> I get back what I expect
>> 
>> <info:fedora/unf:collection_unfec001> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> <info:fedora/demo:SmileyWastebasket> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> <info:fedora/demo:SmileyEarring> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> <info:fedora/demo:SmileyGreetingCard> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> <info:fedora/demo:SmileyToiletBrush> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> <info:fedora/demo:SmileyBeerGlass> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> <info:fedora/demo:SmileyTallRoundCup> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> <info:fedora/demo:SmileyDinnerware> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> <info:fedora/demo:SmileyShortRoundCup> 
>> <info:fedora/fedora-system:def/relations-external#isMemberOf> 
>> <info:fedora/demo:SmileyStuff> .
>> 
>> However, if I do an itql tuples query like
>> 
>> select $collTitle $collDesc $member $memberTitle $memberDesc
>> from   <#ri>
>> where  <info:fedora/demo:SmileyStuff> <dc:title>              
>>    $collTitle
>> and    <info:fedora/demo:SmileyStuff> <dc:description>        
>>    $collDesc
>> and    $member                        
>> <fedora-rels-ext:isMemberOf> <info:fedora/demo:SmileyStuff>
>> and    $member                        <dc:title>              
>>    $memberTitle
>> and    $member                        <dc:description>        
>>    $memberDesc
>> 
>> I get
>> 
>> "collTitle","collDesc","member","memberTitle","memberDesc"
>> Collection of Smiley Stuff,This is Deb's collection of smiley 
>> stuff.,info:fedora/demo:SmileyWastebasket,Smiley 
>> Wastebasket,You can throw your trash in this.  Don't forget 
>> to recycle!
>> Collection of Smiley Stuff,This is Deb's collection of smiley 
>> stuff.,info:fedora/demo:SmileyEarring,Smiley Earring,Smiling 
>> from ear to ear.
>> Collection of Smiley Stuff,This is Deb's collection of smiley 
>> stuff.,info:fedora/demo:SmileyGreetingCard,Smiley Greeting 
>> Card,Great for people who still use snail mail.
>> Collection of Smiley Stuff,This is Deb's collection of smiley 
>> stuff.,info:fedora/demo:SmileyToiletBrush,Smiley Toilet 
>> Brush,At least one of you will be smiling while you put this 
>> item to use.
>> Collection of Smiley Stuff,This is Deb's collection of smiley 
>> stuff.,info:fedora/demo:SmileyBeerGlass,Smiley Beer Glass,"I 
>> guess you could drink other things out of it, but I haven't tried."
>> Collection of Smiley Stuff,This is Deb's collection of smiley 
>> stuff.,info:fedora/demo:SmileyTallRoundCup,Smiley Tall Round 
>> Cup,"This cup measures ten inches high (when standing).  When 
>> it's on it's side, it measures ten inches wide."
>> Collection of Smiley Stuff,This is Deb's collection of smiley 
>> stuff.,info:fedora/demo:SmileyDinnerware,Smiley 
>> Dinnerware,"Made from 100% pure paper and plastic, this 
>> dinnerware is sure to impress your kids."
>> Collection of Smiley Stuff,This is Deb's collection of smiley 
>> stuff.,info:fedora/demo:SmileyShortRoundCup,Smiley Short 
>> Round Cup,It's round.  It's a cup.  It's amazing!
>> 
>> Should I not get the unf:collection_unfec001 one as well?  If 
>> not what am I doing wrong?
>> 
>> Stuart Chalk, Ph.D.
>> Associate Professor of Chemistry
>> Department of Chemistry
>> University of North Florida
>> 1 UNF Drive
>> Jacksonville, FL 32224 USA
>> P: 904-620-1938
>> F: 904-620-3535
>> E: sch...@unf.edu
>> W: http://www.unf.edu/coas/chemistry/
>> 
>> 
>> 
>> 
>> --------------------------------------------------------------
>> ----------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Fedora-commons-users mailing list
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>> 
> 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to