Re: [SMW-devel] Allowing other extensions to add to RDF export

2009-09-16 Thread Markus Krötzsch
On Mittwoch, 9. September 2009, Yaron Koren wrote: Hi, A few thoughts: - using the standard [[...]] notation is certainly interesting; although isn't there a long-term effort to get rid of the double-bracket notation, since it's difficult to parse? Right, but my proposal would merely make

Re: [SMW-devel] Allowing other extensions to add to RDF export

2009-09-16 Thread Yaron Koren
Hi, My responses are inline below, to the points under contention: - it makes object names look like links - as you note, USA#Presidency_of_Adams looks like an anchor; but it's not an anchor, which could be confusing, especially if the page also contains a section called Presidency of Adams.

Re: [SMW-devel] Allowing other extensions to add to RDF export

2009-09-09 Thread Yaron Koren
Oops, I just realized I had the wrong years for John Adams - well, thankfully, incorrect data is still data. :) On Wed, Sep 9, 2009 at 9:54 AM, Yaron Koren yaro...@gmail.com wrote: Hi, Sure: internal objects are stored using the new parser function #set_internal, which is called in the

Re: [SMW-devel] Allowing other extensions to add to RDF export

2009-09-09 Thread Markus Krötzsch
Thanks for the explanation. As I see it, we could actually merge internal objects into the current SMW code for multi-valued properties. Below is a somewhat lengthy description of a possible design. First of all, the way multi-valued properties work internally is very similar to your internal

Re: [SMW-devel] Allowing other extensions to add to RDF export

2009-09-09 Thread Yaron Koren
Hi, A few thoughts: - using the standard [[...]] notation is certainly interesting; although isn't there a long-term effort to get rid of the double-bracket notation, since it's difficult to parse? - similarly, overloading #set is also a possiblity; though it seems to me simpler, for both the

Re: [SMW-devel] Allowing other extensions to add to RDF export

2009-09-07 Thread Markus Krötzsch
Hi Yaron, I also would like to do some changes to the RDF export in general: (1) I would like URI generation to be easier to control in extensions. The main goal of this would be to make the current vocabulary import feature of SMW a separate extension, and to allow for other such extensions

Re: [SMW-devel] Allowing other extensions to add to RDF export

2009-09-07 Thread Yaron Koren
Hi, Sure, let me explain internal objects: they're stored in the SMW database tables the same way that wiki pages are, and they hold their own properties the same way wiki pages do; the only difference is that they don't have a corresponding wiki page (and their naming structure, Name#Number,

[SMW-devel] Allowing other extensions to add to RDF export

2009-09-06 Thread Yaron Koren
Hi, I want the new extension Semantic Internal Objects to be able to add data about internal objects to the RDF export. Normally this wouldn't seem too hard: the function that prints RDF data about a specific wiki page is OWLExport::printObject(), in the file SMW_SpecialOWLExport.php (it's a