OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

orms message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [orms] Current example [5/5/2010]


I see why the need to distinguish better between Context and Assertion
arises.
ReputationBundle element somewhat clarifies the intent - although it
also appears to introduce a notion of aggregation and hierarchy.

-mani
-----Original Message-----
From: Tatsuki Sakushima [mailto:tatsuki@nri.com] 
Sent: Wednesday, May 05, 2010 10:54 AM
To: orms@lists.oasis-open.org
Subject: [orms] Current example [5/5/2010]

I slightly modified from the previous one:

B. Examples (Non-Normative)

Example B.1. Simple ORMS Example

    <Reputation>
 
<Context>http://amaama.co.jp/reputation/score/products/books</Context>
 
<Subject>http://amaama.co.jp/literature/auther/hmurakami/title/1Q84</Sub
ject>
 
<Assertion>http://kodansha.co.jp/literature/readersreview</Assertion>
      <Score
type="http://amaama.co.jp/reputation/score/products/books/fivestar";>4.3<
/Score>
      <Score
type="http://amaama.co.jp/reputation/score/products/books/rank";>1</Score
>
      <Date
type="http://amaama.co.jp/reputation/date/updated";>1970-01-01T00:00:00Z<
/Date>
      <Date
type="http://amaama.co.jp/reputation/date/created";>1970-01-01T00:00:00Z<
/Date>
    </Reputation>


Example B.2. ORMS ReputationBundle Example

    <ReputationBundle>
      <Reputation
id="http://amaama.co.jp/reputation/document/MIICyjCCAjOgAwIBAg";
type="parent">
 
<Context>http://amaama.co.jp/reputation/score/products/books</Context>
 
<Subject>http://amaama.co.jp/literature/auther/hmurakami/title/1Q84</Sub
ject>
 
<Assertion>http://kodansha.co.jp/literature/readersreview</Assertion>
        <Score
type="http://amaama.co.jp/reputation/score/products/books/fivestar";>4.3<
/Score>
        <Date
type="http://amaama.co.jp/reputation/date/updated";>1970-01-01T00:00:00Z<
/Date>
        <Date
type="http://amaama.co.jp/reputation/date/created";>1970-01-01T00:00:00Z<
/Date>
      </Reputation>
      <Reputation
id="http://amaama.co.jp/reputation/document/MRIwEAYDVQQIEwlXa";
type="child">
 
<Subject>http://amaama.co.jp/literature/auther/hmurakami/title/1Q84</Sub
ject>
        ---whatever sub reputation data here---
      </Reputation>
      <Reputation
id="http://amaama.co.jp/reputation/document/F1VuaXZlcnNpdHkgbX";
type="child"/>
        ---only link to sub reputation document---
    </ReputationBundle>

-- 
Tatsuki Sakushima
NRI Pacific - Nomura Research Institute America, Inc.


---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]