And that you've done and then some :)

This extension opens up all kinds of possibilities!!!

Hint for the SMW community - http://www.amazon.com/gp/registry/registry.html?ie=UTF8&type=wishlist&id=SNSWOWE6AYB4

Joel

On Aug 20, 2009, at 9:25 AM, Yaron Koren wrote:

Thanks, everyone! Um... I aim to please. :)

-Yaron


On Thu, Aug 20, 2009 at 3:01 AM, Robert Murphy <mrandmrsmurphy@gmail.com> wrote:
I am so excited!  This is what I've been longing for since day one with SMW, two years ago.  I love you, I love you, I love you!



On Wed, Aug 19, 2009 at 10:37 PM, Jie Bao <baojie@gmail.com> wrote:
Wow, that's exactly what I look for! This would solve many problems
for me, from modeling RDF blank nodes to rule modeling. Thanks for
providing a useful extension (again)!

Jie

On Wed, Aug 19, 2009 at 6:06 PM, Yaron Koren<yaron57@gmail.com> wrote:
> Hi everyone,
>
> I'm very pleased to announce the release of my latest extension: Semantic
> Internal Objects. This extension attempts to solve the problem of encoding
> compound data within wiki pages, sometimes referred to as "n-ary relations"
> - SMW already attempts to handle this using multiple-type properties, but
> there are various problems associated with those, including issues of
> querying, display and data structure flexibility. Instead, Semantic Internal
> Objects defines a new type of entity, known as an "internal object", that is
> not a wiki page but is stored in SMW like one, and can be queried like one.
> You define internal objects using a new parser function, #set_internal,
> which is called with the following syntax:
>
> {{#set_internal:property-pointing-from-object-to-page
> |object-property1=value1
> |object-property2=value2
> ...
> }}
>
> (This is the same syntax as in a proposal I came up with about six months
> ago.) To take an example, here's how you'd encode the fact that Charles de
> Gaulle was President of France from 1959 to 1969, all on a page titled
> "France":
>
> {{#set_internal:Is president of|Has name=Charles de Gaulle|Has
> title=President|Has start year=1959|Has end year=1969}}
>
> This function, like #set, does not display anything; display of the data
> would have to be done separately, which is not a big deal if you're using
> templates. The internal object would then be stored in SMW as a page called
> "France#1"; if there were more calls to #set_internal on the page, they
> would be "France#2", "France#3", etc. "France#1" would not be a real page;
> in fact, pages within MediaWiki are not allowed to contain the pound sign,
> which is part of why that particular syntax was chosen.
>
> As an example of using the data, here a query to display a table of all
> presidents with "Charles" in their name, plus their country and start year:
>
> {{#ask:[[Is president of::+]][[Has name::~*Charles*]]|mainlabel=-|?Is
> president of=Country|?Has start year=Start year}}
>
> Notice the "mainlabel=-" - that's a way to hide the column of actual
> internal object names, which are useless information that shouldn't be
> displayed to users. Other than that, it's just a standard query.
>
> This extension is partly real functionality and partly a proof-of-concept:
> it already works (at least, I hope so), but I really would like to see this
> or something like it get added directly to SMW, where there could be better
> handling of various things like the display (there's no reason why
> internal-object names should show up as links, for instance). So the first
> step is for people to try it out and see if it helps with their data
> structures. You can read more about the extension, and download it, here:
>
> http://www.mediawiki.org/wiki/Extension:Semantic_Internal_Objects
>
> Many thanks go to Patrick Nagel and the STAR Software (Shanghai) corporation
> for funding the development of SIO - without their sponsorship, the creation
> of this extension might not have happened for a long while.
>
> And if you're wondering, I have no plans for any future extensions at this
> point in time. :)
>
> -Yaron
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user