<?xml version="1.0"?>
<!DOCTYPE slideshow SYSTEM "slideshow.dtd">
<slideshow>
  <metadata>
    <title>Source vs. Resource</title>
    <version>S5 1.1</version>
    <generator>S5</generator>
    <presdate>20050419</presdate>
    <author>Adam Mathes</author>
    <company>GSLIS</company>
  </metadata>
  <layout>
    <header/>
    <footer>
	<h1 xmlns="http://www.w3.org/1999/xhtml">LIS590KR &#x2022; April 19, 2005</h1>
	<h2 xmlns="http://www.w3.org/1999/xhtml">Source vs. Resource</h2>
      </footer>
  </layout>
  <presentation>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Resource vs. Source</h1>
	<h2 xmlns="http://www.w3.org/1999/xhtml">Adam Mathes</h2>
	<p xmlns="http://www.w3.org/1999/xhtml">Knowledge Representation and Formal Ontology Final Project<br/>
	Graduation School of Library and Information Science<br/>
	UIUC<br/>
	April 2005<br/>
	</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">What is a resource?</h1>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>RDF is a "Resource Description Framework"</li>
	  <li>URL is a "Uniform Resource Locator"</li>
	  <li>URI is a "Uniform Resource Identifier"</li>
	</ul>
	<p xmlns="http://www.w3.org/1999/xhtml">But what is a resource?</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">What is a resource? (TBL's answer)</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">
	  T. Berners-Lee <br/>
	  <a href="http://www.faqs.org/rfcs/rfc2396.html" shape="rect">RFC 2396 - Uniform Resource Identifiers (URI): Generic Syntax</a>
	</p>	  

	<p xmlns="http://www.w3.org/1999/xhtml">
	  "A resource can be anything that has identity.  Familiar
	  examples include an electronic document, an image, a service
	  (e.g., "today's weather report for Los Angeles"), and a
	  collection of other resources.  Not all resources are network
	  "retrievable"; e.g., human beings, corporations, and bound
	  books in a library can also be considered resources."
	</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">What is a resource? (TBL's answer part 2)</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">
	  "The resource is the conceptual mapping to an entity or set
	  of entities, not necessarily the entity which corresponds to
	  that mapping at any particular instance in time.  <b>Thus, a
	  resource can remain constant even when its content---the
	  entities to which it currently corresponds---changes over
	  time, provided that the conceptual mapping is not changed in
	  the process.</b>"
	</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">But seriously, what is a resource?</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">
	  W3C semantic web activity basically dodges this - resources
	  are things that can be identified by a URI. "Things that
	  have identity" doesn't tell us much.
	</p>

	<p xmlns="http://www.w3.org/1999/xhtml">
	  But I don't want to talk about real life people that are
	  identified by a URI/URL string, although perhaps what we
	  discover here will apply or be related to those discussions
	  as well.
	</p>

	<p xmlns="http://www.w3.org/1999/xhtml">
	  Limiting this discussion to <em>web resources</em> - pages, sites,
	  documents, web applications, web services.
	</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Static Pages are (almost) Easy</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">Simplest case is a static page of HTML</p>

	<p xmlns="http://www.w3.org/1999/xhtml">Properties:</p>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>Same "informational content"</li>
	  <li>regardless of user</li>
	  <li>regardless of time of access (<em>static</em> by definition)</li>
	  <li>regardless of changes in the outside world (mostly)</li>
	</ul>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">The world is not static</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">But many of the web resources we care about are not static pages</p>

	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li><a href="http://leep.lis.uiuc.edu" shape="rect">Your LEEP homepage</a></li>
	  <li><a href="http://my.yahoo.com" shape="rect">My Yahoo</a></li>
	  <li><a href="http://www.nytimes.com" shape="rect">New York Times</a></li>
	  <li>
	    Citeseer entry for <i><a href="http://portal.acm.org/citation.cfm?id=585081" shape="rect">Towards
	    a semantics for XML markup</a></i></li>
	</ul>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Is there such a thing as static?</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">Even static pages are often not really static</p>

	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>"small" edits over time</li>
	  <li>URL changes - but same document (new server software, etc)</li>
	  <li>dynamic content like advertising, time of day of access, etc</li>
	  <li>XML document identity is hard (see Renear, Dubin, for more problems)</li>
	</ul>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">How current web applications work</h1>
	<div xmlns="http://www.w3.org/1999/xhtml">
	  <img src="webapp.png" alt="a typical web application flow diagram"/>
	</div>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Technology to higher level abstraction</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">
	  Moving away from current technology and implementation to
	  what is fundamentally going on
	</p>
	<p xmlns="http://www.w3.org/1999/xhtml">
	  Can we create a reasonable ontology for what's going on here?
	</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Some things to distinguish</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">Resource from an "instance" of that resource</p>

	<p xmlns="http://www.w3.org/1999/xhtml"><strong>Instance</strong> is an access of a resource in a
	particular <strong>context</strong></p> 

	<p xmlns="http://www.w3.org/1999/xhtml">What is necessary to include in a context? (What is a context?)</p>

	<p xmlns="http://www.w3.org/1999/xhtml">Distinguish resources  from the "sources" that comprise and inform that resource</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Some things to consider about / worry about</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">Mixed and often contradictory or ambiguous vocabulary in this domain</p>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>Pages, documents, resources, URL, URI, services, sites, application endpoint</li>
	</ul>

	<p xmlns="http://www.w3.org/1999/xhtml">What level of abstraction are we working on?</p>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>FRBR connections or disconnects</li>
	  <li>(I kind of ignore this right now)</li>
	</ul>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Questions to consider</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">What kind of question do we want to be able to answer?</p>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>What sources inform / effect a resource?</li>
	  <li>Has a resource changed? What does that mean?</li>
	  <li>Are instance A and instance B the same?</li>
	  <li>Are instance A and instance B instances of the same resource?</li>
	  <li>Is a resource static or dynamic?</li>
	</ul>

	<p xmlns="http://www.w3.org/1999/xhtml">Although, it may be useful to ontologize regardless of intended use just for a better understanding of this domain. (This as academia, after all.)</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Some first attempts at an ontology</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">(Will indubitably have serious problems)</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Resources are...</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">...things with identity?</p>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>has at least one URI / URL, maybe more</li>
	  <li>URI(r) = http://www.leep.lis.uiuc.edu</li>
	  <li>URL(r) = { http://www.leep.lis.uiuc.edu, http://leep.lis.uiuc.edu }</li>
	</ul>
	<p xmlns="http://www.w3.org/1999/xhtml">...the higher level abstract thing that that a set of instances belongs to</p>
	<p xmlns="http://www.w3.org/1999/xhtml">...the conceptual mapping of a "concept" to a set of other entities (accesses, instances?)</p>
	<p xmlns="http://www.w3.org/1999/xhtml">...a resource may just have to a primitive abstract thing (like work)</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Mappings, Context</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">corresponding to "program / display logic" part of original diagram</p>
	<p xmlns="http://www.w3.org/1999/xhtml">can we distinguish a resource from this mapping? (I think so)</p>

	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>a resource <em>has</em> a mapping / function that takes contexts and returns instances</li>
	    <li>this corresponds to an "access" of that resource</li>
	    <li>r is a resource, c is a context</li>
	    <li>i is an instance of resource r in context c</li>
	    <li>ResourceAccess(r, c) = i</li>
	</ul>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Contexts</h1>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	<li>Sources <strong>inform resources</strong> by being part of a context of access</li>
	<li><strong>contexts</strong> are a set of assertions, might include
	    <ul>
	      <li>time, date (seconds from epoch)</li>
	      <li>the headlines of the New York Times (XML representation in an RSS feed)</li>
	      <li>your identity (from cookies stored by browser)</li>
	      <li>the geographic location of the computer accessing (from IP address)</li>
	      <li>inventory information (from a database sitting next to the server)</li>
	    </ul>
	  </li>
	  <li>c is a context and x, y, and z are assertions</li>
	  <li>c = {x, y, z} </li>
	</ul>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Instances</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">Instances are also sets of assertions</p>

	<p xmlns="http://www.w3.org/1999/xhtml">These instances are dependent on:</p>
	<ol xmlns="http://www.w3.org/1999/xhtml">
	  <li>the resource</li>
	  <li>the context (that set of assertions)</li>
	  <li>the mapping function (this may also change?)</li>
	</ol>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">A Visual Description</h1>
	<div xmlns="http://www.w3.org/1999/xhtml">
	  <img src="sourceresource.png" alt="source vs resource"/>
	</div>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">How do we determine identity of a resource?</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">Do resources intrinsically have identities?</p>
	<p xmlns="http://www.w3.org/1999/xhtml">If the sources change, we still have the same resource, says TBL (and me)</p>

	<p xmlns="http://www.w3.org/1999/xhtml">What if the mapping function changes?</p>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>slightly cosmetic?</li>
	  <li>removes some information?</li>
	  <li>same output, but different program? (efficiency changes)</li>
	  <li>redirects all users to something inappropriate?</li>
	</ul>
	<p xmlns="http://www.w3.org/1999/xhtml">Honestly, I'm not sure.</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Is a resource dynamic or static?</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">r is a static resource iff </p>

	<p xmlns="http://www.w3.org/1999/xhtml">&#x2200;c  ResourceAccess(r,c) = i</p>
		
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>but... what about temporary server outages?</li>
	<li>what about network problems?</li>
	<li>what about changes of assertions after transmission from server?<br/>
	    (Google toolbar AutoLink, Greasemonky firefox extension)</li>
	</ul>
	<p xmlns="http://www.w3.org/1999/xhtml">May need the concept of a valid domain of contexts for a resource</p>

      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Source / resource relation</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">Does a source inform / effect a resource?<br/>
	  Does a resource depend on a source?</p>

	<p xmlns="http://www.w3.org/1999/xhtml">For resource r and source s<br/>
	If &#x2203; c1 and c2 s.t. c1 and c2 are within the domain of r<br/>
	and c1, c2 differ only in s value (or presence)<br/>
	ResourceAccess(r, c1) = i1<br/>
	ResourceAccess(r, c2) = i2<br/>
	s.t i1 and i2 are not equal, then r depends on s / s informs r.</p>

	<p xmlns="http://www.w3.org/1999/xhtml">Informs(s, r)<br/>
	Depends(r, s)</p>

	<p xmlns="http://www.w3.org/1999/xhtml">(Or maybe simplified to &#x2203; c s.t. s belongs to c and c is in the domain of r)</p>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">What we need of FOL</h1>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>literals (for assertions)</li>
	  <li>two-input predicate functions</li>
	  <li>sets and the notion of set equality</li>
	  <li>...maybe more?</li>
	</ul>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">Problems</h1>
	<ul xmlns="http://www.w3.org/1999/xhtml">
	  <li>This idea of contexts seems... difficult. Should I avoid this ontological commitment?</li>
	  <li>Is the idea of an instance / access necessary?</li>
	  <li>Do we need sets?</li>
	  <li>Can resources really exist independent of access?</li>
	  <li>Does any of this force us to reevaluate FRBR?</li>
	  <li>Does it strengthen our notion that FRBR says something about the
	    universe of knowledge between printed books?</li>
	  <li>probably lots more</li>
	</ul>
      </slide>
    <slide>
	<h1 xmlns="http://www.w3.org/1999/xhtml">But what about...?</h1>
	<p xmlns="http://www.w3.org/1999/xhtml">Questions</p>
      </slide>
  </presentation>
</slideshow>
