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:
-----------LOG------------------
INFO - edu.mit.simile.RDFBrowser] Loading model:
C:\FORCEnet\longwell-1.1\webapp\WEB-INF\data\test.rdf
INFO - edu.mit.simile.RDFBrowser] Time to read in RDF data and schemas:
422 milliseconds
INFO - edu.mit.simile.RDFBrowser] Prior to inferencing, RDF model
contains 44 statements
INFO - edu.mit.simile.RDFBrowser] Starting inferencing...
INFO - edu.mit.simile.RDFBrowser] [WARNING: this can take a while,
even 15 minutes!]
INFO - edu.mit.simile.RDFBrowser] Finished inferencing, RDF model
contains 44 statements
INFO - edu.mit.simile.RDFBrowser] Time to run inferencing: 15 milliseconds
ERROR - Velocity] VM #renderFrame: error : too few arguments to macro.
Wanted 2 got 0
ERROR - Velocity] VM #renderFrame: error : too few arguments to macro.
Wanted 2 got 0
INFO - edu.mit.simile.RDFBrowser] Initializing Downend...
ERROR - Velocity] VM #renderFrame: error : too few arguments to macro.
Wanted 2 got 0
ERROR - Velocity] VM #renderFrame: error : too few arguments to macro.
Wanted 2 got 0
INFO - edu.mit.simile.RDFBrowser] Initializing Knowle...
ERROR - Velocity] VM #renderFrame: error : too few arguments to macro.
Wanted 2 got 0
ERROR - Velocity] VM #renderFrame: error : too few arguments to macro.
Wanted 2 got 0
INFO - edu.mit.simile.RDFBrowser] Initializing Longwell...
INFO - edu.mit.simile.RDFBrowser] Loading Browser Configuration...
INFO - edu.mit.simile.RDFBrowser] Loading model:
C:\FORCEnet\longwell-1.1\webapp\WEB-INF\config.n3
INFO - edu.mit.simile.RDFBrowser] Time to configure browser: 0
milliseconds
INFO - edu.mit.simile.RDFBrowser] Time to obtain the preferred terms:
0 milliseconds
INFO - edu.mit.simile.RDFBrowser] Time to obtain languages: 16
milliseconds
INFO - edu.mit.simile.RDFBrowser] Time to build index: 140 milliseconds
INFO - edu.mit.simile.RDFBrowser] Configuration file watcher initialized.
INFO - edu.mit.simile.RDFBrowser] ..done
ERROR - Velocity] VM #renderFrame: error : too few arguments to macro.
Wanted 2 got 0
ERROR - Velocity] VM #renderFrame: error : too few arguments to macro.
Wanted 2 got 0
INFO - edu.mit.simile.RDFBrowser] Initializing Patchway...
4:08:07.453 EVENT Started SocketListener on 0.0.0.0:8080
------END LOG -----------
Here's my config.n3:
_at_prefix dc: <
http://purl.org/dc/elements/1.1/> .
_at_prefix rdf: <
http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
_at_prefix foaf: <
http://xmlns.com/foaf/0.1/> .
_at_prefix rdfs: <
http://www.w3.org/2000/01/rdf-schema#> .
_at_prefix disp: <
http://simile.mit.edu/2004/02/ontologies/display#> .
_at_prefix test: <
http://test/TEST#> .
_at_prefix : <#> .
# Display parts
:test a disp:BrowserConfiguration .
: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
) .
:fccc disp:propertyObjectDisplay (
test:location
) .
# Display as a hyperlink
test:location a disp:Link .
-----------------------------
Here's the RDF:
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="
http://purl.org/dc/elements/1.1/"
xmlns:foaf="
http://xmlns.com/foaf/0.1/"
xmlns:test="
http://test/TEST#">
<rdf:Description 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>
<test:poc>
<rdf:Description rdf:about="
http://test/TEST#MrTTest">
<foaf:name>Mr T Test</foaf:name>
<foaf:givenname>Tee</foaf:givenname>
<foaf:family_name>Test</foaf:family_name>
<foaf:phone rdf:resource="tel:(703) 621-1421"/>
</rdf:Description>
</test:poc>
<test:location rdf:resource="
http://www.yahoo.com/"/>
<test:isDraft />
</rdf:Description>
</rdf:RDF>
------------------------------------
Should I use a bundle instead? Any help would be much appreciated..
Thanks,
brez
Received on Wed Jun 15 2005 - 22:13:30 EDT