Hello everybody,

I'm having a little problem trying to force the label
of resources in Longwell's facets.

Here is what I do :

I load several RDF files with Longwell. Those RDF
files contain several references to the same resource.

For example : 

a.rdf :
-------
<rdf:Description rdf:about="http://www.pwc.com/";>
 <rdfs:label>PWC</rdfs:label>
</rdf:Description>

b.rdf :
-------
<rdf:Description rdf:about="http://www.pwc.com/";>
 <rdfs:label>Pricewaterhouse</rdfs:label>
</rdf:Description>

c.rdf :
-------
<rdf:Description rdf:about="http://www.pwc.com/";>
 <rdfs:label>PricewaterhouseCoopers</rdfs:label>
</rdf:Description>

In Longwell I'd rather have the resource www.pwc.com
labeled as PricewaterhouseCoopers than PWC.
So how can I force this?

What I thought is that Longwell labels the resources
with the first or last rdfs:labels statement it reads.
So, I changed the code in LongwellUtilities.java to
force Longwell to read a first.rdf and last.rdf files
containing : 
<rdf:Description rdf:about="http://www.pwc.com/";>
 <rdfs:label>PricewaterhouseCoopers</rdfs:label>
</rdf:Description>

But it did not work... and I'm running out of ideas as
I have no idea how Longwell works internally.

I really hope its quite understandable (in english)
and you guys will be able to help me.

Many thanks ;-)

Fred


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

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

Reply via email to