Hi Scott,
I just started to have a look on how to implement a new class to handle new triples and I was already figuring out that the risk of screwing up things is quite high!! Even because a custom datastream should be made to be indexed at least on a matter of relationships. I will probably have to find a way around and I will check if your points are feasible in our existing environment.... There is also the opportunity to retrieve what we need by java code!! 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

Reply via email to