Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Implementing "The Semantic Web" in Rebol

From: al::bri::xtra::co::nz at: 13-Apr-2001 11:18

Here's the markup for the example page at http://www.cs.umd.edu/~hendler/ : <INSTANCE KEY="http://www.cs.umd.edu/users/hendler/"> <USE-ONTOLOGY ID="cs-dept-ontology" VERSION="1.0" PREFIX="cs" URLhttp://www.cs.umd.edu/projects/plus/SHOE/cs.html
<CATEGORY NAME="cs.Professor" FOR="http://www.cs.umd.edu/users/hendler/"> <RELATION NAME="cs.member"> <ARG POS=1 VALUE="http://www.cs.umd.edu/projects/plus/"> <ARG POS=2 VALUE="http://www.cs.umd.edu/users/hendler/"> </RELATION> <RELATION NAME="cs.name"> <ARG POS=2 VALUE="Dr. James Hendler"> </RELATION> <RELATION NAME="cs.doctoralDegreeFrom"> <ARG POS=1 VALUE="http://www.cs.umd.edu/users/hendler/"> <ARG POS=2 VALUE="http://www.brown.edu"> </RELATION> <RELATION NAME="cs.emailAddress"> <ARG POS=2 VALUE="[hendler--cs--umd--edu]"> </RELATION> <RELATION NAME="cs.head"> <ARG POS=1 VALUE="http://www.cs.umd.edu/projects/plus/"> <ARG POS=2 VALUE="http://www.cs.umd.edu/users/hendler/"> </RELATION> </INSTANCE> As can be seen it's basically a collection of relationships with a reference to a URL that describes it all. It's hard to read with all the extra markup -- here's the core of it: cs [ member http://www.cs.umd.edu/projects/plus/ http://www.cs.umd.edu/users/hendler/ name "Dr. James Hendler" doctoralDegreeFrom http://www.cs.umd.edu/users/hendler/ http://www.brown.edu emailAddress [hendler--cs--umd--edu] head http://www.cs.umd.edu/projects/plus/ http://www.cs.umd.edu/users/hendler/ ] Looks like a Rebol dialect doesn't it? Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/