notes 2.37 KB
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html" />
  <title>WebOnt NJ Trip: Semantic Web Travel Schedule Tools</title>
</head>

<body>
<p><a href="../../">W3C</a> . <a href="../../2000/01/sw/">SemWeb Adv.
Dev</a></p>

<h1>WebOnt NJ Trip: Semantic Web Travel Schedule Tools</h1>

<p>previous trip: (Nov NCE, Oct geekcruise, Sep BOS) <a
href="/2001/08swws67/trip.html">Aug swws</a>. 1st semweb trip tools: <a
href="/2000/10/atrip/Makefile">Oct 2000</a></p>

<p>an explanation of the <a href="Makefile">Makefile</a>:</p>
<ol>
  <li>email from the travel agent</li>
  <li>thru grokNavItin.py into RDF, using the travel agent's terminology but
    RDF syntax.</li>
  <li>then I use itin2ical.n3, an N3 rules file, to map from the travel agent
    vocabulary to ical vocabulary</li>
  <li>toICal.py extracts ical vocabulary stuff from an RDF KB and spits it
    out in ical syntax. 
    <pre><a href="itincal.ics">itincal.ics</a>: <a href="itincal.n3">itincal.n3</a> <a href="toICal.py">toICal.py</a>
	PYTHONPATH=$(<a href="../../2000/10/swap/">SWAP</a>) $(PYTHON) <a href="toICal.py">toICal.py</a> <a href="itincal.n3">itincal.n3</a> &gt;$@</pre>
  </li>
  <li>import into evolution.</li>
</ol>

<p>TADA!</p>

<p>actually, after step 2, I run rules to check constraints ala "make sure
the itinerary gets me there in time for the meeting, but gets me back in the
time agreed with my wife" and such. i.e. there are usually several
itineraries proposed by the travel agent, and I use cwm to evaluate them to
see which match my constraints.</p>

<p>this is so cool... even the timezone stuff worked out.</p>

<h2>next steps</h2>

<p>converting ical syntax back to RDF, and doing consistency checking, ala
"if my email says I'm busy at time T, but my evolution calendar doesn't,
raise a flag!"</p>

<p>ala... &lt;evo-cal.rdf&gt; log:semantics [ log:notIncludes ...]</p>

<p>eventually, I want my evolution calendar to act as a little agent/service.
RDF that's available via HTTP naturally acts as a KB service...</p>

<p>see also: <a
href="http://ilrt.org/discovery/chatlogs/rdfig/2002-01-11#T04-43-31">log of
notes in IRC as I developed it</a></p>
<hr />
<address>
  <a href="../../People/Connolly">Dan Connolly</a><br class="" />
  Created: Thu Jan 10 22:38:01 CST 2002<br class="" />
  <small>$Revision: 1.3 $ of $Date</small>
</address>
</body>
</html>