Hi, Enrico --

Yes, the approach you suggest below (get the object ID from an itql 
query, then retrieve and parse the MODS datastream with some other tool) 
is one that we use fairly successfully here in a number of different 
applications.

-- Scott

On 09/25/2012 08:59 AM, Enrico Anello wrote:
> If from an ITQL
> query I can get the object ID of where the data I am looking for is
> stored then would be a matter of retrieve the MODS DS of that object and
> write the proper xpath against....
>
> Best,
> Enrico Anello
> Food and Agriculture Organization of the United Nations
> Via Delle Terme di Caracalla, 1 - 00100 Rome (Italy)
>
>
>
> On 09/25/2012 03:40 PM, Scott Prater wrote:
>> Hello, Enrico --
>>
>> It might be helpful to know a little bit more about what you're trying
>> to do.  Generally speaking, using the resource index and itql to index
>> and search XML datastreams is a bit like using a screwdriver to hammer a
>> nail. The resource index is designed to store RDF triples, not large XML
>> documents.
>>
>> A couple of alternative approaches:
>>
>> 1)  use gSearch to to index and search your MODS datastreams;
>>
>> 2)  if it's just certain small bits of info you'd like to retrieve
>> quickly, you may want to put them in the DC, RELS-EXT, or RELS-INT
>> datatstreams, as DC elements of rdf-xml triples.  This implies
>> duplication of data, but the benefits may outweigh the drawbacks.
>>
>> -- Scott
>>
>> On 09/25/2012 08:14 AM, Enrico Anello wrote:
>>> This looks great. I will have a look straight forward!!!
>>> Thank you very much for the help!!
>>>
>>> Enrico Anello
>>> Food and Agriculture Organization of the United Nations
>>> Via Delle Terme di Caracalla, 1 - 00100 Rome (Italy)
>>>
>>>
>>> On 09/25/2012 03:10 PM,aj...@virginia.edu  wrote:
>>>> There is the ability to deal with triple generation via content models or 
>>>> directly. See here:
>>>>
>>>> https://wiki.duraspace.org/display/FEDORA36/Spring+Configuration#SpringConfiguration-TripleGenerator%283.5%29
>>>>
>>>> for info on that.
>>>>
>>>> The actual Java interface to be fulfilled is in 
>>>> org.fcrepo.server.resourceIndex.TripleGenerator and there is a helper 
>>>> class org.fcrepo.server.resourceIndex.TripleGeneratorBase with some 
>>>> utility methods. To configure the triple generators in use for a 
>>>> repository you use a Spring file typically found in: 
>>>> $YOUR_FEDORA_HOME/server/config/spring/triple-generator.xml. See 
>>>> org.fcrepo.server.resourceIndex.UvaStdImgTripleGenerator for an example.
>>>>
>>>> ---
>>>> A. Soroka
>>>> Software&   Systems Engineering :: Online Library Environment
>>>> the University of Virginia Library
>>>>
>>>> On Sep 25, 2012, at 8:29 AM, Enrico Anello wrote:
>>>>
>>>>> Yes, I can write some Java code for the purpose but I really don't know 
>>>>> where to start. Do you have some online documentation about this?
>>>>>
>>>>> Enrico Anello
>>>>> Food and Agriculture Organization of the United Nations
>>>>> Via Delle Terme di Caracalla, 1 - 00100 Rome (Italy)
>>>>>
>>>>> On 09/25/2012 02:25 PM,aj...@virginia.edu   wrote:
>>>>>> Are you in a position to write some Java code for the purpose?
>>>>>>
>>>>>> It is possible to insert your own custom-built triple extractors into 
>>>>>> Fedora's workflow for generating RDF in the RI, but it is normally done 
>>>>>> in Java.
>>>>>>
>>>>>> ---
>>>>>> A. Soroka
>>>>>> Software&   Systems Engineering :: Online Library Environment
>>>>>> the University of Virginia Library
>>>>>>
>>>>>> On Sep 25, 2012, at 8:22 AM, Enrico Anello wrote:
>>>>>>
>>>>>>
>>>>>>> Dear all,
>>>>>>> I have to modify an ITQL query to retrieve some informations from the 
>>>>>>> MODS datastream but as default it does not look possible because 
>>>>>>> risearch looks just on the Dublin Core and RELS-EXT.
>>>>>>> As far as you know is there any way to get an information of an object 
>>>>>>> which is generally outside the DC and RELS-EXT datastreams?
>>>>>>>
>>>>>>> Thank you and Best Regards
>>>>>>> Enrico Anello
>>>>>>> Food and Agriculture Organization of the United Nations
>>>>>>> Via Delle Terme di Caracalla, 1 - 00100 Rome (Italy)
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Live Security Virtual Conference
>>>>>>> Exclusive live event will cover all the ways today's security and
>>>>>>> threat landscape has changed and how IT managers can respond. 
>>>>>>> Discussions
>>>>>>> will include endpoint security, mobile security and the latest in 
>>>>>>> malware
>>>>>>> threats.
>>>>>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
>>>>>>>
>>>>>>> Fedora-commons-users mailing list
>>>>>>>
>>>>>>> Fedora-commons-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>>>> ------------------------------------------------------------------------------
>>>>>> Live Security Virtual Conference
>>>>>> Exclusive live event will cover all the ways today's security and
>>>>>> threat landscape has changed and how IT managers can respond. Discussions
>>>>>> will include endpoint security, mobile security and the latest in malware
>>>>>> threats.
>>>>>> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>>>>
>>>>>> _______________________________________________
>>>>>> Fedora-commons-users mailing list
>>>>>>
>>>>>> Fedora-commons-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>>> ------------------------------------------------------------------------------
>>>>> Live Security Virtual Conference
>>>>> Exclusive live event will cover all the ways today's security and
>>>>> threat landscape has changed and how IT managers can respond. Discussions
>>>>> will include endpoint security, mobile security and the latest in malware
>>>>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
>>>>> Fedora-commons-users mailing list
>>>>> Fedora-commons-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>> ------------------------------------------------------------------------------
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond. Discussions
>>>> will include endpoint security, mobile security and the latest in malware
>>>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> _______________________________________________
>>>> Fedora-commons-users mailing list
>>>> Fedora-commons-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>
>>>
>>>
>>> _______________________________________________
>>> Fedora-commons-users mailing list
>>> Fedora-commons-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


-- 
Scott Prater
Shared Development Group
General Library System
University of Wisconsin - Madison
pra...@wisc.edu
5-5415

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to