[EMAIL PROTECTED] schrieb:
> <snip/>
>   
> I guess the following idea would make things too complicated, but just as
> theoretical question:
> would a "Type:Relation" be possible to implement?
>
> "has president":  [[has Type:=[[Type:Wikipage]]; [[Type:Date]]; 
> [[Type:Relation]] ]]
> "end of term":  [[has Type:=[[Type:String]]; [[Type:Date]]; [[Type:Wikipage]];
> [[Type:Wikipage]] ]]
>
> [[has president::John F. Kennedy; 1961; [[end of term:=assassination; 22
> November 1963; Dallas; Lee Harvey Oswald]] ]]
> [[has president::Richard Nixon; 1969; [[end of term:= ; 1972]] ]]
> [[has president::Richard Nixon; 1972; [[end of term:=resignation; 9 August 
> 1974;
> ; Watergate scandal]] ]]
> [[has president::G.W. Bush; 2001]]
>
> Thanks,
> Günther

I don't think that this is as flexible as the suggestions we made 
already. Note that in the following example we get a much better ontology:

= BEGIN ==========================================
[[has president::
   [[Person::John F. Kennedy|John F. Kennedy]]
started to be president in
   [[begin of term::
      [[Year::1961|]]
   ]]
and was
   [[end of term::
      [[Reason::
         [[Type::assassination|assassinated]]
in
         [[Location::Dallas|]]
by
         [[by::Lee Harvey Oswald|]]
on
      [[Date:=1963-10-22||November 22, 1963]]
   ]]
]]. After Kennedy,
[[has president::
   [[Person::Richard Nixon|]]
started to be president in
   [[begin of term::
      [[Year::1969|]]
   ]]
till
   [[end of therm:: [[Year::1969|]
]] then the was rejected and started his term again in
[[has president::
   [[Person::Richard Nixon]]
   [[begin of term::
      [[Year::1969|]]
   ]]
but
   [[end of term::
      [[Reason::
         [[Type::resignation|resignated]]
because of the
         [[Because::Watergate scandal|]]
on
      [[Date:=1974-08-09|August 9, 1974]]
   ]]. Since
[[has president::
   [[begin of term::
      [[Year:2001|]]
      [[Person::George Walker Bush|G. W. Bush]]
   ]]
]]
won the election and is therefore the current president.
= END =============================================

Note that I can mix ordinary text with markup (a <nowiki> or 
<nosemantic> element might be possible too, but then the source becomes 
even harder to read) and there is no need to keep the format - If I want 
to do so I can use Templates, but that comes with a loss of flexibility 
if the template is not well scripted:

{{has president|John F. Kennedy|1961|1963|assassinated}}

Also a vertical bar right before the closing brackets will repeat the 
text that is given as argument. Relations marked with :: and having a 
non-complex value will get interpreted as Link to an Article. Anyway, I 
would take this only as example, because the starts and ends of being 
president might be better placed into the articles of the presidents - 
but this is a very subjective POV.

ys, MovGP0

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to