Hi Jan,

It may be more helpful if you could consider posting some of these 
things on the web and including links.  Particularly with Fresnel, where 
there's code, configurations, and data to consider, it's a bit easier 
for the rest of us to understand when we can see what you see.

Some thoughts follow inline.

Jan Polowinski wrote:
> So I'm trying to get the resources that I want by calling the select
> function with a Resource and a Group:
> 
> ****************************************************************************
> // generate output Document                   
>                       Selection selected = conf.select(
>                                       dataRepo,
>                                       new
> URIImpl("http://www.polowinski.de/ontologies/History.owl#Event";),

[snip]

> edu.mit.simile.fresnel.configuration.NoResultsException: No results from
> selection: No lenses matching the data could be found.

[snip]

> The Resource has the uri
> "http://www.polowinski.de/ontologies/History.owl#Event";

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.

You may want to post your sample data somewhere for us to look at.  If 
you have questions in the future, remember that it's rather difficult 
for someone else to evalute a Fresnel config without knowing what you're 
applying it to :)

> The Group has the Resource_identifier with uri
> "file:///C:/EigeneDateien2/Projekte/FresnelSubversionProject/data/testJan/fr
> esnel.n3#eventGr" (is it okay, to have a file reference here?)

As long as it's a URI it doesn't matter.

> Here is my fresnel configuration file: 
> # Default Event Lens                  
> :eventLens rdf:type fresnel:Lens ;
>       fresnel:purpose fresnel:defaultLens ;
>       fresnel:classLensDomain hist:Event ;

-- 
Ryan Lee                  [EMAIL PROTECTED]
MIT CSAIL Research Staff  http://simile.mit.edu/
http://people.csail.mit.edu/ryanlee/
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to