To the longwell wise, I've been using lw in a pretty crude way: pointing it at some pretty inconsistent rdf files and accepting the vanilla representation that lw offers. I think it's a pretty impressive measure of just how useful longwell is that I have been able to do useful work with it even in its unconfigured, out-of-the-box form. I've now started to try to construct a lw configuration to regularize the process and make it more automatic. Some things are confusing me however:
======= 1. When I start my configuration with just ./longwell -c sourcenotes, the rdf files in the 'data' directory are not loaded. I have to make the data source explicit like this: ./longwell -c sourcenotes -r /Applications/Simile/longwell/src/main/webapp/sourcenotes/data/ -d /Applications/Simile/longwell/src/main/webapp/sourcenotes/db4 Am I missing something in the configuration file that would indicate where the data is? Do I have to define the location of the repository? Will lw create a default repository exclusive to the sourcenotes configuration? Where would that be? Currently the configuration.properties file has only this: # ---------- Extension --------------- longwell.configuration.extends=longwell This works, but I'm clearly not getting how the config.prop files are supposed to work. I _think_ that lw is reading my config because my rudimentary fresnel.n3 file is getting implemented, that is, the properties I've defined as facets are open at the top of the list: @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix facets: <http://simile.mit.edu/2006/01/ontologies/fresnel-facets#> . @prefix pome: <http://prosopOnto.medieval.england/2006/04/pome#> . @prefix snotes: <http://my.sourcenotes.org/2006/04/sourcenotes#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix rel: <http://www.perceive.net/schemas/20021119/relationship#> . @prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix dct: <http://purl.org/dc/terms/> . @prefix bibtex: <http://purl.org/net/nknouf/ns/bibtex#> . @prefix : <#> . :sourcenotesFacets rdf:type facets:FacetSet ; facets:types ( snotes:SourceNote pome:Person pome:Place bibtex:Entry) ; facets:facets ( snotes:people snotes:places snotes:keywords snotes:sourceDate snotes:psource pome:serves pome:hostageExchange rel:parentOf rel:childOf rel:spouseOf bibtex:hasTitle bibtex:hasAuthor ) . Is as far as I've gotten so far. I'll want to set up some css fresnel:propertyStyle elements to control the display of things with css. ========= 2. Another thing I'd like to automate is this: Currently I've been updating my bibliography.rdf data by running the bibtex2rdf RDFizer periodically on my bibtex database. I like this because the urn is a hash of the (which?) fields and thus do not change when I add new references. Is there a way to get my configuration to run this automatically, you know, the way you used to use ant back in longwell 1.0? ========= 3. How can I control the order in which properties are displayed in any given lw item? Is this fresnel, css, velocity or something else? ========= 4. Also confused about the velocity templates. Is there any documentation on how lw implements these? When I start my config as above, I get the list of types on the right, a text-search box, and a note: "None of the predefined starting points contains data." I'm not sure what this means. How can I define "starting points" and what should they look like? ========= 5. Is there any documentation for dummies on how lw implements browse queries? Is this Sesame? What I still need to be able to do is formulate queries like this: lw, please show me all items of type SourceNotes that have a sourceDate property that is greater than 1230-05-03 and less than 1241. Is that kind of arithmetic possible? Apologies if these are naive questions. The documentation on the wiki is pretty lucid, as far as it goes, but tyros like me may need some more extensive hand-holding. Any hints on any of these question from any of you would be very welcome. Thanks, and kudos, Jon _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
