Hi Serhiy, you should add:
and $object <info:fedora/fedora-system:def/relations-external#isMemberOfCollection> <info:fedora/capr:collection-01.NSF> ciao, Matteo On 30 Jun, 2011, at 12:45 AM, Serhiy Polyakov wrote: > Thanks Matteo! > > I was able to retrieve values from DC. I have another value I want to > retrieve -- member of collection value. It is in RELS-EXT data stream. > In the snippet below value is "capr:collection-01.NSF". Any help with > constructing iTQL would be appreciated. > > Thanks, > Serhiy > -------------- > ... > <foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" > VERSIONABLE="true"> > <foxml:datastreamVersion ID="RELS-EXT.0" LABEL="RDF Statements about > this Object" CREATED="2010-07-14T16:54:32.616Z" > MIMETYPE="application/rdf+xml" > FORMAT_URI="info:fedora/fedora-system:FedoraRELSExt-1.0" SIZE="679"> > <foxml:xmlContent> > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" > xmlns:fedora="info:fedora/fedora-system:def/relations-external#" > xmlns:dc="http://purl.org/dc/elements/1.1/" > xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" > xmlns:fedora-model="info:fedora/fedora-system:def/model#"> > <rdf:description rdf:about="info:fedora/capr:1011"> > <fedora:isMemberOfCollection > rdf:resource="info:fedora/capr:collection-01.NSF"></fedora:isMemberOfCollection> > <fedora-model:hasModel > rdf:resource="info:fedora/capr:strict_pdf"></fedora-model:hasModel> > </rdf:description> > </rdf:RDF> > </foxml:xmlContent> > </foxml:datastreamVersion> > </foxml:datastream> > ... > -------------- > > > > > On Tue, Jun 28, 2011 at 2:10 AM, Matteo Bertazzo <m.berta...@cineca.it> wrote: >> Hi Serhiy, >> >> you could launch a itql query on the Resource Index (TSV response) >> selecting all the DC elements you need and narrowing the result, something >> like: >> >> select $object $title $subject ... >> from <#ri> >> where >> $object <dc:title> $title and >> $object <dc:subject> $subject >> ... >> >> ciao, >> Matteo >> >> On 27 Jun, 2011, at 8:53 PM, Serhiy Polyakov wrote: >> >>> Hello, >>> >>> I want to extract all metadata fields from all objects stored in >>> fedora into a text file. I want to have each object in one line with >>> tab delimited field values. I use only DC schema. >>> I would appreciate any ideas about how to start. >>> >>> Thanks, >>> Serhiy >>> >>> ------------------------------------------------------------------------------ >>> All of the data generated in your IT infrastructure is seriously valuable. >>> Why? It contains a definitive record of application performance, security >>> threats, fraudulent activity, and more. Splunk takes this data and makes >>> sense of it. IT sense. And common sense. >>> http://p.sf.net/sfu/splunk-d2d-c2 >>> _______________________________________________ >>> Fedora-commons-users mailing list >>> Fedora-commons-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users >> >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Fedora-commons-users mailing list >> Fedora-commons-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users >> > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ___________________________________________ Matteo Bertazzo, PMPĀ® CINECA (www.cineca.it) InterUniversity Computer Center Via Magnanelli, 6/3 I-40033 Casalecchio di Reno (Bologna) Italy e-mail: m.berta...@cineca.it ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users