Re: Configuration Issue

From: Ryan Lee <>
Date: Wed, 15 Jun 2005 18:59:24 -0400

John Bresnik wrote:
> Hello,
> I've trying to configure Longwell to view my own data [not as a bundle
> but by putting it in the WEB-INF/data directory and updating the
> config.n3 file] - I don't seem to be getting anything though - here's my
> log:

Hi John,

Your data needs to have an rdf:type for each resource. One of the
foundational assumptions of Longwell is that input RDF data is typed. I
would modify it as follows:

> -----------------------------
> Here's the RDF:

<?xml version="1.0"?>

  <test:Source rdf:about="http://test/TEST#TestInstance">
   <test:hasCriteria rdf:resource="http://test/TEST#TestCriteria"/>
   <dc:title>This is a test of the config file</dc:title>
    <foaf:Person rdf:about="http://test/TEST#MrTTest">
     <foaf:name>Mr T Test</foaf:name>
     <foaf:phone rdf:resource="tel:(703) 621-1421"/>
   <test:location rdf:resource=""/>
   <!-- see note below
     <test:isDraft />


I'm not sure which class you intended test:TestInstance to be, so I
randomly picked one out of your config.

I commented out test:isDraft because it should be the predicate part of
a triple. If you mean to say that test:TestInstance is a draft,
consider remodelling your vocabulary to something like
'test:TestInstance test:status test:Draft.'

As for the configuration you've set up:

> :fccc disp:displayProperties (
> foaf:name
> dc:title
> test:location
> test:poc
> foaf:name
> foaf:givenname
> foaf:family_name
> foaf:phone
> ) .
> :fccc disp:displayFacets (
> rdf:type
> test:hasCriteria
> test:hasReference
> test:poc
> ) .
> :fccc disp:displayClasses (
> test:Source
> test:Reference
> test:TestCriteria
> test:poc
> ) .

test:poc should really only be in one of these lists. It's not a class
and it seems more suited to be a facet than just a displayed property,
so I suggest leaving it only in the disp:displayFacets list.

> Should I use a bundle instead? Any help would be much appreciated..

You could make your own bundle so you can just type './ webapp
-Dbundle={your bundle name}' at the command line instead of manually
shifting around files. It's a convenience but not a requirement.

> Thanks,
> brez

Please let us know if you have any more questions.

Ryan Lee       
W3C Research Engineer    +1.617.253.5327
Received on Wed Jun 15 2005 - 22:57:22 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT