Hi Ryan,
thank you for trying to answer this, although the data was missing. All
files related to this problem can be found here:
http://www.polowinski.de/downloads/fresnelProblem/


> In combination with excerpt of your Fresnel config below, it appears 
> you're using the same URI for both the resource you want Fresnel to act 
> on and the type of the resources your lens is supposed to match.

> That is, your eventLens will match anything that has rdf:type
> hist:Event, not the actual resource hist:Event (if you wanted to do
> that, you would need a domain matching an instance).  Without access to
> your data, my best guess would be that you should change the resource to
> some other URI and assign it rdf:type hist:Event.

It seems I got it wrong how the select method works. I think things 
become least confusing, if I just explain what I tried to achieve:

My fresnel configuration file describes lenses for hist:Events and 
mid:Persons. If I call the select method without any parameters, the 
result is a fresnel result tree with the events as resources. There are 
no person resources (at the top level) in it.

If I'm stating, that the hist:hasInvolvedPersons property has to be 
displayed with the personLabelLens as a sublens, everything's fine. 
However I don't know what to do, if I want to display it the other way 
round. If I want to display mid:Persons with hist:Events as sublenses.

As soon as an event lens is defined I get only event-resources in my 
out.xml.

I thought the solution would be to call select with the uri of 
mid:Person as Resource to achieve this, but I understood now, that this 
method is only for selecting a single resource, not all resources with 
this rdf:type.

So how can I limit the resources in the output to a special rdf:type?


One more small question: The result tree contains no style information 
from the personGr such as class="person-resource" formats. Why is that? 
What am I doing wrong?

Thank you again for your patience! Isn't there a working example 
somewhere that uses select(Repository ..., Resource ...)?

Jan





_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to