[ltw-2002-musica] Re: Message submitted to 'ltw-2002-musica'

  • From: Simone Tellini <tellini@xxxxxxxxxxx>
  • To: ltw-2002-musica@xxxxxxxxxxxxx
  • Date: Thu, 23 May 2002 16:12:53 +0200

On Thu, 23 May 2002 07:40:53 -0500 (EST)
FreeLists Mailing List Manager <ecartis@xxxxxxxxxxxxx> wrote:

FMLM> This message was received for a list you are a moderator on, and
FMLM> was marked for moderation due to the following reason:
FMLM> Non-member submission to closed-post list.
FMLM> 
FMLM> To approve this message and have it go out on the list, forward this to
FMLM> ltw-2002-musica-repost@xxxxxxxxxxxxx
FMLM> 
FMLM> If you wish to decline the post, change the 'apppost' below to 'delpost'.
FMLM> If you wish to edit the post, change it to 'modpost' and edit the message
FMLM> as needed - not all mail programs will work with modpost.
FMLM> 
FMLM> DO NOT DELETE THE FOLLOWING LINE.  Ecartis needs it.
// apppost 3CECE355:5B7A.1:ygjzhfvpn
FMLM> 
FMLM> >From patronci@xxxxxxxxx  Thu May 23 07:40:52 2002
FMLM> Return-Path: <patronci@xxxxxxxxx>
FMLM> Delivered-To: ltw-2002-musica@xxxxxxxxxxxxx
FMLM> Received: from smtp3.libero.it (smtp3.libero.it [193.70.192.127])
FMLM>   by turing.freelists.org (FreeLists Mail Multiplex) with ESMTP id 
05A4E942DB
FMLM>   for <ltw-2002-musica@xxxxxxxxxxxxx>; Thu, 23 May 2002 07:40:52 -0500 
(EST)
FMLM> Received: from Morpheus (151.26.177.250) by smtp3.libero.it (6.5.015)
FMLM>         id 3CE925770017A890 for ltw-2002-musica@xxxxxxxxxxxxx; Thu, 23 
May 2002 14:41:22 +0200
FMLM> Message-ID: <002701c20258$0d2373c0$fab11a97@Morpheus>
FMLM> From: "Mirco Patroncini" <patronci@xxxxxxxxx>
FMLM> To: <ltw-2002-musica@xxxxxxxxxxxxx>
FMLM> Subject:  Lo so che rompo ...... 
FMLM> Date: Thu, 23 May 2002 14:47:50 +0200
FMLM> MIME-Version: 1.0
FMLM> Content-Type: multipart/alternative;
FMLM>   boundary="----=_NextPart_000_0024_01C20268.CFB4C460"
FMLM> X-Priority: 3
FMLM> X-MSMail-Priority: Normal
FMLM> X-Mailer: Microsoft Outlook Express 6.00.2600.0000
FMLM> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
FMLM> 
FMLM> This is a multi-part message in MIME format.
FMLM> 
FMLM> ------=_NextPart_000_0024_01C20268.CFB4C460
FMLM> Content-Type: text/plain;
FMLM>   charset="iso-8859-1"
FMLM> Content-Transfer-Encoding: quoted-printable
FMLM> 
FMLM> 
FMLM> 
FMLM> Grazie per la risposta, ora ci sono arrivato :)))
FMLM> sono un po' duro!!!!!
FMLM> 
FMLM> 
FMLM> Altro quesito :
FMLM> 
FMLM> Data la porzione rdf (che suppongo mostro il primo livello)
FMLM> 
FMLM> <?xml version=3D"1.0" encoding=3D"utf-8"?>
FMLM> 
FMLM> <rdf:RDF xmlns:a=3D"http://www.cs.unibo.it/~tellini/ltw/thesaurus/1.0"; =
FMLM> xmlns:rdf=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns";>
FMLM> 
FMLM> <a:class rdf:ID=3D"album">
FMLM> 
FMLM> <a:label>Albums</a:label>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> <a:class rdf:ID=3D"group">
FMLM> 
FMLM> <a:label>Groups/Artists</a:label>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> <a:class rdf:ID=3D"date">
FMLM> 
FMLM> <a:label>Date of Release</a:label>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> <a:class rdf:ID=3D"genre">
FMLM> 
FMLM> <a:label>Genre</a:label>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> <a:class rdf:ID=3D"reviewer">
FMLM> 
FMLM> <a:label>Reviewers</a:label>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> <a:class rdf:ID=3D"song_name">
FMLM> 
FMLM> <a:label>Songs Name</a:label>
FMLM> 
FMLM> <a:seeAlso rdf:resource=3D"#album"/>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> <a:class rdf:ID=3D"song_autor">
FMLM> 
FMLM> <a:label>Songs Autors</a:label>
FMLM> 
FMLM> <a:seeAlso rdf:resource=3D"#group"/>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> <a:class rdf:ID=3D"credits">
FMLM> 
FMLM> <a:label>Credits</a:label>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> </rdf:RDF>
FMLM> 
FMLM> 
FMLM> 
FMLM> Come fa il mio foglio di stile a creare dei link  se in queste classi =
FMLM> non vi l'ombra di un rdf:resource  ? (a parte alcuni casi particolari di =
FMLM> seeAlso)
FMLM> 
FMLM> La soluzione pu=F2 essere :
FMLM> 
FMLM> 
FMLM> 
FMLM> o mettere un riferimento a:subClassOf rdf:resource=3D"sse.aspx?se =
FMLM> stessa"=20
FMLM> 
FMLM> In questo caso , per trovare il primo livello bastera cercare tutti =
FMLM> quelli con rdf:resource che contengono il se stessa e con rdf:ID =3D =
FMLM> se_stessa , per non prendere alche le sottoclassi :
FMLM> 
FMLM> cio=E8 dato l'rdf :
FMLM> 
FMLM> <a:class rdf:ID=3D"album">
FMLM> 
FMLM> <a:label>Albums</a:label>
FMLM> 
FMLM> <a:subClassOf rdf:resource=3D"sse.aspx?doc=3Dalbum">
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> <a:class rdf:ID=3D"Greatest_Hits">
FMLM> 
FMLM> <a:label>Greatest Hits</a:label>
FMLM> 
FMLM> <a:subClassOf rdf:resource=3D"sse.aspx?doc=3Dalbum"/>
FMLM> 
FMLM> <a:related a:label=3D"Released" =
FMLM> rdf:resource=3D"sse.aspx?doc=3D1992-00-00"/>
FMLM> 
FMLM> <a:related a:label=3D"Genre" rdf:resource=3D"sse.aspx?doc=3DRock"/>
FMLM> 
FMLM> <a:related a:label=3D"Album Of" rdf:resource=3D"sse.aspx?doc=3DQueen"/>
FMLM> 
FMLM> <a:doc a:label=3D"Greatest Hits" =
FMLM> rdf:resource=3D"sse.aspx?doc=3DGreatest_Hits.xml"/>
FMLM> 
FMLM> </a:class>
FMLM> 
FMLM> basta creare un xpath del tipo : rdf:RDF/*[contains(subClassOf,'album') =
FMLM> and . =3D 'album']
FMLM> 
FMLM> In  questo modo otterremmo solo la classe di primo livello album e non =
FMLM> Greatest_Hits
FMLM> 
FMLM> E il foglio di stile di visualizzazione avrebbe un resource dal quale =
FMLM> creare un link anche per  il primo livello
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> oppure in rdf:ID=3D"sse.aspx?doc=3D#classe_primo_livello"
FMLM> 
FMLM> In questo caso =E8 pi=F9 semplice l'xpath: =
FMLM> rdf:RDF/*[contains(@rdf:ID,'album']
FMLM> 
FMLM> E il foglio di stile di visualizzazione UTILIZZEREBBE il contenuto di =
FMLM> rdf:ID per creare un link anche per  il primo livello
FMLM> 
FMLM> Il problema =E8 che non =E8 poi un ID molto sensato......per una classe.
FMLM> 
FMLM> 
FMLM> 
FMLM> Fatemi sapere cosa ne pensate, anche perch=E8 questa =E8 una decisione =
FMLM> che potrebbe mettere i bastoni tra le ruote all'interoperabilit=E0, nel =
FMLM> senso che tutto dobbiamo fare allo stesso modo per la creazione dei link =
FMLM> (anche locali) del primo livello.
FMLM> 
FMLM> 
FMLM> 
FMLM> Spero di essere stato chiaro.
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> 
FMLM> ------=_NextPart_000_0024_01C20268.CFB4C460
FMLM> Content-Type: text/html;
FMLM>   charset="iso-8859-1"
FMLM> Content-Transfer-Encoding: quoted-printable
FMLM> 
FMLM> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
FMLM> <HTML><HEAD>
FMLM> <META http-equiv=3DContent-Type content=3D"text/html; =
FMLM> charset=3Diso-8859-1">
FMLM> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
FMLM> <STYLE></STYLE>
FMLM> </HEAD>
FMLM> <BODY bgColor=3D#ffffff>
FMLM> <DIV><BR>&nbsp;</DIV>
FMLM> <DIV><FONT face=3DArial size=3D2>Grazie per la risposta, ora ci sono =
FMLM> arrivato=20
FMLM> :)))</FONT></DIV>
FMLM> <DIV><FONT face=3DArial size=3D2>sono un po' duro!!!!!</FONT></DIV>
FMLM> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
FMLM> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
FMLM> <DIV><FONT face=3DArial size=3D2>Altro quesito :</FONT></DIV>
FMLM> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
FMLM> <DIV><FONT face=3DArial size=3D2>Data la porzione rdf (che suppongo =
FMLM> mostro il primo=20
FMLM> livello)</FONT></DIV>
FMLM> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
FMLM> <DIV><FONT face=3DArial size=3D2><FONT color=3D#008080 size=3D1>
FMLM> <P>&lt;?xml version=3D"1.0" encoding=3D"utf-8"?&gt;</P></FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>
FMLM> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>rdf:RDF</FONT><FONT =
FMLM> color=3D#ff0000=20
FMLM> size=3D1> xmlns:a</FONT><FONT color=3D#0000ff size=3D1>=3D"</FONT><FONT =
FMLM> size=3D1><A=20
FMLM> href=3D"http://www.cs.unibo.it/~tellini/ltw/thesaurus/1.0";>http://www.cs.=
FMLM> unibo.it/~tellini/ltw/thesaurus/1.0</A></FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>"</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> xmlns:rdf</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1><A=20
FMLM> href=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns";>http://www.w3.org/199=
FMLM> 9/02/22-rdf-syntax-ns</A></FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>album</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT=20
FMLM> size=3D1>Albums</FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>group</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT=20
FMLM> size=3D1>Groups/Artists</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&lt;/</FONT><FONT=20
FMLM> color=3D#800000 size=3D1>a:label</FONT><FONT color=3D#0000ff=20
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>date</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT =
FMLM> size=3D1>Date of=20
FMLM> Release</FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>genre</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT=20
FMLM> size=3D1>Genre</FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>reviewer</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT=20
FMLM> size=3D1>Reviewers</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&lt;/</FONT><FONT=20
FMLM> color=3D#800000 size=3D1>a:label</FONT><FONT color=3D#0000ff=20
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>song_name</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT =
FMLM> size=3D1>Songs=20
FMLM> Name</FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:seeAlso</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:resource</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>#album</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"/&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT =
FMLM> size=3D1>song_autor</FONT><FONT color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT =
FMLM> size=3D1>Songs=20
FMLM> Autors</FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:seeAlso</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:resource</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>#group</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"/&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>credits</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT=20
FMLM> size=3D1>Credits</FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT></P>
FMLM> <P><FONT color=3D#0000ff><FONT color=3D#000000><FONT size=3D1><FONT=20
FMLM> color=3D#0000ff>&lt;/rdf:RDF</FONT><FONT=20
FMLM> color=3D#0000ff>&gt;</FONT></FONT></FONT></FONT></P>
FMLM> <P><FONT color=3D#0000ff><FONT size=3D1></FONT></FONT>&nbsp;</P>
FMLM> <P><FONT color=3D#0000ff><FONT color=3D#000000>Come fa il mio foglio di =
FMLM> stile a=20
FMLM> creare dei link&nbsp; se in queste classi non vi l'ombra di un=20
FMLM> rdf:resource&nbsp; ? (a parte alcuni casi particolari di=20
FMLM> seeAlso)</FONT></FONT></P>
FMLM> <P>La soluzione pu=F2 essere :</P>
FMLM> <P>&nbsp;</P>
FMLM> <P>o mettere un riferimento <STRONG>a:subClassOf =
FMLM> rdf:resource=3D"sse.aspx?se=20
FMLM> stessa"</STRONG> </P>
FMLM> <P>In questo caso , per trovare il primo livello bastera cercare tutti =
FMLM> quelli=20
FMLM> con rdf:resource che contengono il&nbsp;se stessa e con rdf:ID =3D=20
FMLM> se_stessa&nbsp;, per&nbsp;non prendere alche le sottoclassi :</P>
FMLM> <P>cio=E8 dato l'rdf :</P>
FMLM> <P><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:ID</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>album</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT=20
FMLM> size=3D1>Albums</FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT></P>
FMLM> <P><FONT color=3D#0000ff size=3D1>&lt;a:subClassOf=20
FMLM> rdf:resource=3D"sse.aspx?doc=3Dalbum"&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>
FMLM> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>a:class</FONT><FONT =
FMLM> color=3D#ff0000=20
FMLM> size=3D1> rdf:ID</FONT><FONT color=3D#0000ff size=3D1>=3D"</FONT><FONT=20
FMLM> size=3D1>Greatest_Hits</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>"&gt;</P></FONT><FONT=20
FMLM> size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff size=3D1>&gt;</FONT><FONT =
FMLM> size=3D1>Greatest=20
FMLM> Hits</FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:label</FONT><FONT color=3D#0000ff =
FMLM> size=3D1>&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:subClassOf</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:resource</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT =
FMLM> size=3D1>sse.aspx?doc=3Dalbum</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>"/&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:related</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> a:label</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>Released</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:resource</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT =
FMLM> size=3D1>sse.aspx?doc=3D1992-00-00</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>"/&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:related</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> a:label</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>Genre</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:resource</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT =
FMLM> size=3D1>sse.aspx?doc=3DRock</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>"/&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:related</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> a:label</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT size=3D1>Album Of</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:resource</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT =
FMLM> size=3D1>sse.aspx?doc=3DQueen</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>"/&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:doc</FONT><FONT color=3D#ff0000 size=3D1> a:label</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>=3D"</FONT><FONT size=3D1>Greatest Hits</FONT><FONT =
FMLM> color=3D#0000ff=20
FMLM> size=3D1>"</FONT><FONT color=3D#ff0000 size=3D1> =
FMLM> rdf:resource</FONT><FONT=20
FMLM> color=3D#0000ff size=3D1>=3D"</FONT><FONT=20
FMLM> size=3D1>sse.aspx?doc=3DGreatest_Hits.xml</FONT><FONT color=3D#0000ff=20
FMLM> size=3D1>"/&gt;</P></FONT><FONT size=3D1>
FMLM> <P></FONT><FONT color=3D#0000ff size=3D1>&lt;/</FONT><FONT =
FMLM> color=3D#800000=20
FMLM> size=3D1>a:class</FONT><FONT color=3D#0000ff size=3D1>&gt;</P></FONT>
FMLM> <P>basta creare un xpath del tipo : =
FMLM> rdf:RDF/*[contains(subClassOf,'album') and .=20
FMLM> =3D 'album']</P>
FMLM> <P>In&nbsp; questo modo otterremmo solo la classe di primo livello album =
FMLM> e non=20
FMLM> Greatest_Hits</P>
FMLM> <P>E il foglio di stile di visualizzazione avrebbe un resource dal quale =
FMLM> creare=20
FMLM> un link anche per&nbsp; il primo livello</P>
FMLM> <P>&nbsp;</P>
FMLM> <P>&nbsp;</P>
FMLM> <P>oppure in =
FMLM> <STRONG>rdf:ID=3D"sse.aspx?doc=3D#classe_primo_livello"</STRONG></P>
FMLM> <P>In questo caso =E8 pi=F9 semplice l'xpath:=20
FMLM> rdf:RDF/*[contains(@rdf:ID,'album']</P>
FMLM> <P>E il foglio di stile di visualizzazione&nbsp;UTILIZZEREBBE il =
FMLM> contenuto di=20
FMLM> rdf:ID&nbsp;per creare un link anche per&nbsp; il primo livello</P>
FMLM> <P>Il problema =E8 che non =E8 poi un ID molto sensato......per una =
FMLM> classe.</P>
FMLM> <P>&nbsp;</P>
FMLM> <P><FONT size=3D4>Fatemi sapere cosa ne pensate, anche perch=E8 questa =
FMLM> =E8 una=20
FMLM> decisione che potrebbe mettere i bastoni tra le ruote =
FMLM> all'interoperabilit=E0, nel=20
FMLM> senso che tutto dobbiamo fare allo stesso modo per la creazione dei link =
FMLM> (anche=20
FMLM> locali) del primo livello.</FONT></P>
FMLM> <P><FONT size=3D4></FONT>&nbsp;</P>
FMLM> <P><FONT size=3D4>Spero di essere stato chiaro.</FONT></P>
FMLM> <P>&nbsp;</P>
FMLM> <P><FONT size=3D4></FONT>&nbsp;</P>
FMLM> <P><FONT size=3D4></FONT>&nbsp;</P>
FMLM> <P><FONT color=3D#0000ff><FONT color=3D#000000></FONT></FONT>&nbsp;</P>
FMLM> <P><FONT color=3D#0000ff><FONT=20
FMLM> color=3D#000000></FONT>&nbsp;</P></FONT></FONT></DIV></BODY></HTML>
FMLM> 
FMLM> ------=_NextPart_000_0024_01C20268.CFB4C460--
FMLM> 
FMLM> 
// eompost 3CECE355:5B7A.1:ygjzhfvpn
FMLM> 
FMLM> 

-- 
Simone Tellini
http://tellini.info

-- 
Working Group docs:     http://www.cs.unibo.it/~tellini/ltw/
Archivio della lista:   //www.freelists.org/archives/ltw-2002-musica
Dittatore della lista:  ltw-2002-musica-admins@xxxxxxxxxxxxx
Subscribe/unsubscribe:  ltw-2002-musica-request@xxxxxxxxxxxxx

Other related posts: