[topicmapmail] Re: Topic Map - scope
Dichev, Christo
dichevc@wssu.edu
Tue, 14 Oct 2003 08:50:21 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C39251.BA7A2840
Content-Type: text/plain;
charset="iso-8859-1"
Thank you Lars,
I'll try to state my original question differently. Is it
possible to modify the following topic:
<topic id="unit-1">
<instanceOf><topicRef xlink:href="#leson"/></instanceOf>
<baseName>
<baseNameString> First Unit</baseNameString>
</baseName>
<occurrence>
<scope><topicRef xlink:href="#average-student"/></scope>
<instanceOf><topicRef xlink:href="#webpage"/></instanceOf>
<resourceRef xlink:href="
http://wssu.edu/faculty/dichevc/ex/sect1.htm"/>
</occurrence>
<occurrence>
<scope><topicRef xlink:href="good-student"/></scope>
<instanceOf><topicRef xlink:href="#webpage"/></instanceOf>
<resourceRef xlink:href= "
http://wssu.edu/faculty/dichevc/ex/sect2.html"/>
</occurrence>
</topic>
say to something like:
<topic id="unit-1">
<instanceOf><topicRef xlink:href="#leson"/></instanceOf>
<baseName>
<baseNameString> First Unit</baseNameString>
</baseName>
<baseName>
<scope>
<topicRef xlink:href="#average-student"/>
</scope>
<baseNameString>Unit for average</baseNameString>
</baseName>
<occurrence>
<scope><topicRef xlink:href="#average-student"/></scope>
<instanceOf><topicRef xlink:href="#webpage"/></instanceOf>
<resourceRef xlink:href="http://wssu.edu/faculty/dichevc/ex/sect1.htm"/>
</occurrence>
<baseName>
<scope>
<topicRef xlink:href="#good-student"/>
</scope>
<baseNameString>Unit for good</baseNameString>
</baseName>
<occurrence>
<scope><topicRef xlink:href="#good-student"/></scope>
<instanceOf><topicRef xlink:href="#webpage"/></instanceOf>
<resourceRef
xlink:href="http://wssu.edu/faculty/dichevc/ex/sect2.html"/>
</occurrence>
</topic>
Now given that topic to use it to type an association, i.e.
<association>
<instanceOf>
<topicRef xlink:href="#unit-1"/>
</instanceOf>
<member>
<scope><topicRef xlink:href="#average-student"/></scope>
<roleSpec>
<topicRef xlink:href="#average-student"/>
</roleSpec>
<topicRef xlink:href="#unit-1"/>
</member>
<member>
<scope><topicRef xlink:href="#good-student"/></scope>
<roleSpec>
<topicRef xlink:href="#good-student"/>
</roleSpec>
<topicRef xlink:href="#unit-1"/>
</member>
</association>
so that the Omnigator displays different occurrences depending on
the context, say based on the "current topic". May be this is a
wrong approach. My intention is construct an example that is able
to filter some information (ignore irrelevant occurrences, roles)
based on the user interaction with a topic map.
Any help in this direction will be appreciated.
Thank you,
Christo
Hi Christo,
* Christo Dichev
|
| However I can't generate simple and meaningful examples to start up.
| For instance, I can not figure out how can the resources in the
| following topic be displayed depending on the context
| ("average-student" or "good-student").
Not sure what you mean here. Your XTM snippets look perfectly OK with
me, so I'm not sure what the problem is.
If you want to try them out, just load the topic map in the Omnigator,
then click on the "Filter" link near the top. You can select your
preferred scope there, and the Omnigator will automatically start
filtering. Was that what you wanted to know, or did I completely
misunderstand your question?
--
Lars Marius Garshol, Ontopian <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50 <URL: http://www.garshol.priv.no >
_______________________________________________
topicmapmail mailing list
topicmapmail@infoloom.com
http://www.infoloom.com/mailman/listinfo/topicmapmail
------_=_NextPart_001_01C39251.BA7A2840
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [topicmapmail] Re: Topic Map - scope</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Thank you Lars,</FONT>
</P>
<P><FONT SIZE=3D2>I'll try to state my original question differently. =
Is it </FONT>
<BR><FONT SIZE=3D2>possible to modify the following topic:</FONT>
</P>
<P><FONT SIZE=3D2> <topic id=3D"unit-1"></FONT>
<BR><FONT SIZE=3D2> <instanceOf><topicRef =
xlink:href=3D"#leson"/></instanceOf></FONT>
<BR><FONT SIZE=3D2> <baseName></FONT>
<BR><FONT SIZE=3D2> <baseNameString> First =
Unit</baseNameString></FONT>
<BR><FONT SIZE=3D2> </baseName></FONT>
<BR><FONT SIZE=3D2> <occurrence></FONT>
<BR><FONT SIZE=3D2> <scope><topicRef =
xlink:href=3D"#average-student"/></scope></FONT>
<BR><FONT SIZE=3D2> <instanceOf><topicRef =
xlink:href=3D"#webpage"/></instanceOf></FONT>
<BR><FONT SIZE=3D2> <resourceRef =
xlink:href=3D" <A =
HREF=3D"http://wssu.edu/faculty/dichevc/ex/sect1.htm" =
TARGET=3D"_blank">http://wssu.edu/faculty/dichevc/ex/sect1.htm</A>"=
/></FONT>
<BR><FONT SIZE=3D2> </occurrence></FONT>
<BR><FONT SIZE=3D2> <occurrence></FONT>
<BR><FONT SIZE=3D2> <scope><topicRef =
xlink:href=3D"good-student"/></scope></FONT>
<BR><FONT SIZE=3D2> <instanceOf><topicRef =
xlink:href=3D"#webpage"/></instanceOf></FONT>
<BR><FONT SIZE=3D2> <resourceRef xlink:href=3D =
" <A HREF=3D"http://wssu.edu/faculty/dichevc/ex/sect2.html" =
TARGET=3D"_blank">http://wssu.edu/faculty/dichevc/ex/sect2.html</A>"=
;/></FONT>
<BR><FONT SIZE=3D2> </occurrence></FONT>
<BR><FONT SIZE=3D2></topic></FONT>
</P>
<P><FONT SIZE=3D2>say to something like: </FONT>
</P>
<P><FONT SIZE=3D2><topic id=3D"unit-1"> </FONT>
<BR><FONT SIZE=3D2> <instanceOf><topicRef =
xlink:href=3D"#leson"/></instanceOf> </FONT>
<BR><FONT SIZE=3D2> <baseName> </FONT>
<BR><FONT SIZE=3D2> <baseNameString> First =
Unit</baseNameString> </FONT>
<BR><FONT SIZE=3D2> </baseName> </FONT>
<BR><FONT SIZE=3D2><baseName></FONT>
<BR><FONT SIZE=3D2> <scope></FONT>
<BR><FONT SIZE=3D2> =
<topicRef xlink:href=3D"#average-student"/></FONT>
<BR><FONT SIZE=3D2> </scope></FONT>
<BR><FONT SIZE=3D2> =
<baseNameString>Unit for average</baseNameString></FONT>
<BR><FONT SIZE=3D2> </baseName></FONT>
<BR><FONT SIZE=3D2> <occurrence> </FONT>
<BR><FONT SIZE=3D2> <scope><topicRef =
xlink:href=3D"#average-student"/></scope> </FONT>
<BR><FONT SIZE=3D2> <instanceOf><topicRef =
xlink:href=3D"#webpage"/></instanceOf> </FONT>
<BR><FONT SIZE=3D2> <resourceRef =
xlink:href=3D"<A =
HREF=3D"http://wssu.edu/faculty/dichevc/ex/sect1.htm" =
TARGET=3D"_blank">http://wssu.edu/faculty/dichevc/ex/sect1.htm</A>"=
/> </FONT>
<BR><FONT SIZE=3D2> </occurrence> </FONT>
<BR><FONT SIZE=3D2><baseName></FONT>
<BR><FONT SIZE=3D2> <scope></FONT>
<BR><FONT SIZE=3D2> =
<topicRef xlink:href=3D"#good-student"/></FONT>
<BR><FONT SIZE=3D2> </scope></FONT>
<BR><FONT SIZE=3D2> =
<baseNameString>Unit for good</baseNameString></FONT>
<BR><FONT SIZE=3D2> </baseName></FONT>
<BR><FONT SIZE=3D2> <occurrence> </FONT>
<BR><FONT SIZE=3D2> <scope><topicRef =
xlink:href=3D"#good-student"/></scope> </FONT>
<BR><FONT SIZE=3D2> <instanceOf><topicRef =
xlink:href=3D"#webpage"/></instanceOf> </FONT>
<BR><FONT SIZE=3D2> <resourceRef =
xlink:href=3D"<A =
HREF=3D"http://wssu.edu/faculty/dichevc/ex/sect2.html" =
TARGET=3D"_blank">http://wssu.edu/faculty/dichevc/ex/sect2.html</A>"=
;/> </FONT>
<BR><FONT SIZE=3D2> </occurrence> </FONT>
<BR><FONT SIZE=3D2></topic></FONT>
</P>
<P><FONT SIZE=3D2>Now given that topic to use it to type an =
association, i.e.</FONT>
</P>
<P><FONT SIZE=3D2><association></FONT>
<BR><FONT SIZE=3D2> <instanceOf></FONT>
<BR><FONT SIZE=3D2> <topicRef =
xlink:href=3D"#unit-1"/></FONT>
<BR><FONT SIZE=3D2> </instanceOf></FONT>
<BR><FONT SIZE=3D2> <member></FONT>
<BR><FONT SIZE=3D2> <scope><topicRef =
xlink:href=3D"#average-student"/></scope> </FONT>
<BR><FONT SIZE=3D2> =
<roleSpec></FONT>
<BR><FONT SIZE=3D2> =
<topicRef xlink:href=3D"#average-student"/></FONT>
<BR><FONT SIZE=3D2> =
</roleSpec></FONT>
<BR><FONT SIZE=3D2> <topicRef =
xlink:href=3D"#unit-1"/></FONT>
<BR><FONT SIZE=3D2> </member></FONT>
<BR><FONT SIZE=3D2> <member></FONT>
<BR><FONT SIZE=3D2> <scope><topicRef =
xlink:href=3D"#good-student"/></scope> </FONT>
<BR><FONT SIZE=3D2> =
<roleSpec></FONT>
<BR><FONT SIZE=3D2> =
<topicRef xlink:href=3D"#good-student"/></FONT>
<BR><FONT SIZE=3D2> =
</roleSpec></FONT>
<BR><FONT SIZE=3D2> <topicRef =
xlink:href=3D"#unit-1"/></FONT>
<BR><FONT SIZE=3D2> </member></FONT>
<BR><FONT SIZE=3D2> </association></FONT>
</P>
<P><FONT SIZE=3D2>so that the Omnigator displays different occurrences =
depending on </FONT>
<BR><FONT SIZE=3D2>the context, say based on the "current =
topic". May be this is a </FONT>
<BR><FONT SIZE=3D2>wrong approach. My intention is construct an example =
that is able </FONT>
<BR><FONT SIZE=3D2>to filter some information (ignore irrelevant =
occurrences, roles) </FONT>
<BR><FONT SIZE=3D2>based on the user interaction with a topic =
map.</FONT>
</P>
<P><FONT SIZE=3D2>Any help in this direction will be =
appreciated.</FONT>
</P>
<P><FONT SIZE=3D2>Thank you,</FONT>
<BR><FONT SIZE=3D2>Christo</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hi Christo,</FONT>
</P>
<P><FONT SIZE=3D2>* Christo Dichev</FONT>
<BR><FONT SIZE=3D2>| </FONT>
<BR><FONT SIZE=3D2>| However I can't generate simple and meaningful =
examples to start up.</FONT>
<BR><FONT SIZE=3D2>| For instance, I can not figure out how can the =
resources in the</FONT>
<BR><FONT SIZE=3D2>| following topic be displayed depending on the =
context</FONT>
<BR><FONT SIZE=3D2>| ("average-student" or =
"good-student").</FONT>
</P>
<P><FONT SIZE=3D2>Not sure what you mean here. Your XTM snippets look =
perfectly OK with</FONT>
<BR><FONT SIZE=3D2>me, so I'm not sure what the problem is.</FONT>
</P>
<P><FONT SIZE=3D2>If you want to try them out, just load the topic map =
in the Omnigator,</FONT>
<BR><FONT SIZE=3D2>then click on the "Filter" link near the =
top. You can select your</FONT>
<BR><FONT SIZE=3D2>preferred scope there, and the Omnigator will =
automatically start</FONT>
<BR><FONT SIZE=3D2>filtering. Was that what you wanted to know, or did =
I completely</FONT>
<BR><FONT SIZE=3D2>misunderstand your question?</FONT>
</P>
<P><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Lars Marius Garshol, =
Ontopian <URL: <A =
HREF=3D"http://www.ontopia.net" =
TARGET=3D"_blank">http://www.ontopia.net</A> ></FONT>
<BR><FONT SIZE=3D2>GSM: +47 98 21 55 =
50 &nbs=
p; <URL: <A =
HREF=3D"http://www.garshol.priv.no" =
TARGET=3D"_blank">http://www.garshol.priv.no</A> ></FONT>
</P>
<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>topicmapmail mailing list</FONT>
<BR><FONT SIZE=3D2>topicmapmail@infoloom.com</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.infoloom.com/mailman/listinfo/topicmapmail" =
TARGET=3D"_blank">http://www.infoloom.com/mailman/listinfo/topicmapmail<=
/A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C39251.BA7A2840--