From 50000481@plink.cityu.edu.hk  Tue Sep 12 11:59:26 2000
Received: from plink2.cityu.edu.hk (carol.cityu.edu.hk [144.214.5.208])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id LAA18287
	for <prolog@swi.psy.uva.nl>; Tue, 12 Sep 2000 11:59:24 +0200 (MET DST)
Received: from ceciserver (cpct78.cityu.edu.hk)
 by plink2.cityu.edu.hk (Sun Internet Mail Server sims.3.5.1999.03.02.17.58.p5)
 id <0G0R00201QCXU9@plink2.cityu.edu.hk> for prolog@swi.psy.uva.nl; Tue,
 12 Sep 2000 17:58:09 +0800 (HKT)
Received: from ceciserver (cpct78.cityu.edu.hk)
 by plink2.cityu.edu.hk (Sun Internet Mail Server sims.3.5.1999.03.02.17.58.p5)
 with SMTP id <0G0R00KSBQCWXE@plink2.cityu.edu.hk> for prolog@swi.psy.uva.nl;
 Tue, 12 Sep 2000 17:58:08 +0800 (HKT)
Date: Tue, 12 Sep 2000 17:59:50 +0800
From: Cecilia Wong <50000481@plink.cityu.edu.hk>
Subject: about using assert_list in parsing RDF
To: prolog@swi.psy.uva.nl
Message-id: <000c01c01ca0$30a21e90$4e14d690@cityu.edu.hk>
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Content-type: MULTIPART/ALTERNATIVE;
 BOUNDARY="Boundary_(ID_2LSXriQ9LcitNptFIgSxcw)"
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Priority: 3

This is a multi-part message in MIME format.

--Boundary_(ID_2LSXriQ9LcitNptFIgSxcw)
Content-type: text/plain; charset="big5"
Content-transfer-encoding: quoted-printable

Hi,

    I am trying to use the RDF parser to parse a rdf file which is quite =
long.  I have managed to get rid of any error message, that I supposed =
to be successfully parsed my data. However, the returning triple list is =
truncated with something like, "rdf(..., ..., ...)|...] at the end of =
the list. Does anyone have an idea how can I redirect the resulting =
triples list into another text file?  Can the example,
"assert_list([]).
assert_list([H|T]) :-
 assert(H),
 assert_list(T)."
be used in my case. Sorry, I am just getting started with it and I'm not =
so familiarized with Prolog. So, I am not sure if I can make use with =
the example to deal with my problem and where to put into those lines of =
the example?  Thank you very much in advance!

Cecilia

=20

--Boundary_(ID_2LSXriQ9LcitNptFIgSxcw)
Content-type: text/html; charset="big5"
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I am trying to use =
the RDF=20
parser to parse a rdf file which is quite long.&nbsp; I have managed to =
get rid=20
of any error message,&nbsp;that&nbsp;I supposed to be successfully =
parsed my=20
data. However, the returning triple list is truncated with something =
like,=20
"rdf(..., ..., ...)|...] at the end of the list.&nbsp;Does anyone have =
an idea=20
how can I&nbsp;redirect&nbsp;the resulting&nbsp;triples list into =
another text=20
file?&nbsp;&nbsp;Can the example,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"assert_list([]).<BR>assert_list([H|T]) =

:-<BR>&nbsp;assert(H),<BR>&nbsp;assert_list(T)."</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>be used in my case. Sorry, I am just =
getting=20
started with it and I'm not so familiarized with Prolog. So, I am not=20
sure&nbsp;if I can make use with the example to deal with my problem and =
where=20
to put into those lines of&nbsp;the example?&nbsp; Thank you very much =
in=20
advance!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cecilia</DIV>
<DIV><BR></FONT>&nbsp;</DIV></BODY></HTML>

--Boundary_(ID_2LSXriQ9LcitNptFIgSxcw)--

