Travis Bemann wrote:

> News
> Title=I'm A Model Modern Freenet Personality (to the tune of I'm A Model 
> Modern Major General)
> Newsgroup=news/rec/humor/filks
> From=Automated filk posting bot
> Author=Fred Foobar
> Signature=1341805713498073
> Data
> <some song to the tune of I'm A Model Modern Major General>
> 
> For news I would prefer using "From" instead of "Author" and
> "Subject" instead of "Title".  However, we might use both, because in
> the example above From is not really equal to Author - just because
> someone posted something does not really mean that they wrote or
> created what the posted (the filk mentioned above, for example).
> 

RDF has this problem solved already. Every attribute is fully qualified (i.e. 
associated
with a schema). In FNP, to declare the namespace, we could use:

Schema.<arbitary prefix>=<URI that describes the scehma>

All attributes of that schema would then have to be prefixed with the prefix you
declared

For example, your news post might look like:

Metadata
Schema.news=freenet:CHK at 234oc2a97rtoiuq34
news.from=Travis
news.msgID=q24q34v5uy
news.subject=This is my post

The file freenet:CHK at 234oc2a97rtoiuq34 would define the semantics for the 
attributes.
This is for the benefit of the user, who can then umambiguosly understand what 
each
attribute means.

You can of course use multiple schemas. This is akin to multiple inheritance. 
For
example, your document could use Dublin Core and MP3 schemas in one:

Metadata
Schema.dc=freenet:CHK at 08q345aeracweraw // Defines Dublin Core
Schema.mp3=freenet:CHK at a43ryaq435opawr // Defines ID3 Tags
dc.Creator=Travis
dc.Date=20000817
mp3.Artist=Britney Spears
mp3.Title=One more time

etc.

Using schemas like this also improves the efficiency of any database that 
searches
through metadata for results to a query, since you can narrow down the search 
space by
declaring what schema(s) you are interested in. We could have a schema for 
political
texts for example. This will improve the quality of search results.

You can also associate a schema with a subspace. This will allow searching 
within
subspaces.


_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to