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 : <INSTANCE KEY=""> <USE-ONTOLOGY ID="cs-dept-ontology" VERSION="1.0" PREFIX="cs" URL
<CATEGORY NAME="cs.Professor" FOR=""> <RELATION NAME="cs.member"> <ARG POS=1 VALUE=""> <ARG POS=2 VALUE=""> </RELATION> <RELATION NAME=""> <ARG POS=2 VALUE="Dr. James Hendler"> </RELATION> <RELATION NAME="cs.doctoralDegreeFrom"> <ARG POS=1 VALUE=""> <ARG POS=2 VALUE=""> </RELATION> <RELATION NAME="cs.emailAddress"> <ARG POS=2 VALUE="[hendler--cs--umd--edu]"> </RELATION> <RELATION NAME="cs.head"> <ARG POS=1 VALUE=""> <ARG POS=2 VALUE=""> </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 name "Dr. James Hendler" doctoralDegreeFrom emailAddress [hendler--cs--umd--edu] head ] Looks like a Rebol dialect doesn't it? Andrew Martin ICQ: 26227169