W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2004

use case: content selection based on client profile

From: Dan Connolly <connolly@w3.org>
Date: Mon, 13 Sep 2004 12:21:21 -0500
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Cc: stephane boyera <boyera@w3.org>
Message-Id: <1095096081.6086.542.camel@dirk>
Continuing the investigation of how DAWG relates to peer W3C
technologies, I have been chatting with Stephane about DIWG
stuff, and he sent me the attached use case. (forwarded
with permission).

We're likely to get more input from the DIWG soon, but meanwhile,
I thought this was interesting enough to talk about.

Anyone care to take a look, and, perhaps, suggest which requirements
it motivates? Any new ones?
http://www.w3.org/2001/sw/DataAccess/UseCases#req

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/


attached mail follows:




> That would be a great start... 

ok. so here is a real-life profile coming from panasonic and we used for
implementationt test report (fyi,
http://www.w3.org/2003/07/ccpp-SV-PR/test-suite-20030827/implementation-repo
rt.html)

profile: http://mobileinternet.panasonicbox.com/UAprof/GD67/04.xml

> then the next thing would be a 
> story about that profile... a story about how it's useful to query it.

story : 
someone owning a mobile phone panasonic GD67 and requesting a web page will
automatically transmit to the web server (fyi, through http header at this
point, no w3c recommendation concerning the protocol) :
	- the URI of its profile :
http://mobileinternet.panasonicbox.com/UAprof/GD67/04.xml
	- a diff if its current state, adding, hiding, or overriding some of
the values stored in the above profile.

Then the web server would compute the final state of the profile by
retrieving the profile and applying the diff, and then would check the
requested url and instantiate variables needed by the content
example:
 the user request : http://www.example.com/travel2work

then somewhere in the page, the author wrote somehting like
(using DI select :http://www.w3.org/TR/cselection/)

<sel:select>
	<sel:when sel:expr="dc:HardwarePlatform:ColorCapable() and
dc:SoftwarePlatform:CcppAccept('image/gif')">
    		<object src="my_beautiful_coloured_map.gif"/>
  	</sel:when>
	<sel:when sel:expr="dc:HardwarePlatform:SoundOutputCapable()">
    		<object src="my_direction_via_voice.wav"/>
  	</sel:when>
  	<sel:otherwise>
    		<p>To go from home ot work, take highway 1 for 2 miles and
then take exit 22a</p>
  	</sel:otherwise>
</sel:select>  

so our problem right now is to eg associate the function
dc:HardwarePlatform:ColorCapable()
with the appropriate query on the profile. (at this point no specific naming
scheme slected)

is it something like you were looking for ?
if yes, i would take few days to check with my wg about this simple use
case.

Steph
Received on Monday, 13 September 2004 17:20:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:20 GMT