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

 


Help: OASIS Mailing Lists Help | MarkMail Help

tag message

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


Subject: Re: [tag] Proof of Concept Example of Representation


That file didn't come out too well on the mail list archive
- the .rdf extension appears as a '.bin' file online and gets
wrongly treated by applications so here is a slightly improved
version with a .xml extension and minor corrections. (Just a
proof of concept taking a fictitious UBL subsetting use case.)

- Steve

Quoting stephen.green@systml.co.uk:

> Just been experimenting a little with a representation idea.
> It works out quite well. It's RDF but could be converted to
> any other representation. (Starting with RDF might ensure
> GRDDL could be used, say, to convert to a form for Semantic
> Web or storage in RDF database.) What works nicely is the
> fact that limited vocabularies (keywords/tags) can be created
> locally in an accompanying file and pointed to using XML:base
> and IDs. No Prerequisites here or dependencies or qualifiers
> but these should be easily added I hope.
> -- 
> Stephen Green
>
> Partner
> SystML, http://www.systml.co.uk
> Tel: +44 (0) 117 9541606
>
> http://www.biblegateway.com/passage/?search=matthew+22:37 .. and voice


<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:dc="http://purl.org/dc/elements/1.1/"; xmlns:ta="http://example.org#example-taxonomy"; xml:base="http://example.org/triples/";>
	<rdf:Description rdf:about="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-example"; dc:date="2007-12-19T12:12:00" dc:title="Example Test Assertion List for example 1.0 Invoice Subset">
		<ta:TestAssertion ta:specRef="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-statement-00001"; ta:id="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-ta-00001";>
			<rdf:Description>
				<ta:Target rdf:about="http://purl.oclc.org/NET/systml#ubl1/Invoice.Details/";>
					<rdf:Description>
						<ta:Property rdf:ID="SchemaValid">http://docs.oasis-open.org/ubl/cd-UBL-1.0/xsdrt/maindoc/UBL-Invoice-1.0.xsd</ta:Property>
					</rdf:Description>
				</ta:Target>
			</rdf:Description>
		</ta:TestAssertion>
		<ta:Target rdf:about="http://purl.oclc.org/NET/systml#ubl1/Invoice.Details/";>
			<ta:TestAssertion ta:specRef="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-statement-00002"; ta:id="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-ta-00002";>
				<rdf:Description>
					<ta:Property rdf:ID="Contains" rdf:resource="http://purl.oclc.org/NET/systml#ubl1/Invoice.IssueDate.Date/"/>
				</rdf:Description>
			</ta:TestAssertion>
			<ta:TestAssertion ta:specRef="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-statement-00003"; ta:id="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-example-00003";>
				<rdf:Description rdf:about="http://purl.oclc.org/NET/systml#ubl1/Invoice.IssueDate.Date/";>
					<ta:Property rdf:ID="MinOccurs" rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger";>1</ta:Property>
					<ta:Property rdf:ID="MaxOccurs" rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger";>1</ta:Property>
				</rdf:Description>
			</ta:TestAssertion>
		</ta:Target>
		<ta:TestAssertion ta:specRef="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-statement-00004"; ta:id="http://purl.oclc.org/NET/systml#UBL-Invoice-1_0-example-1_0-subset-0_1-example-00004";>
			<rdf:Description>
				<ta:Target rdf:about="http://purl.oclc.org/NET/systml#ubl1/Invoice.Details/";>
					<rdf:Description rdf:about="http://purl.oclc.org/NET/systml#ubl1/Invoice.TaxPointDate.Date/";>
						<ta:Property rdf:ID="MinOccurs" rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger";>0</ta:Property>
						<ta:Property rdf:ID="MaxOccurs" rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger";>1</ta:Property>
					</rdf:Description>
				</ta:Target>
			</rdf:Description>
		</ta:TestAssertion>
	</rdf:Description>
</rdf:RDF>


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