W3C home > Mailing lists > Public > public-xg-webid@w3.org > December 2011

Re: synonym anchors, in RDFa

From: Jürgen Jakobitsch <j.jakobitsch@semantic-web.at>
Date: Fri, 23 Dec 2011 20:25:18 +0100 (CET)
To: Peter Williams <home_pw@msn.com>
Cc: public-xg-webid@w3.org
Message-ID: <8fe61ffc-fd34-407e-9601-7aa2deea93cf@zcs>
can you live with the code sample below (the sameAs-version)?

http://www.w3.org/2007/08/pyRdfa/#distill_by_input says it's ok.

code (i hope it's still halfway formatted...)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">

<div about="#" typeof="foaf:Agent" rel="owl:sameAs" resource="#me"/>

<div about="#me" typeof="foaf:Person">
	<span property="foaf:name">Peter</span>
	<span property="foaf:openid">http://yorkporc.blogspot.com/</span>
	<h2>RSA Public Key</h2>
	<div rel="cert:key">
		<div typeof="cert:RSAPublicKey">
				<dt>Modulus (hexadecimal)</dt>
					<dd datatype="xsd:hexBinary" property="cert:modulus">b94692148969aeb188d54eb75b8b14782bdb6cb42bc324e8e9f2e1268d654a80c4a030378067ed17308b4e4982b0fe0f32253d38070f5855a021e271ad5c1151a8bc049577d7fd82f131e6de9c541d48c1dd9d40d4c4fb1341b586d26f7a242e37bda80a8e05e6bf10f644f913b586263bea23c9ff8a35f17c165dfa03526b25
				<dt>Exponent (decimal)</dt>
				<dd datatype="xsd:integer" property="cert:exponent">65537</dd>

alternativly you could try :

<div typeof="cert:RSAPublicKey" about="#pubKey">

<div about="#me" typeof="foaf:Person">
 <div rel="cert:key" resource="#pubKey">

<div about="#myotheri" typeof="foaf:Person">
 <div rel="cert:key" resource="#pubKey">

<div about="#mytaperecorder" typeof="foaf:Agent">
 <div rel="cert:key" resource="#pubKey">

wkr http://www.turnguard.com/turnguard

----- Original Message -----
From: "Peter Williams" <home_pw@msn.com>
To: "j jakobitsch" <j.jakobitsch@semantic-web.at>
Cc: public-xg-webid@w3.org
Sent: Friday, December 23, 2011 8:11:31 PM
Subject: RE: synonym anchors, in RDFa

what I did originally is copy the example from the webid spec into a blog post (#me). 


Then I copied a second time, changing only the anchor tag to default #.


I just hoped that I could avoid having to have two copies of the rest of the data (the long mod, etc). I want to post several more similar tags, each one a type of SHA hash (sha1, sha512...). Ideally, if I have seven, I dont want to have twelve copies of the modulus. The values in the  fragments will form a hash chain (for id lifecycle management, revocation of names, etc)



(I threw in the change of object class, per anchor, for fun.)



| Jürgen Jakobitsch, 
| Software Developer
| Semantic Web Company GmbH
| Mariahilfer Straße 70 / Neubaugasse 1, Top 8
| A - 1070 Wien, Austria
| Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22

| http://www.semantic-web.at/

| web   : http://www.turnguard.com
| foaf  : http://www.turnguard.com/turnguard
| skype : jakobitsch-punkt
Received on Friday, 23 December 2011 19:26:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:39:50 UTC